summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSymbolication/Symbolication.cpp
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-07-20 13:40:35 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-20 15:12:19 +0200
commit60b52cfb02a9a0a4e844f11c186e8b61eaa158ac (patch)
tree1005a659c5658f91d7347df852457b1cf62c24eb /Userland/Libraries/LibSymbolication/Symbolication.cpp
parent4fdee56ba35b7d42ed8f729ec60ebbec86adbf5f (diff)
downloadserenity-60b52cfb02a9a0a4e844f11c186e8b61eaa158ac.zip
Userland: Hardcode the x86_64 kernel base address for now
Diffstat (limited to 'Userland/Libraries/LibSymbolication/Symbolication.cpp')
-rw-r--r--Userland/Libraries/LibSymbolication/Symbolication.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibSymbolication/Symbolication.cpp b/Userland/Libraries/LibSymbolication/Symbolication.cpp
index b0caa7749b..a879be3390 100644
--- a/Userland/Libraries/LibSymbolication/Symbolication.cpp
+++ b/Userland/Libraries/LibSymbolication/Symbolication.cpp
@@ -82,7 +82,12 @@ Vector<Symbol> symbolicate_thread(pid_t pid, pid_t tid)
Vector<RegionWithSymbols> regions;
regions.append(RegionWithSymbols {
+ // FIXME: Use /proc for this
+#if ARCH(I386)
.base = 0xc0000000,
+#else
+ .base = 0x2000000000,
+#endif
.size = 0x3fffffff,
.path = "/boot/Kernel.debug",
.is_relative = false });