• Sasha Goldshtein's avatar
    Fix symbol resolution by name (SymbolCache.resolve_name) · 03ab5e8f
    Sasha Goldshtein authored
    The implementation of `ProcSyms::resolve_name` was only valid for
    kernel symbols, when there is no module. When a module was provided,
    it would segfault due to the module being null. Fixed by making
    `bcc_symcache_resolve_name` take an additional module parameter,
    which, for kernel symbols, is simply null (`None` from Python).
    03ab5e8f
bcc_syms.cc 8.39 KB