mirror of
https://github.com/mandiant/capa.git
synced 2025-12-05 20:40:05 -08:00
ghidra: fix lints
This commit is contained in:
@@ -334,4 +334,3 @@ def addr_to_file_offset(addr: ghidra.program.model.address.Address) -> int:
|
|||||||
# if no block matched, fall back to image-base subtraction
|
# if no block matched, fall back to image-base subtraction
|
||||||
base = prog.getImageBase().getOffset()
|
base = prog.getImageBase().getOffset()
|
||||||
return int(aoff - base)
|
return int(aoff - base)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user