Skip to content

How to enable the fault injection part of LLVM? #9

@C0D1NGK1NG

Description

@C0D1NGK1NG

By reading the code, I found that the patch for the fault injection part is located in SanitizerCoverage.cpp under LLVM. After applying the patch, LLVM is compiled. Then, when executing the command python3 /path/to/PrIntFuzz/scripts/python/setup.py --build_linux_fault, it calls clang.sh to compile the Linux kernel. However, I did not see the enabling parameter for -fsanitize-coverage in clang.sh. Even when I manually add the enable flag, some modules in the entire Linux build do not apply this parameter. I would like to know how you use this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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