Unverified Commit 74572286 authored by chbessonova's avatar chbessonova Committed by GitHub
Browse files

[llvm-nm] Fix heap-use-after-free while executing 'llvm-nm -n --export-symbols' (#65668)

Use symbol's flags saved in `NMSymbol::SymFlags` inside
`NMSymbol::isDefined()` since `BasicSymbolRef::getFlags()` requires the
symbol's containing entity object to exist (which doesn't, causing
llvm-nm to crash).
parent 61757fbd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment