From my understanding, the tool at the moment is focused on the DXE drivers and their protocols.
I'm interested in doing something very similar (actual execution and custom hooks) for the PEI phase, and I'm wondering what it would take to adapt the framework. I forked the project at https://github.com/scristalli/efiperun_mod, and I would be interested in developing the feature.
To speed up the work, I would be very thankful if you could answer a couple questions:
- code in the PEI phase is 32-bit. Is 32-bit code execution already handled based on the PE file information, or does it need to be handled? Would it be feasible to integrate, say, gdb on a x86-64 system for singlestepping after the jump to the PE's entry point?
- EFI_SYSTEM_TABLE and other structures for the DXE protocols have been imported from library headers. I was thinking about definining the corresponding structures for the PEI phase (e.g. EFI_PEI_SERVICES), and then make the appropriate changes in the hooks etc. Do you see any particular challenge in my idea that could mine the feasibility of the project?
Feel free to correct mistakes in my understanding if you notice them.
Thank you.
Best regards.
From my understanding, the tool at the moment is focused on the DXE drivers and their protocols.
I'm interested in doing something very similar (actual execution and custom hooks) for the PEI phase, and I'm wondering what it would take to adapt the framework. I forked the project at https://github.com/scristalli/efiperun_mod, and I would be interested in developing the feature.
To speed up the work, I would be very thankful if you could answer a couple questions:
Feel free to correct mistakes in my understanding if you notice them.
Thank you.
Best regards.