[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bytecode offset table support
> I noticed that the current soot version includes line number table support.
> Is there also a way to get "bytecode offset table" information, i.e., getting
> for a jimple statement the offset of its corresponding bytetcode in the
> jimplified method.
Yes,
> If there is no current way, would adding a BytecodeOffsetTag (this is a
> currently non-existing tag) to a jimple statement and setting it during
> soot.coffi.CFG.generateJimple to the label of the jimplified instruction do the
> job?
It is the right way.
Cheers,
Feng