24 个版本 (12 个重大更新)

0.13.2 2024 年 7 月 31 日
0.12.0 2024 年 4 月 12 日
0.11.2 2023 年 12 月 21 日
0.11.1 2023 年 8 月 31 日
0.5.0 2021 年 7 月 5 日

模拟器 中排名 #67

Download history 1/week @ 2024-05-01 2/week @ 2024-05-15 6/week @ 2024-05-22 3/week @ 2024-05-29 36/week @ 2024-06-05 147/week @ 2024-06-12 11/week @ 2024-06-19 166/week @ 2024-06-26 31/week @ 2024-07-03 22/week @ 2024-07-10 35/week @ 2024-07-17 16/week @ 2024-07-24 137/week @ 2024-07-31 77/week @ 2024-08-07

每月下载量 275

MIT/Apache

250KB
5.5K SLoC

C++ 3.5K SLoC // 0.1% comments Rust 2K SLoC // 0.0% comments C 151 SLoC

LibAFL CC

LibAFL CC 提供了用于编写 LibAFL 编译器包装器的功能,通过向用户提供一组对仪器化有用的编译器扩展。

该 crate 的在线文档可在 此处 查看。

目前,我们支持从 LLVM 版本 11 到 17,但其他版本可能也适用。要安装 LLVM,请使用官方的 下载页面

需要 LLVM 工具(包括 clang、clang++)(新于 LLVM 11.0.0 且小于等于 LLVM 17.0.0)

  • 在 Windows 上编译 LLVM 工具时,您可以尝试使用以下命令编译 LLVM(在 LLVM 16.0.6 上进行测试)。
  • 注意:此假设您已在 "单个组件" 下安装了 Visual Studio 17 2022 和 MSVC v143 工具。
## Start x64 Native Tools Command Prompt for VS 2022
RUN AS ADMINISTRATOR: %comspec% /k "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"

## Cloning the LLVM project repo
git clone https://github.com/llvm/llvm-project.git llvm

## Building Clang project first, the CMAKE_INSTALL_PREFIX is important here, make sure to select a folder path that doesn't contain any spaces in it
$ cmake -S llvm\llvm -B build -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD=X86 -Thost=x64 -DCMAKE_INSTALL_PREFIX=C:\llvm
$ cd build
$ cmake --build . --target install --config release

## Building lld project first, the CMAKE_INSTALL_PREFIX is important here, make sure to select a folder path that doesn't contain any spaces in it
## Changing back to the previous directory
$ cd .. 
$ cmake -S llvm\llvm -B build -DLLVM_ENABLE_PROJECTS=lld -DLLVM_TARGETS_TO_BUILD=X86 -Thost=x64 -DCMAKE_INSTALL_PREFIX=C:\llvm
$ cd build
$ cmake --build . --target install --config release

依赖项

~0.4–2.2MB
~38K SLoC