Skip to content

Updates Tamiflex to work with the modern JDK and ASM.#8

Open
jtoman wants to merge 2 commits intosecure-software-engineering:masterfrom
jtoman:tamiflex-fixes
Open

Updates Tamiflex to work with the modern JDK and ASM.#8
jtoman wants to merge 2 commits intosecure-software-engineering:masterfrom
jtoman:tamiflex-fixes

Conversation

@jtoman
Copy link
Copy Markdown

@jtoman jtoman commented Aug 20, 2018

  • Adds EXPAND_FRAMES argument to visit() in the class renamer, without which ASM dies
  • Adds constant whitelist, which we use to ignore the "$Proxy" constant loaded in the ProxyFactory. Usually whenever TamiFlex sees a constant with one of the "generated name" tokens, it assumes it is a reference to a generated class name, but the use of "$Proxy" breaks this assumption. The "isWhitelistConstant" method can be extended to handle other such scenarios as necessary.
  • Treats _pyx classes as generated, as per python.6.x6.nabble.com/Is-the-org-python-pycode-package-generated-code-td1782284.htmlL

jtoman added 2 commits August 16, 2018 11:52
Also adds expand_frames without which the renaming fails
They are actually generated at runtime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant