Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

翻译“Building and installing AFL++”(INSTALL.md) #226

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

JadeSnow7
Copy link

No description provided.

Copy link
Contributor

@Hornos3 Hornos3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see those suggestions below and optimize your translation thx


由于平台的特殊性,macOS 存在一些问题。

macOS 支持 AFL++ 仪器<!--instrumentation-->使用的 SYSV 共享内存,但仅使用默认设置并不够。在构建之前,请运行所提供的脚本来完善默认设置:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"AFL++ 仪器" 应改为 "AFL++ 插桩"

- 模糊测试<!--fuzzing-->可能会比 Linux 慢。事实上,有报告说,在macOS上使用Linux虚拟机执行上述工作,可以大大提高性能。
- 一些不可移植的特定平台代码可能与 AFL++ forkserver 不兼容。如果遇到任何问题,请在启动 afl-fuzz 前在环境中设置 **AFL_NO_FORKSRV=1**。

macOS 似乎不支持 QEMU 的用户仿真模式,因此black-box instrumentation mode (-Q) 将无法运行。不过,FRIDA mode (-O) 可在 x86 和 arm64 macOS 上运行。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"用户仿真模式" 最好直接写为 "user mode",它表示非内核级别的ring 3特权级用户程序仿真;"black-box instrumentation mode" 可改为 "黑盒插桩模式"


建议您尽可能在您的Linux发行版中安装最新的gcc、clang和llvm-dev。

*注:**make distrib**将会同时构建FRIDA mod,QEMU mod和unicorn mod等。如果您只想要单独的AFL++,可以执行**make all**。如果您还想同时编译一些辅助工具但不需要纯二进制文件,就选择:*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

三个"mod"改为"mode"

@@ -0,0 +1,145 @@
# 构建与安装AFL++
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI 提示,你好像把我们的头部metadata给删掉了,需要加回来,具体请参考我们的wiki

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感觉貌似构建错误也是因为头部metadata被删除了,添加回来之后看看CI会不会依然报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants