Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement new Code Generator #112

Open
ceeac opened this issue Oct 25, 2018 · 2 comments
Open

Implement new Code Generator #112

ceeac opened this issue Oct 25, 2018 · 2 comments
Labels
dom: codegen (P/I) Related to high level code output type: feature (P/I) Brand new functionality

Comments

@ceeac
Copy link
Member

ceeac commented Oct 25, 2018

The current Code Generator does not produce very readable code, especially not for very complex functions. We should implement a new code generator e.g. based on the "No More Gotos" paper. For this, the current Control Flow analysis needs to be refactored to analyze Statements instead of BasicBlocks.

@ceeac ceeac added type: feature (P/I) Brand new functionality dom: codegen (P/I) Related to high level code output labels Oct 25, 2018
@rfalke
Copy link

rfalke commented Oct 29, 2018

This sounds like a big task. Since I think the rewrite for capstone (#69) is also a bit task I would suggest to finish one first.

@ceeac
Copy link
Member Author

ceeac commented Oct 29, 2018

Yes; the roadmap I outlined in this comment still stands. So while #69 will be merged more or less directly after the release of 0.4.0, the new Code Generator is much farther into the future - probably after 0.5.0 (unless somebody implements it beforehand).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dom: codegen (P/I) Related to high level code output type: feature (P/I) Brand new functionality
Projects
None yet
Development

No branches or pull requests

2 participants