This changes adds support for matching/patching against the source file and line information. This assumes that the binary was compiled with DWARF debug information (-g) enabled, so will not work for non-debug and/or stripped binaries. However, there are several workflows where the source code is available, meaning that the program can be re-built using (-g) and instrumentation applied at the binary-level.
This changes adds support for matching/patching against the source file and line information. This assumes that the binary was compiled with DWARF debug information (
-g
) enabled, so will not work for non-debug and/or stripped binaries. However, there are several workflows where the source code is available, meaning that the program can be re-built using (-g
) and instrumentation applied at the binary-level.