Skip to content

Commit

Permalink
Fix broken abstract method handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Pokechu22 committed Feb 17, 2022
1 parent 9f01cf0 commit c675203
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions burger/toppings/packetinstructions.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ def operations(classloader, classname, classes, verbose, args=None,

if method.access_flags.acc_abstract:
# Abstract method call -- just log that, since we can't view it
return [Operation(instruction.pos, "interfacecall",
type="abstract", target=operands[0].c, name=name,
method=name + desc, field=obj, args=_PIT.join(arguments))]
return [Operation(0, "interfacecall",
type="abstract", target=classname[:-len(".class")], name=methodname,
method=methodname + args, field=arg_names[0], args=_PIT.join(arg_names))]

# Decode the instructions
operations = []
Expand Down

0 comments on commit c675203

Please sign in to comment.