Hi, this one is probably for you too Maxim. If I can't get the degenerator
working, another way for my plugin to pass code to Soot is to compile the
code for a method to bytecode, and pass that (Soot takes source or class
files as input). (This would also probably be faster.) It would be totally
cool if I could use the "compiler" in codeInspection.dataFlow for this. Unfortunately,
there's no public methods for getting at the parts of an instruction (how
do I know what's being pushed, etc), and I get an NPE when I try to use the
Would it be feasible to convert the instructions produced by DataFlowRunner
to bytecode instructions? If so, would it be possible for you to either move
it to the OpenAPI, or add some public getters for the instruction fields?
If you could do that, I could make IDEA into even more of a powerful machine
with regards to code analysis, because IDEA would now support all inspections
that Soot supports. It might make implementing some things easier for you
guys as well.
Thanks very much,