diff options
author | José Fonseca <[email protected]> | 2008-06-12 22:19:17 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-06-19 10:47:49 +0900 |
commit | 4a49f1d2e2c325be74e423b55781d1bcbb24e08d (patch) | |
tree | 4dc387f837688b0f1208ef9aad2de96712fef860 | |
parent | f1401385587882bb9d18a5f5b01dcbb71ddf0a2f (diff) |
Parse the section:offset instead of the rva+base when reading mapfiles.
-rwxr-xr-x | bin/win32kprof.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |