<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi,
<div class=""><br class="">
</div>
<div class="">I am a graduate student at Georgia Tech and I am using Soot to write some analyses. I wanted to know if there was a way in Soot to load a given class directly in the Baf format instead of the standard Jimple representation. </div>
<div class=""><br class="">
</div>
<div class="">Currently I am using following code to load a class:</div>
<div class="">
<div style="margin: 0px; font-size: 11px; font-family: Monaco;" class="">SootClass
<span style="color: #7e504f" class="">c</span> = Scene.v().loadClassAndSupport(<font color="#7e504f" class=""><string></font>);</div>
</div>
<div class=""><br class="">
</div>
<div class="">This code always returns the class in the Jimple representation. I have however not been able to find any option which I can get it to load to Baf directly. </div>
<div class="">If there isn’t a way, then is it possible to convert the Jimple to Baf representation ?</div>
<div class=""><br class="">
</div>
<div class="">Thanks<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class=""><font color="#a9a9a9" class="">Aditya Kamath</font></div>
<div class=""><font color="#a9a9a9" class="">Graduate Student</font></div>
<div class=""><font color="#a9a9a9" class="">Computer Science</font></div>
<div class=""><font color="#a9a9a9" class="">Georgia Institute of Technology</font></div>
</div>
</div>
</div>
<br class="">
</div>
</body>
</html>