|
resonance 1.0.1
|
Writer of the module name into the .iopmod header of an IRX. More...
Functions | |
| std::expected< std::vector< std::uint8_t >, Error > | nameIrx (std::span< const std::uint8_t > data) |
| Return the IRX with the module name written into its .iopmod header. | |
Writer of the module name into the .iopmod header of an IRX.
| std::expected< std::vector< std::uint8_t >, Error > Tools::NameIrx::nameIrx | ( | std::span< const std::uint8_t > | data | ) |
Return the IRX with the module name written into its .iopmod header.
The name comes from the ModuleInfo record that the header points to. The rest of the file moves by the growth of the header, rounded to the alignment of the loadable segment, and the ELF, program, and section headers are adjusted to match.
| data | The IRX file. |