From: José Fonseca Date: Thu, 12 Jun 2008 13:19:17 +0000 (+0900) Subject: Parse the section:offset instead of the rva+base when reading mapfiles. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a49f1d2e2c325be74e423b55781d1bcbb24e08d;p=mesa.git Parse the section:offset instead of the rva+base when reading mapfiles. --- diff --git a/bin/win32kprof.py b/bin/win32kprof.py index 94b99486338..b4f9ce95dca 100755 --- a/bin/win32kprof.py +++ b/bin/win32kprof.py @@ -139,7 +139,8 @@ class Profile: continue if type != 'f': continue - addr = int(addr, 16) + section, offset = section_offset.split(':') + addr = int(offset, 16) name = demangle(name) if last_addr == addr: # TODO: handle collapsed functions