[llvm] [llvm-readobj][COFF] Add support for more CET and hotpatch flags (PR #150967)
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 04:25:39 PDT 2025
mstorsjo wrote:
> > Actually, on second thought regarding the test binary - I don't think I see a specific reason why this binary can't just be synthesized using `yaml2obj`? To achieve that, you can run `obj2yaml` on the existing executable, then strip out unnecessary parts of the binary (for the purposes of this test, we don't really need any section contents in most sections - I guess this requires a debug directory in `.rdata` though, but we can cut out the unnecssary parts of it), and curate that into a small yaml file as input for the test. (And in many cases, the input can be in the test file itself instead of requiring a separate input file.)
>
> Nice idea. I'll make a PR for that soon.
Any update on this?
https://github.com/llvm/llvm-project/pull/150967
More information about the llvm-commits
mailing list