KEMBAR78
helper shell to support fuzzer developing and debugging · Issue #52 · google/oss-fuzz · GitHub
Skip to content

helper shell to support fuzzer developing and debugging #52

@kcwu

Description

@kcwu

I know I always can run docker command explicitly to build any fancy env I want. But I feel helper script should provide better support for common usage.

  1. fuzzer developing.
    When developing fuzzer, I may need to modify build script, fuzzer code, and sometimes the library code. In the past, /src is shared, I can run editor outside the docker in one terminal while run build script in another terminal. The development cycle is fast.

    Now the /src is not shared. If I need to modify fuzzer code, I need to either install/setup my editor inside docker (inconvenient) or run full build_fuzzers script (slow).

    If I need to tweak the library code, although I can edit inside the docker, I need to think how to send the diff to outside of docker.

    I don't know what is the best solution. I feel it may be good idea to add --mount DIR option (which add -v $DIR:/mnt to docker command line) to the helper script. Then I can sync my work between inside and outside of docker.

  2. debugging support
    I know this doc. It would be great that helper script supports it natively.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions