Spaces:
Sleeping
Sleeping
Commit
·
135b99f
1
Parent(s):
ca8e3d9
update api
Browse files
main.py
CHANGED
@@ -125,7 +125,7 @@ def predict(target_bytes, source, compiler, flags, disasm_arch, disasm_options):
|
|
125 |
|
126 |
if compiled_bytes is not None:
|
127 |
|
128 |
-
reloc_edit_distance, reloc_operations = print_match_summary(target_bytes, compiled_bytes,
|
129 |
print(f"reloc_edit_distance: {reloc_edit_distance}")
|
130 |
print(f"reloc operations: {reloc_operations}")
|
131 |
|
|
|
125 |
|
126 |
if compiled_bytes is not None:
|
127 |
|
128 |
+
reloc_edit_distance, reloc_operations = print_match_summary(target_bytes, compiled_bytes, wildcard_offsets_seq2=_compute_relocs_byte_range(compiled_relocs))
|
129 |
print(f"reloc_edit_distance: {reloc_edit_distance}")
|
130 |
print(f"reloc operations: {reloc_operations}")
|
131 |
|