خرید بک لینک

Vote count: 0

For a project I have to get java bytecode information of an object reference on which a method is called (static analysis): e.g. x.method();

If the method takes some arguments we can't separate the object reference from the arguments at bytecode-level, e.g. x.method(arg1, arg2, ...);. At bytecode-level it would look like this

for object ref: pc0 - pc??? (waa find out ???)

for args: pc??? - pc88 (here 88 is just an example)

In other words, how can I get the pc-intervall of the object reference? I looked at Javassist, but the class MethodCall does not provide anything in this diretion.

Thanks in advance for your help!

asked 36 secs ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 4 خرداد 1395 ساعت: 4:13

صفحه بندی