You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move symbol scanning into loadSpecFromELF() to prevent passing in an empty
list. This removes the flexibility for the caller to skip processing symbols
(e.g. when parsing vmlinux, which doesn't need datasec fixups), but there
should be no assumption of whether LoadSpecFromReader will receive vmlinux
or a program ELF.
As a future optimization, symbol parsing could be deferred until the BTF parser
actually comes across a datasec that needs fixing up.
Signed-off-by: Timo Beckers <[email protected]>
0 commit comments