Commit b720233
libply: Fix kallsym lookup for split 64bit address space
Fixup the kallsym sort-compare function.
Sorting the kallsyms breaks when comparing addresses that are more than
INT_MAX bytes apart. The could break e.g. the stack or caller output.
Seen on a ppc64 Linux kernel where kernel memory is divided into
different address regions. Kernel modules are placed at
0xc0000100xxxxxxx and the core kernel at 0xc000000xxxxxxx.
Signed-off-by: Anders Grahn <anders.grahn@westermo.com>1 parent a9b778e commit b720233
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
227 | 232 | | |
228 | 233 | | |
229 | 234 | | |
| |||
0 commit comments