Good morning,<div id="yMail_cursorElementTracker_1571678617938"><br></div><div id="yMail_cursorElementTracker_1571678618079">I am currently working on a personal project that involves extracting common blocks from two versions of the same method. For that I need a tool that is capable to work embedded in my code. I mean, for example a function that I could call on a string representation of a program, that would generate a control flow graph associated to it, that I could work on. I have not being able to figure it if it is possible with soot, which seems to operate on files and classes, not single methods. Even if it is not possible, what would be the proper way for me to have access to the Jimple body associated with my method, which is the cfg I need. </div><div id="yMail_cursorElementTracker_1571678891117">I would really appreciate any guidance I could receive.</div><div id="yMail_cursorElementTracker_1571678905971"><br></div><div id="yMail_cursorElementTracker_1571678906113">Best regards,</div><div id="yMail_cursorElementTracker_1571678909721">Faridah Akinotcho<br><br><div id="ymail_android_signature"><a id="ymail_android_signature_link" href="https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature">Sent from Yahoo Mail on Android</a></div></div>