[Soot-list] I would like to print def/use on baf Inst

Wang haichen wanghaic at comp.nus.edu.sg
Mon Jun 20 04:03:27 EDT 2005


Hi, all

   Can use hook method as the following sample:

* add a phase to transformer pack by call Pack.add */
         Pack jtp = PackManager.v().getPack("jtp");
          jtp.add(new Transform("jtp.instrumenter",
                                new InvokeStaticInstrumenter()));

to add a phase to print def/use chain for load Inst in baf IR ?

Thanks!

Richard


More information about the Soot-list mailing list