Skip to content

Conversation

@kenohassler
Copy link
Contributor

This PR adds the option to skip adding the initialisation code in LTO mode by setting AFL_LLVM_LTO_SKIPINIT.
The purpose is to use this instrumentation pass in WAFL. The initialisation function doesn't exist in this scenario, so as of now, the instrumentation will fail if an autodict was created.

@vanhauser-thc
Copy link
Member

sure no problem. can you please add the env to docs/env_variables.md and to the afl-cc.c help output where the env vars are listed?

@kenohassler
Copy link
Contributor Author

Thanks! I added a short description :)

@vanhauser-thc
Copy link
Member

thanks!

@vanhauser-thc vanhauser-thc merged commit b66d7f9 into AFLplusplus:dev Apr 25, 2023
@kenohassler kenohassler deleted the wafl-mode branch April 25, 2023 13:18
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.

2 participants