soot-oss / SootUp

A new version of Soot with a completely overhauled architecture
https://soot-oss.github.io/SootUp/
GNU Lesser General Public License v2.1
565 stars 73 forks source link

add old-soot escaping for LegacyJimplePrinter #452

Open swissiety opened 2 years ago

swissiety commented 2 years ago

integrate legacy escapings from old soot into LegacyJimplePrinter

cgobel commented 1 year ago

In my case, exactly this leads to a problem when I try to read the produced jimple files with old soot in order to convert them back to Java or Android bytecode. I receive a ParserException which says it expects a quoted string for an identifier. It is quoted but old soot expects SINGLE quotes and sootup's JimplePrinter (even in legacy mode) uses DOUBLE quotes. But it seems to relate to methods that are named as keywords only (e.g. method names "of" or "from" from some Kotlin classes).