This allows setting different values for e_shentsize, e_shoff, e_shnum
and e_shstrndx fields and is useful for producing broken inputs for various
test cases.
Details
Diff Detail
Event Timeline
test/tools/yaml2obj/elf-header-sh-fields.yaml | ||
---|---|---|
5 | Get rid of "At" | |
10 | For consistency with the other test cases, move this YAML after the DEFAULT checks. | |
44–45 | FWIW, I think this is a bug in llvm-readelf. I reckon it should be able to dump the file header regardless of the values, unless it actually has to reference something else (e.g. for many sections). | |
48 | Nit: it would be easier for me to read if -j0x3a has a space in it, i.e. -j 0x3a. |
- Addressed review comments.
test/tools/yaml2obj/elf-header-sh-fields.yaml | ||
---|---|---|
44–45 | Yes, probably. |
that we can