Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Jul 23, 2020
1 parent 5508b37 commit fe24ac3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,7 @@ find-str '{unique_string}'
xref
'''

def run(**kwargs):
interp = kwargs['interpreter']

def run(interpreter):
fa_types.add_const('CONST7', 7)
fa_types.add_const('CONST8', 8)

Expand All @@ -320,7 +318,7 @@ def run(**kwargs):
instructions = TEMPLATE.format(unique_string=function_name,
function_name=function_name).split('\n')

results = interp.find_from_instructions_list(instructions)
results = interpreter.find_from_instructions_list(instructions)
for ea in results:
# the set_type can receive either a string, FaStruct
# or FaEnum :-)
Expand Down

0 comments on commit fe24ac3

Please sign in to comment.