Skip to content
This repository was archived by the owner on Mar 22, 2024. It is now read-only.

afl-clang-fast: default AFL_PATH#66

Merged
Dor1s merged 1 commit intogoogle:masterfrom
rurban:AFL_PATH
Jan 6, 2020
Merged

afl-clang-fast: default AFL_PATH#66
Dor1s merged 1 commit intogoogle:masterfrom
rurban:AFL_PATH

Conversation

@rurban
Copy link
Contributor

@rurban rurban commented Jan 6, 2020

to /usr/local/lib/afl, as installed

to /usr/local/lib/afl, as installed
Copy link
Contributor

@Dor1s Dor1s left a comment

Choose a reason for hiding this comment

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

Thank you!

@Dor1s Dor1s merged commit 36fc97a into google:master Jan 6, 2020
@vanhauser-thc
Copy link
Contributor

vanhauser-thc commented Jan 6, 2020

Sorry I left this comment on the commit, not the PR:

(and edit - I wrote nonsense)
afl_path should be set with the define AFL_PATH

@Dor1s
Copy link
Contributor

Dor1s commented Jan 6, 2020

afl_path should be set with the define AFL_PATH

It is, see

u8 *afl_path = getenv("AFL_PATH");

but if the env variable is empty, it seems reasonable to fall back to the default mentioned in

AFL/afl-gcc.c

Line 29 in ac2b6ac

The wrapper needs to know the path to afl-as (renamed to 'as'). The default

Dor1s added a commit that referenced this pull request Jan 7, 2020
Dor1s added a commit that referenced this pull request Jan 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants