fix(dso): do not eagerly resolve symlinks

This change contains three improvements:

- we use a separate root node, so that it is easier to debug
  what is going on
- we now are able to print the DOT graph of ELF binaries in
  DsoCleaner
- we do not eagerly resolve symlinks, which produced completely
  incorrect results before
This commit is contained in:
Matteo Settenvini 2025-01-30 15:54:57 +01:00
parent a05dd7084d
commit 7ec6467b3b
Signed by: matteo
GPG key ID: 1C1B12600D81DE05
5 changed files with 130 additions and 52 deletions

View file

@ -15,6 +15,7 @@ async-trait = { version = "0.1" }
clap = { version = "4.5", features = ["derive"] }
env_logger = { version = "0.11" }
ignore = { version = "0.4" }
indoc = { version = "2.0" }
goblin = { version = "0.9" }
log = { version = "0.4" }
memmap2 = { version = "0.9" }