From c675203841cb07ed00b560dde0b53ecf8c0c5872 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Wed, 24 Feb 2021 19:37:14 -0800 Subject: [PATCH] Fix broken abstract method handler --- burger/toppings/packetinstructions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/burger/toppings/packetinstructions.py b/burger/toppings/packetinstructions.py index 1589ca8..656276c 100644 --- a/burger/toppings/packetinstructions.py +++ b/burger/toppings/packetinstructions.py @@ -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 = []