e01.org

Soot (software)

In static program analysis, Soot is a bytecode manipulation and optimization framework consisting of intermediate languages for Java. It has been developed by the Sable Research Group at McGill University. Soot is currently maintained by the Secure Software Engineering Group at Paderborn University. Soot provides four intermediate representations for use through its API for other analysis programs to access and build upon: * Baf: a near bytecode representation. * Jimple: a simplified version of Java source code that has a maximum of three components per statement. Also used as IR for Android Dalvik bytecode with Dexpler. * Shimple: an SSA variation of Jimple (similar to GIMPLE). * Grimp: an aggregated version of Jimple suitable for decompilation and code inspection. The current Soot software release also contains detailed program analyses that can be used out-of-the-box, such as context-sensitive flow-insensitive points-to analysis, call graph analysis and domination analysis...

In static program analysis, Soot is a bytecode manipulation and optimization framework consisting of intermediate languages for Java. It has been developed by the Sable Research Group at McGill University. Soot is currently maintained by the Secure Software Engineering Group at Paderborn University. Soot provides four intermediate representations for use through its API for other analysis programs to access and build upon: Baf: a near bytecode representation. Jimple: a simplified version of Java source code that has a maximum of three components per statement. Also used as IR for Android Dalvik bytecode with Dexpler. Shimple: an SSA variation of Jimple (similar to GIMPLE). Grimp: an aggregated version of Jimple suitable for decompilation and code inspection. The current Soot software release also contains detailed program analyses that can be used out-of-the-box, such as context-sensitive flow-insensitive points-to analysis, call graph analysis and domination analysis (answering the question "must event a follow event b?"). It also has a decompiler called dava. Soot is free software available under the GNU Lesser General Public License (LGPL). In 2010, two research papers on Soot ( and ) were selected as IBM CASCON First Decade High Impact Papers among 12 other papers from the 425 entries. ===Example=== Consider the following bytecode, which is from the iload 1 // load variable x1, and push it on the stack iload 2 // load variable x2, and push it on the stack iadd // pop two values, and push their sum on the stack istore 1 // pop a value from the stack, and store it in variable x1 The above translates to the following three-address code: stack1 = x1 // iload 1 stack2 = x2 // iload 2 stack1 = stack1 + stack2 // iadd x1 = stack1 // istore 1 In general the resulting code does not have static single assignment form. ==SootUp== Soot is now succeeded by the SootUp framework developed by the Secure Software Engineering Group at Paderborn University. SootUp is a complete reimplementation of Soot with a novel design, that focuses more on static program analysis, rather than bytecode optimization. ==References== ==Sources== Republished in Republished in ==Further reading== ==External links== Scientific publications citing Soot (on Google Scholar)

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Soot (software)". 1782849299. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1361926224

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·