mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-09 04:30:05 +01:00
remove trailing ",1)" from mem offsets
This commit is contained in:
@@ -138,6 +138,9 @@ def get_assembly_from_binary(bin_path):
|
||||
if m:
|
||||
assembly = assembly[:m.start()] + str(int(m.group(0), base=16)) + assembly[m.end():]
|
||||
|
||||
# Remove trailing ",1)" from offsets
|
||||
assembly.replace(',1)', ')')
|
||||
|
||||
return assembly
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user