Hi,
On Thu, 9 Oct 2003, Roland Weiss wrote:
I'm starting to use the Soot framewotk as a compiler toolkit. Could anyone give me some details on how to preserve the variable names of objects (locals). Soot automatically generates names like ($r0, ..., b0, ...), but I'd prefer the original names.
You need the phase option 'use-original-names' in the phase 'jb' to be set to 'true'. Offhand I don't know the invocation to do that if you're calling Soot as a library, but you want the same effect as if you specified '-p jb use-original-names:true' on the command line.