<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>I am looking to see if Soot has some command line option to generate / retain the local variable table in the .class output. Basically an equivalent of javac's -g:vars option. I am aware of the&nbsp;</p>
<pre><i>-p jb use-original-names:true</i></pre>
<pre><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;">option and have tried it, but it seems that it only retains the variable names in the .jimple output and not in the .class files. Searching through the mailing list  brings up these 2 related posts where it is mentioned that such support was not available in Soot and had to be implmented by the user by adding a new tag to each SootMethod.</span><br></pre>
<pre><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;"><a href="https://mailman.cs.mcgill.ca/pipermail/soot-list/2010-May/002953.html" id="LPlnk450560">https://mailman.cs.mcgill.ca/pipermail/soot-list/2010-May/002953.html</a><br></span></pre>
<pre><a href="https://mailman.cs.mcgill.ca/pipermail/soot-list/2013-November/006379.html" id="LPlnk500119" title="https://mailman.cs.mcgill.ca/pipermail/soot-list/2013-November/006379.html
Ctrl&#43;Click or tap to follow the link">https://mailman.cs.mcgill.ca/pipermail/soot-list/2013-November/006379.html</a><br></pre>
<pre><pre style="font-size: 16px;"><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;">I'm just wondering if anything has changed since then or will I have to write a patch for soot for this?</span></pre><pre style="font-size: 16px;">Thanks,</pre><pre style="font-size: 16px;">Naveen</pre></pre>
<pre><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;"><br></span></pre>
<p></p>
</div>
</body>
</html>