Skip to content

-fsantize-coverage-allowlist not working #108427

@enfreck

Description

@enfreck

I am trying to compile a binary utilizing the allowlist feature in llvm-14 as I only want one function to be instrumented. My text file for the allowlist contains fun:_Z42Vsodor_top___024root___nba_sequent__TOP__0P20Vsodor_top___024root. But, when I compile with the allowlist nothing is instrumented - even the one I specified (verified by using Ghidra). I used the same exact file for an ignorelist to test that I was creating the file correctly and the ignorelist worked - everything except that function was instrumented. Is there anything that has to be done differently besides switching ignorelist to allowlist? I could also be misunderstanding the use case of the allowlist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions