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

build tool: opt-out of laf & cmplog #30

Open
fuzzah opened this issue Sep 24, 2023 · 0 comments
Open

build tool: opt-out of laf & cmplog #30

fuzzah opened this issue Sep 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@fuzzah
Copy link
Member

fuzzah commented Sep 24, 2023

Currently there's no way to disable helper builds, such as LAF or CMPLOG for AFL++. For some apps it takes a lot of time to make these builds.
We need to add something like --no-helper-builds or maybe even grant user full control over the builds to make with an option like --builds basic,asan,coverage.

Workaround

As a quick and dirty temporary workaround we can do the following.
Find the bugbane installation directory. If it was installed with pip install -e, then you'll find its installation in the place you've cloned the sources of bugbane to.
Otherwise, search for its installation place:

find / -xdev -type d -name bugbane

The installed bugbane package should reside either in site-packages or dist-packages depending on your distro and how you installed the package.
Then use sed like this, specifying your path to base_builders.py:

sed -i bugbane/tools/builder/builders/base_builders.py -e /BuildType.CMPLOG,/d -e /BuildType.LAF,/d

This will delete LAF and CMPLOG from the build tool.

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

No branches or pull requests

1 participant