Git Product home page Git Product logo

decompiler-helper-ideas's Introduction

decompiler-helper-ideas

Just for logging some ideas for a decompiler addon

  1. If-else-else-else -> switch + case
  2. Transforming *ptr -> ptr[0] if there are ptr[n] which (n != 0).
  3. C pseudo code to python converter (AST is given, so emulator / language converter is possible?) - will be useful with symbolic engines like z3py.
  4. Additional calling convention supporter (I think that some microcode hack can do this. Ex: Go returns value to stack variable, Rust uses xmm registers before assigning actual rdi/rsi/... to copy some structures - some heuristics can help it, ...)
  5. (solved) Decompiler can just emit DWARF symbols I guess? I mean, IDA2GDB. I doubt it as helpful for now. --> https://github.com/ALSchwalm/dwarfexport
  6. arbitrary assembler -> microcode / retdec IR(I remember it has LLVM -> their IR pass) converter -> since microcode is opened, I guess decompilers for many architectures can be supported. Maybe there can be some hacks for some architecture, but decompiler itself is invaluable since viewing C and understanding heuristics is better than viewing assembly alone.
  7. retdec variable name renamer? since retdec is open sourced, can we get some AST for it and save/sync some info with IDA(ex. stack variables, register assignment, ...)
  8. drawing xref map to get some path information
  9. C code patcher! (binary code patching itself does require lot of heuristics / architecture dependent things, it can be separated as another subject) would be great if I can write some code in C and apply to it. Will it require some deep-learning for generating correct code?! (nope)
  10. It's not a plugin idea, but docs for decompiler internals will be great... Like, angr/S2E docs are improving. They're great.
  11. For some functions/patterns, make variable unitialized so the user can determine if the variable is not valid anymore.

decompiler-helper-ideas's People

Contributors

jinmo avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.