mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
fixes attachment of dns uprobes when libc is stripped of symbol names (.dynsym instead of .symtab)
This commit is contained in:
parent
e974364629
commit
69ca95b796
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ func findLibc() (string, error) {
|
|||
|
||||
// Iterates over all symbols in an elf file and returns the offset matching the provided symbol name.
|
||||
func lookupSymbol(elffile *elf.File, symbolName string) (uint64, error) {
|
||||
symbols, err := elffile.Symbols()
|
||||
symbols, err := elffile.DynamicSymbols()
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue