Skip to content

Commit 3341215

Browse files
committed
threadmap: Fixes incorrect zero-padding of addresses in disassembly
The same patch was submitted to the original repository. kslgroup/threadmap#1
1 parent b4d65bd commit 3341215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

KSLGroup_Threadmap/threadmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def disassemble(self, address_space, entry_point):
160160
else:
161161
mode = distorm3.Decode32Bits
162162

163-
disassemble_code += "\n\t".join(["{0:<#010x} {1:<16} {2}".format(o, h, i) \
163+
disassemble_code += "\n\t".join(["{0:#010x} {1:<16} {2}".format(o, h, i) \
164164
for o, _size, i, h in \
165165
distorm3.DecodeGenerator(entry_point, content, mode)])
166166

0 commit comments

Comments
 (0)