Skip to content

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

@fuzzah

Description

@fuzzah

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions