Found using bpf-linker after linking a binary with debuginfo with a
library with no debuginfo. In this case, auto *S may be NULL and
therefore S->getLine() can segfault.
Signed-off-by: Dave Tucker <datucker@redhat.com>
Differential D134533
[BPF] Fix Segfault in BTFDebug dave-tucker on Sep 23 2022, 7:12 AM. Authored by
Details
Found using bpf-linker after linking a binary with debuginfo with a Signed-off-by: Dave Tucker <datucker@redhat.com>
Diff Detail
Event TimelineComment Actions i can if someone can point me to the unit tests for this class as i'm not familiar with the codebase. Comment Actions Could you please describe a minimal example? |