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

Custom QEMU emulator typed builder + ExitHandler / Commands refactoring #2486

Merged
merged 26 commits into from
Aug 21, 2024

Conversation

rmalmain
Copy link
Collaborator

  • Add a typed builder for Emulator
  • Update tuple to support Prepend / Append in the same way
  • Unify qemu_init for usermode and systemmode
  • Remove env from qemu init args (it is unused in QEMU in practice)

* Update tuple to support Prepend / Append in the same way
* Unify qemu_init for usermode and systemmode
* Remove env from qemu init args (it is unused in QEMU in practice)
* add build function
* Reorder generics alphabetically for Qemu{,Fork}Executor
* Started to adapt qemu_systemmode breakpoint example with new builder (WIP)
* Moved snapshot manager to Emulator to continue centralizing mains objects in the same structure
* Remove many IsCommand generics
* Reimplementation of CommandManager working with enums instead of vtables
* Macro has been adapted to do this work automatically
* Moved snapshot stuff to dedicated module
* Removed many Rc<RefCell<...>>, now useless with the removal of vtables

TODO:
* Finish Drivers trait implementations
* Better handling of breakpoints (for now there are many clones)
*
@rmalmain rmalmain changed the title Custom QEMU emulator typed builder Custom QEMU emulator typed builder + ExitHandler / Commands refactoring Aug 16, 2024
@rmalmain
Copy link
Collaborator Author

rmalmain commented Aug 16, 2024

TODO:

  • Finish EmulatorDriver trait implementations
  • Better handling of breakpoints (for now there are many clones that could be references)

@rmalmain rmalmain merged commit 4b87d7f into main Aug 21, 2024
98 of 99 checks passed
@rmalmain rmalmain deleted the emu_builder branch August 21, 2024 14:36
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