diff options
| author | Michael Krasnitski <michael.krasnitski@gmail.com> | 2024-02-07 11:44:06 -0500 |
|---|---|---|
| committer | Kyle Martin <krm504@nyu.edu> | 2024-03-18 17:46:37 -0400 |
| commit | 5fcf6bc59ebc2110d053360d223e6570cdd2272c (patch) | |
| tree | ed6eafd132cf53fd9e7105f541967324b4165db0 /rust/src/function.rs | |
| parent | bdd012af7941c7d17b97b3e69628a7bc7cc2411e (diff) | |
Refactor MLIL instructions
* Turn `MediumLevelILInstruction` into a struct with a `kind` field to
indicate the instruction variant, and pull out the `function` and
`address` fields from each variant to live in the top-level struct.
* Make variant fields public, remove field getter methods and centralize
lifting logic to happen all at once. Split tuple fields into
individual named fields.
* Move the `operands` method to `MediumLevelILLiftedInstruction`, and
make it return an owned `Vec` of operands rather than a borrowed
iterator.
Diffstat (limited to 'rust/src/function.rs')
0 files changed, 0 insertions, 0 deletions
