Skip to content

Commit

Permalink
Clarify message in case unmutated block processing
Browse files Browse the repository at this point in the history
  • Loading branch information
ergrelet committed Apr 6, 2024
1 parent 2810605 commit 5970e69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themida_unmutate/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def entry_point() -> None:
if not args.no_trampoline:
LOGGER.info("Resolving mutated's functions' addresses...")
mutated_func_addrs = unwrap_functions(args.protected_binary,
protected_func_addrs)
protected_func_addrs)
else:
# No trampolines to take care of, use target addresses directly
mutated_func_addrs = protected_func_addrs
Expand Down
4 changes: 2 additions & 2 deletions themida_unmutate/symbolic_execution/x86/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ def disassemble_and_simplify_functions(
continue

LOGGER.debug(modified_variables)
LOGGER.warning("Unsupported instruction (or unmutated block?). "
"Mutated block will be kept as is.")
LOGGER.warning("Unsupported instruction or unmutated block found. "
"Block will be kept as is.")

# Simplify CFG (by merging basic blocks when possible)
asm_cfg = bbl_simplifier(asm_cfg)
Expand Down

0 comments on commit 5970e69

Please sign in to comment.