fkie-cad / dewolf

A research decompiler implemented as a Binary Ninja plugin.
GNU Lesser General Public License v2.1
176 stars 9 forks source link

[C2AST] Generate AST from C code #38

Open felixpk opened 2 years ago

felixpk commented 2 years ago

Proposal

Writing AST tests can be quite verbose, therefore I propose to implement a converter which translates c code to dewolfs AST implementation.

Approach

  1. Use pycparser to generate an intermediate AST representation
  2. Translate each AST node to dewolfs AST representation
felixpk commented 2 years ago

/cib

github-actions[bot] commented 2 years ago

Branch issue-38-_C2AST_Generate_AST_from_C_code created!

felixpk commented 2 years ago

What does currently work?

What does currently not work?