fix changes

This commit is contained in:
manasghandat
2023-03-14 22:09:35 +05:30
parent f9c7ca2941
commit 1ad5364fec
3 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ def info_to_name(display):
def ea_to_hex(ea):
"""convert effective address (ea) to hex for display"""
return f"%08{hex(ea)}"
return f"{hex(ea)}"
class CapaExplorerDataItem:

View File

@@ -261,7 +261,7 @@ def find_capabilities(ruleset: RuleSet, extractor: FeatureExtractor, disable_pro
logger.debug("skipping library function 0x%x (%s)", f.address, function_name)
meta["library_functions"][f.address] = function_name
n_libs = len(meta["library_functions"])
percentage = 100 * (n_libs / n_funcs)
percentage = round(100 * (n_libs / n_funcs))
if isinstance(pb, tqdm.tqdm):
pb.set_postfix_str(f"skipped {n_libs} library functions ({percentage}%)")
continue

BIN
monkeytype.sqlite3 Normal file

Binary file not shown.