Skip to content

Simplified lifter code generation#20

Open
xorpse wants to merge 88 commits intofeature/v0.3/hybrid-disassemblyfrom
feature/v0.3/simplified-codegen
Open

Simplified lifter code generation#20
xorpse wants to merge 88 commits intofeature/v0.3/hybrid-disassemblyfrom
feature/v0.3/simplified-codegen

Conversation

@xorpse
Copy link
Member

@xorpse xorpse commented Feb 2, 2025

This PR simplifies the previous lifter implementation:

  • The code generated for lifters now relies on a common runtime that provides methods to resolve constructors, handles, and perform disassembly/lifting. This improves compile times substantially and avoids generating a significant amount of duplicated code as in the previous implementation.
  • Each generated lifter implements a trait LanguageImpl, which allows us to build a common Language structure that represents the core functionality of a generated lifter that can be used in a similar manner to fugue_ir::Translator.

We also sync. with the current state of fugue v0.2.x and provide versions of fugue-fspec and fugue-sleigh that work with lifters generated via fugue-lifter.

xorpse and others added 30 commits March 2, 2024 01:08
update flatbuffers and flatcc in fugue-db
* add fugue-fspec (function property/pattern specifications)
* add fugue-sleigh (PCode/SLEIGH semantics parser/translator)
@xorpse xorpse force-pushed the feature/v0.3/simplified-codegen branch from b808013 to d1ca892 Compare April 12, 2025 04:18
@xorpse xorpse force-pushed the feature/v0.3/simplified-codegen branch from 60a682d to 44b196b Compare April 19, 2025 02:33
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.

2 participants

Comments