Update for compatibility with Python 3.12 and Radare 6.0.2

Tested with the following workflows:
vtable diff
deep trace -> vtable alignment
This commit is contained in:
Flawed
2025-09-01 23:19:49 -07:00
parent 1761155281
commit acccb1cc7d
6 changed files with 22 additions and 24 deletions
+1 -2
View File
@@ -72,8 +72,7 @@ class BlockDict(dict):
).splitlines()
missing_blocks = [json.loads(block_json) for block_json in block_json_list]
additional_blocks = {
missing_block[0]["offset"]: missing_block
for missing_block in missing_blocks
missing_block[0]["addr"]: missing_block for missing_block in missing_blocks
}
self.update(additional_blocks)