angr.analyses.decompiler.notes.deobfuscated_strings

class angr.analyses.decompiler.notes.deobfuscated_strings.DeobfuscatedString

Bases: object

Represents a deobfuscated string.

__init__(value, obf_type, ref_addr=None)
Parameters:
value
type
ref_addr
class angr.analyses.decompiler.notes.deobfuscated_strings.DeobfuscatedStringsNote

Bases: DecompilationNote

Represents a decompilation note that describes obfuscated strings found during decompilation.

__init__(key='deobfuscated_strings', name='Deobfuscated Strings')
Parameters:
strings: dict[int, DeobfuscatedString]
add_string(obf_type, value, *, ref_addr)

Add a deobfuscated string to the note.

Parameters:
  • obf_type (str) – The type of obfuscation (e.g., “1”, “2”).

  • value (bytes) – The deobfuscated string value.

  • ref_addr (int) – The address where this string is referenced, if applicable.

content
key
level
name