- 博客(64)
- 资源 (30)
- 收藏
- 关注
原创 gcc -finstrument-functions输出程序运行函数记录
gcc -finstrument-functions输出程序运行函数记录
2024-08-04 01:48:36 297
原创 5GC核心网开源实现:
5GC核心网开源实现:oai-cn,http://www.openairinterface.org/free5gc,open5gs,https://github.com/open5gs www.openupf.nethttps://gitee.com/openupf/openupfhttps://github.com/5GOpenUPFhttp://freepcrf.com/iots/
2021-03-08 20:35:17 3444 2
原创 VS Code调试TypeScript项目
1 安装VS Codehttps://code.visualstudio.com/安装VS Code插件:JavaScript and TypeScript NightlyTypeScript Extension PackVisual Studio IntelliCodeProject ManagerMaterial Icon Theme2 安装Node.js为了方便后续VS Code插件开发,这里选择安装与当前VS Code使得Node.js版本(Help->About):V
2021-01-01 10:42:11 7214 2
原创 afl-fuzz资源汇总
初探AFL-FuzzFL漏洞挖掘技术漫谈(一):用AFL开始你的第一次FuzzingAFL漏洞挖掘技术漫谈(二):Fuzz结果分析和代码覆盖率AFL++实战(一)-黑盒测试FFmpeg使用AFL进行fuzz如何Fuzz ELF文件中的任意函数如何使用AFL进行一次完整的fuzz过程使用Afl-fuzz (American Fuzzy Lop) 进行Fuzzing测试...
2020-11-28 00:04:16 1433
原创 Trace Event Format
https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/edithttps://www.gamasutra.com/view/news/176420/Indepth_Using_Chrometracing_to_view_your_inline_profiling_data.phphttps://aras-p.info/blog/2017/01/23/Chrome-Tracing-as-Profil.
2020-10-18 21:40:33 524
原创 -ftime-trace(clang)
1 clang/llvm编译器设置设置clang编译器:export CC=/usr/bin/clangexport CXX=/usr/bin/clang++设置clang编译器-ftime-trace参数:set(CMAKE_C_COMPILER "/usr/bin/clang")set(CMAKE_CXX_COMPILER "/usr/bin/clang++")set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ftim
2020-10-18 17:16:32 3459 2
翻译 -ftime-report/-ftime-report-details(gcc/clang)
gcc/clang都支持-ftime-report,可以打印编译过程每个阶段的时间摘要信息,但是打印信息不直观,更像是给编译器开发人员自己使用的工具,而不是给编译器用户使用的工具。1 demo source code#include <vector>#include <string>#include <unordered_map>#include <regex>int main(){ std::vector<int> v(10
2020-10-18 12:01:37 1204 1
原创 ANTLR使用入门
IDEA配置antlr4环境和使用快速上手ANTLR–在Windows环境下解析计算器指令语法Antlr4入门(一)IDEA中Antlr的安装与使用
2020-10-02 11:59:52 430
原创 clang资料汇总
https://blog.csdn.net/dashuniuniu/article/details/50773316https://www.jianshu.com/p/7e2c65dcf632https://releases.llvm.org/10.0.0/tools/clang/docs/index.htmlhttps://www.zhihu.com/question/31425289https://segmentfault.com/a/1190000021343181https://segm.
2020-07-05 20:47:39 208
原创 vim插件安装
let g:NERDTreeDirArrowExpandable = '▸'let g:NERDTreeDirArrowCollapsible = '▾'let NERDTreeIgnore = ['\.pyc$']let g:NERDTreeChDirMode = 2 "Change current folder as rootlet NERDTreeMinimalUI = 1let NERDTreeDirArrows = 1
2020-06-26 20:17:51 258
原创 ubuntu14.04安装llvm/clang 9.0预编译版本
1 ubuntu14.04安装llvm/clang 9.0预编译版本下载llvm/clang prebuild:https://releases.llvm.org/download.html#9.0.0https://download.csdn.net/download/wwchao2012/12391517xz -d clang+llvm-9.0.0-x86_64-linux-gnu-u...
2020-05-06 19:34:19 2093
原创 perf资料整理
http://www.brendangregg.com/perf.htmlhttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/perf/Documentation/examples.txthttps://www.cnblogs.com/arnoldlu/p/6241297.htmlhttp...
2020-05-03 22:20:53 278
翻译 combine_traces.py
#!/usr/bin/env python3"""Combine JSON from multiple -ftime-traces into one.Run with (e.g.): python combine_traces.py foo.json bar.json.""" import jsonimport sys if __name__ == '__main__':...
2020-05-03 11:51:29 164
原创 ClangBuildAnalyzer(-ftime-trace)
1 编译/安装ClangBuildAnalyzerclang参数-ftime-trace需要与ClangBuildAnalyzer工具一起工作,输出每个文件的编译时长统计,首先下载ClangBuildAnalyzer:git clone https://github.com/aras-p/ClangBuildAnalyzer.gitorgit clone https://gitee.com...
2020-05-03 00:00:34 2061
原创 include-what-you-use消除头文件重复包含
安装https://github.com/include-what-you-use/include-what-you-use使用https://blog.csdn.net/u013597671/article/details/70173849
2020-05-02 12:53:43 755
原创 ubuntu18.04编译安装clang/llvm
https://www.cnblogs.com/whuwzp/p/ubuntu_vim_2.htmlhttps://www.jianshu.com/p/f071f2486bachttps://www.jianshu.com/p/1590ab2bb444https://releases.llvm.org/download.html#10.0.0
2020-05-02 12:05:27 9185 1
原创 valgrind抑制误报
1 指定多个抑制文件当valgrind检测出来的错误位于系统库(glibc)、第三方库,或者检测出来的错误不方便修改,但又不想每次都输出到错误列表中,可以使用自定义抑制文件抑制错误报告。抑制文件是文本文件,文件名无要求,一般定义为*.supp。需要抑制的错误较多时,可以用多个抑制文件,每个抑制文件都需要设置为--suppressions=<filename>.supp,如下:val...
2020-04-19 21:52:54 1092
原创 使用valgrind的开源项目
wiresharkpythonpostgresqlmariadbmysqlnodejsllvmredisthrifflex&bisonopencv
2020-04-19 20:28:37 164
原创 gcc编译选项
-Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast
2020-04-07 08:33:52 661
翻译 IDL(Interface Description Language)
An interface description language or interface definition language (IDL), is a specification language used to describe a software component’s application programming interface (API). IDLs describe an ...
2020-02-02 14:03:47 745 1
转载 SHELL运行时长统计
**#!/bin/bashstarttime=`date +'%Y-%m-%d %H:%M:%S'`#执行程序endtime=`date +'%Y-%m-%d %H:%M:%S'`start_seconds=$(date --date="$starttime" +%s);end_seconds=$(date --date="$endtime" +%s);echo "本次运行时间:...
2019-12-08 18:57:13 578
原创 日志打印
1 日志概述日志等级描述DEBUG指出细粒度信息事件对调试应用程序是非常有帮助的,一般认为比较重要的方法执行需要详细查看运行情况的则开启DEBUGINFO表明消息在粗粒度级别上突出强调应用程序的运行过程,只需要了解该方法是否运行的可以使用INFOWARN表明会出现潜在错误的情形ERROR指出虽然发生错误事件,但仍然不影响系统的继续运行。一般异常处理等...
2019-10-17 19:54:32 146
原创 TAL+资料汇总
1 入门博客学习 TLA+ - 介绍学习 TLA+ - 基础数学知识学习 TLA+ - Example学习 TLA+ - Percolator Transaction如何用数学验证软件的正确性——TLA+学习总结2 官方资料The TLA+ Toolbox Office SiteTAL Toolbox Downlinkhttps://github.com/tlaplus...
2019-09-20 17:55:42 557
原创 抽象语法树(Abstract Syntax Tree, AST)
1 JavaScript1.1 esprimahttps://esprima.org/demo/parse.htmlhttps://github.com/jquery/esprima1.2 babelhttps://github.com/babel1.3 acorn1.4 the-super-tiny-compiler1.5 jscodeshift1.6 Prettier...
2019-09-03 22:57:36 743
原创 ANTLR/JavaCC/Flex&Bison工程应用
文章目录1 ANTLR2 JavaCC3 Flex&Bison1 ANTLRApache HiveSparkGrovvyAtlasBeamEagleIncubator-shardingsphereSystemml2 JavaCCApache PigQuick SQL3 Flex&Bison
2019-09-03 10:17:08 817
原创 C++学习资料整理
1 书籍C++ Primer (5th Edition)C++ Primer Plus (6th Edition)Effective C++More Effective C++Effective Modern C++C++ API设计深入理解C++11STL源码剖析C++ Templates Complete Guide 2nd.edition2 网络资源CppCore...
2019-06-01 16:04:10 463
原创 SHELL命令--grep
示例-1:if grep -q "BAD\!\|^FATAL:" echo_client.log; then echo "************** Found bug! ***************" echo "Check echo_client.log for client logs" exit 1fi
2018-11-25 01:24:38 248
原创 SHELL命令--find
示例-1: 查找指定文件find . -name &amp;amp;amp;amp;amp;quot;*.proto&amp;amp;amp;amp;amp;quot; --&amp;amp;amp;amp;amp;amp;gt; 查找以.proto为扩展名的文件
2018-11-25 00:39:48 227
原创 批处理脚本命令行参数解析(getops)
示例-1: \Python-3.7.0b4.tar\Python-3.7.0b4\Tools\msi\buildrelease.bat@setlocal@echo offrem This script is intended for building official releases of Python.rem To use it to build alternative releas...
2018-11-17 21:31:18 1515
原创 批处理文件 SETLOCAL & ENDLOCAL
1 SETLOCAL &amp;amp;amp;amp;amp; ENDLOCALSETLOCAL: 开始批处理文件中环境改动的本地化操作;ENDLOCAL: 结束批处理文件中环境改动的本地化操作;在执行 SETLOCAL之后所做的环境改动只限于批处理文件。要还原原先的设置,必须执行ENDLOCAL。达到批处理文件结尾时,对于该批处理文件的每个尚未执行的 SETLOCAL 命令,都会有一个隐含的 ENDLOCAL 被执...
2018-11-17 20:10:17 638
原创 批处理文件(*.bat)在项目构建应用
1 调用其他*.batBatch文件调用其他Bach文件的格式为:call &amp;amp;amp;lt;other.bat&amp;amp;amp;gt;此外,Batch文件(*.bat)用^作为换行符,类似于shell(*.sh)下的\.示例-1build-vc2015.batcall build-vc2015-zip-32.batcall build-vc2015-zip-64.batREM build-vc2015-...
2018-11-17 19:34:08 373
原创 SHELL使用指南
[1] shell script编程小结——附带实例[2] shell的set命令[3] Shell 风格指南 - 内容目录[4] Linux命令大全
2018-11-13 23:15:43 325
转载 VirtualBox安装CentOS7后网络配置
1 VirtualBox中安装CentOS7后无法上网的解决方案2 VirtualBox下主机Windows能ping通虚拟机下的Linux,LInux无法ping通Winodws
2018-10-19 23:42:39 442
原创 samba服务器设置(CentOS 7)
1 安装samba在线安装命令:[root@localhost ~]# yum install samba 安装完成后查询得到:[root@localhost ~]# rpm -qa | grep sambasamba-common-tools-4.2.10-7.el7_2.x86_64samba-common-libs-4.2.10-7.el7_2.x86_64samba-li...
2018-10-15 20:11:58 218
cpptools-linux-wwchao.7z
2021-09-27
GUI-cachegrind.zip
2021-01-31
mirrors-llvm-project-release-11.x.zip
2021-01-24
mirrors-llvm-project-master.zip
2021-01-24
cppcheck-2.3.tar.gz
2021-01-10
cmake-3.18.4-Linux-x86_64.tar.gz
2020-10-22
cmake-3.6.2-Linux-x86_64.tar.gz
2020-10-22
Trace Event Format - Google Docs.pdf
2020-10-19
draw.io-13.2.4-windows-installer.exe
2020-06-21
infer-linux64-v0.17.0.tar.xz
2020-05-23
cppcheck-2.0.tar.gz
2020-05-23
cppcheck-2.0.zip
2020-05-23
clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
2020-05-05
llvm-project-master.zip
2020-05-04
wangwenchaonj-llvm-project-master.zip
2020-05-04
chapter1.zip
2020-01-01
herrington_src_cgia_bc10.tar
2019-11-21
snort-2.0-2.8-2.9-3.0.zip
2019-11-17
word_counter.zip
2019-11-15
word_counter.zip
2019-11-15
Redis源码解读.7z
2019-10-12
jdk-8u221-windows-x64.zip
2019-09-21
KMP/BM字符串匹配算法源码
2018-01-13
GNU Make Manual / GNU.Make.Book / Managing.Projects.with.GNU.Make
2017-07-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人