toggle quoted messageShow quoted text
Is there any information available on PyGenFv? It also handles ELF to PE conversion (who knows why...), is that planned to be ported to Python as well? For Project Amaranth, we are currently implementing a tool to replace the ELF to PE conversion (among other things) and decided to write it in C to leverage the existing EDK II libraries for PE and ELF parsing, rather than re-implementing parsing in a different language. We'd like to stay compatible with upstream EDK II for as long as possible, and plan to send patches for a tool proposal whenever it is ready (do not expect it before mid next year, if at all).
On 29.10.21 12:43, Bob Feng wrote:
Correct. PyFMMT does not depend on GenSec, GenFfs and GenFv. Yes. the future PyGenSec, PyGenFfs and PyGenFv can reuse code from PyFMMT.
*From:* firstname.lastname@example.org <email@example.com> *On Behalf Of *gaoliming
*Sent:* Friday, October 29, 2021 10:16 AM
*To:* Chen, Christine <yuwei.chen@...>; firstname.lastname@example.org; email@example.com
*Cc:* Feng, Bob C <bob.c.feng@...>; Kinney, Michael D <michael.d.kinney@...>
*Subject:* 回复: [edk2-devel] RFC: Replace FMMT Tool from C to Python Version
This is a good news. Thanks for your great work. With this change, FMMT doesn’t depend on GenSec, GenFfs and GenFv C tool. Right? If yes, can those logic be reused to replace GenSec, GenFfs and GenFv C tools?
*发件人**:*Chen, Christine <yuwei.chen@...>
*发送时间:* 2021年10月29日 8:33
*收件人:* firstname.lastname@example.org; email@example.com
*抄送:* Feng, Bob C <bob.c.feng@...>; Kinney, Michael D <michael.d.kinney@...>; Liming Gao <gaoliming@...>
*主题:* [edk2-devel] RFC: Replace FMMT Tool from C to Python Version
I would like to propose the new FMMT Python tool, which is used to replace the origin C version tool.
Currently the FMMT C tool is saved in edk2-staging repo, but its quality and coding style can’t meet the Edk2 quality, which is hard to maintain (Hard/Duplicate Code; Regression bugs; Restrict usage).
The new Python version keeps same functions with origin C version. It has higher quality and better coding style, and it is much easier to extend new functions and to maintain.
You can get the FMMT Python tool through below link.
If you are interested in that, pls have a try.
Looking forward to your feedback~