Gunnar Beutner
e3d2ca6bd2
LibSymbolication: Fix integer overflow when calculating region addresses
2021-07-27 13:15:16 +02:00
Gunnar Beutner
60d6137e73
Userland: Use /proc/kernel_base to determine the kernel base address
...
This removes all the hard-coded kernel base addresses from userspace
tools.
One downside for this is that e.g. Profiler no longer uses a different
color for kernel symbols when run as a non-root user.
2021-07-22 21:38:23 +02:00
Gunnar Beutner
11e02f222d
AK: Add a getter to JsonValue to get machine-native addresses
2021-07-22 08:57:01 +02:00
Gunnar Beutner
60b52cfb02
Userland: Hardcode the x86_64 kernel base address for now
2021-07-20 15:12:19 +02:00
Gunnar Beutner
98f8ecd9d2
Kernel: Split debug symbols into a separate file
...
This speeds up the boot process considerably when specifying the kernel
image via -initrd.
2021-07-18 17:31:13 +02:00
Gunnar Beutner
1ae7d68885
LibSymbolication: Fix incorrect argument type for symbolicate()
2021-06-24 09:27:13 +02:00
Gunnar Beutner
25c73159ce
LibCoreDump: Don't subtract one from the first stack frame's EIP
...
The first stack frame represents the current instruction pointer
rather than the return address so we shouldn't subtract one
from it.
Fixes #8162 .
2021-06-20 10:19:02 +01:00
Gunnar Beutner
a6ba05b02b
LibSymbolication+Utilities: Show inlined functions for bt
2021-06-19 22:04:19 +02:00
Itamar
e9e4358a93
LibDebug: Store LibDebug objects on the heap & make them non-copyable
...
This fixes an issue were some LibDebug objects (for example,
Dwarf::CompilationUnit) held a reference to their parent
Dwarf::DwarfInfo object, which was constructed on the stack and later
moved to the heap.
2021-06-19 14:51:18 +02:00
Andreas Kling
5d6252b29e
LibSymbolication: Rename Client.{cpp,h} => Symbolication.{cpp,h}
2021-05-22 18:54:22 +02:00