9月5日 | 英语翻译 | 《Guide to P-code Injection: Changing the intermediate representation of code on the fly in Ghidra》

前言:这是一篇极好的网站里面,极好的内容,找到的一篇文章
《Written by Vyacheslav Moskvin on June 2, 2021》

翻译1:

When we were developing the ghidra nodejs module for Ghidra, we realized that it was not always possible to correctly implement V8 (JavaScript engine that is used by Node.js) opcodes in SLEIGH. In such runtime environments as V8 and JVM, a single opcode might perform multiple complicated actions. To resolve this problem in Ghidra, a mechanism was designed for the dynamic injection of p-code constructs, p-code being Ghidra’s intermediate language. Using this mechanism, we were able to transform the decompiler output from this:

image

翻译2:

posted @ 2022-09-05 23:52  Haparm  阅读(13)  评论(0)    收藏  举报