Skip to content

Commit

Permalink
Merge pull request #666 from JeremyMahieu/master
Browse files Browse the repository at this point in the history
Fixes attachment of dns uprobes when libc is stripped of symbol names
  • Loading branch information
gustavo-iniguez-goya authored Jun 7, 2022
2 parents e974364 + 69ca95b commit 2ca8bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/dns/ebpfhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2ca8bb4

Please sign in to comment.