Skip to content

libaflgo_aflgo fails to build MAGMA target #2

Description

@iany0

Hi authors,

Thanks for the great work on LibAFLGo and for releasing the framework from the paper.

When running BUG=PNG001 FUZZER=libaflgo_aflgo TARGET=libpng ./build.sh from the magma-directed repository, I encountered some issues. After fixing a Rust compatibility problem in the build environment, the Docker build now fails during instrument.sh (invoked via gather_resusage.sh).

MAGMA’s configure step for libpng terminates with:

- checking whether the C compiler works... no
- configure: error: C compiler cannot create executables
- configure: error: in '/magma/targets/libpng/repo'

In the generated config.log, the LibAFLGo compiler wrapper (libaflgo_aflgo_cc) reports:

- Target not found: /magma/targets/libpng/repo/pngrutil.c:3181
- fatal error: error in backend: Not all targets were found.
- clang: error: clang frontend command failed with exit code 70

Could you advise whether this indicates an issue in my setup? Any suggestions would be greatly appreciated.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions