From f4c9cb6f342ad7fe2bda2ea90953b2526c983de6 Mon Sep 17 00:00:00 2001 From: Ritesh Harjani <riteshh@codeaurora.org> Date: Tue, 21 Mar 2017 19:14:38 +0530 Subject: [PATCH] lrdp-v2: Add kimage_voffset info This prints kimage_voffset info if kaslr is enabled. Change-Id: Ia18bba9f2df1c579721aeb44a8dd2b7143183b89 --- linux-ramdump-parser-v2/ramdump.py | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-ramdump-parser-v2/ramdump.py b/linux-ramdump-parser-v2/ramdump.py index 200c49b..fe63041 100755 --- a/linux-ramdump-parser-v2/ramdump.py +++ b/linux-ramdump-parser-v2/ramdump.py @@ -590,6 +590,7 @@ class RamDump(): if self.kimage_voffset is not None: self.kimage_voffset = self.kimage_vaddr - self.phys_offset self.modules_end = self.kimage_vaddr + print_out_str("The kimage_voffset extracted is: {:x}".format(self.kimage_voffset)) # The address of swapper_pg_dir can be used to determine # whether or not we're running with LPAE enabled since an -- GitLab