Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions scripts/GenerateFridaSnippetForDex.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ def run(self, ctx):
partypes.append(partype.getSignature(False, False))
parnames.append("arg%d" % i) # TODO: retrieve the decompiler-provided param names

no_return = m.getReturnType().isVoid()

no_return = False
if m.getReturnType().getName() == 'void':
no_return = True

# the tag rendered in the console will use the method's actual names (i.e. the renames if any), not the original names
tag = "%s.%s" % (m.getClassType().getSignature(True, False, False), m.getName(True))

Expand Down