├── .gitignore ├── .vscode ├── c_cpp_properties.json └── settings.json ├── README.md ├── clear.sh ├── experiment ├── ChangeOperator │ ├── README.md │ ├── main.cpp │ └── pass.cpp ├── DynamicCallCounter │ ├── README.md │ ├── main.c │ └── pass.cpp ├── StaticCallCounter │ ├── README.md │ ├── main.c │ └── pass.cpp ├── about-option │ ├── README.md │ ├── main.c │ └── pass.cpp ├── clang-example │ ├── README.md │ ├── clang-test.cpp │ └── o-test.c ├── code-obfuscation │ └── main.cpp └── old-pass │ ├── README.md │ ├── custom.c │ ├── main.c │ ├── pass-14-clang.cpp │ └── pass-14-opt.cpp ├── install └── Dockerfile └── picture ├── LLVM架构.png ├── LLVM的结构.png └── License.png /.gitignore: -------------------------------------------------------------------------------- 1 | .history/ -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/.vscode/c_cpp_properties.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/README.md -------------------------------------------------------------------------------- /clear.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/clear.sh -------------------------------------------------------------------------------- /experiment/ChangeOperator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/ChangeOperator/README.md -------------------------------------------------------------------------------- /experiment/ChangeOperator/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/ChangeOperator/main.cpp -------------------------------------------------------------------------------- /experiment/ChangeOperator/pass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/ChangeOperator/pass.cpp -------------------------------------------------------------------------------- /experiment/DynamicCallCounter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/DynamicCallCounter/README.md -------------------------------------------------------------------------------- /experiment/DynamicCallCounter/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/DynamicCallCounter/main.c -------------------------------------------------------------------------------- /experiment/DynamicCallCounter/pass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/DynamicCallCounter/pass.cpp -------------------------------------------------------------------------------- /experiment/StaticCallCounter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/StaticCallCounter/README.md -------------------------------------------------------------------------------- /experiment/StaticCallCounter/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/StaticCallCounter/main.c -------------------------------------------------------------------------------- /experiment/StaticCallCounter/pass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/StaticCallCounter/pass.cpp -------------------------------------------------------------------------------- /experiment/about-option/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/about-option/README.md -------------------------------------------------------------------------------- /experiment/about-option/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/about-option/main.c -------------------------------------------------------------------------------- /experiment/about-option/pass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/about-option/pass.cpp -------------------------------------------------------------------------------- /experiment/clang-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/clang-example/README.md -------------------------------------------------------------------------------- /experiment/clang-example/clang-test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/clang-example/clang-test.cpp -------------------------------------------------------------------------------- /experiment/clang-example/o-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/clang-example/o-test.c -------------------------------------------------------------------------------- /experiment/code-obfuscation/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/code-obfuscation/main.cpp -------------------------------------------------------------------------------- /experiment/old-pass/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/old-pass/README.md -------------------------------------------------------------------------------- /experiment/old-pass/custom.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/old-pass/custom.c -------------------------------------------------------------------------------- /experiment/old-pass/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/old-pass/main.c -------------------------------------------------------------------------------- /experiment/old-pass/pass-14-clang.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/old-pass/pass-14-clang.cpp -------------------------------------------------------------------------------- /experiment/old-pass/pass-14-opt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/experiment/old-pass/pass-14-opt.cpp -------------------------------------------------------------------------------- /install/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/install/Dockerfile -------------------------------------------------------------------------------- /picture/LLVM架构.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/picture/LLVM架构.png -------------------------------------------------------------------------------- /picture/LLVM的结构.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/picture/LLVM的结构.png -------------------------------------------------------------------------------- /picture/License.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/urlyy/llvm-new-pass-tutor/HEAD/picture/License.png --------------------------------------------------------------------------------