[Soot-list] Counting bytecodes
Patrick Lam
plam at sable.mcgill.ca
Wed Sep 30 13:44:13 EDT 2009
Khilan Gudka wrote:
> Hi all,
>
> Does anybody know of a way of counting byte codes? I thought about
> using baf but does this correspond to exactly the same number of
> bytecodes?
I'm pretty sure that there's a one-to-one correspondence between Baf and
bytecode. One Baf instruction may have 5 bytecode equivalents (e.g.
store -> astore, istore, etc), but should only generate one bytecode
instruction. Check the bytecode generation code to find out (always a
good strategy!)
pat
More information about the Soot-list
mailing list