You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The structure of the ELF note can be done with pure Rust code. We can
definie the Name and Desc types and use a static struct to hold the
note.
Due to Rust's limitations on "pointer-to-integer cast", we have to have
Desc have a function pointer type, which means that field is now 8 bytes
long instead of 4. However, this doesn't seem to be an issue. The binary
still works w/ PVH Boot on QEMU and CH.
Signed-off-by: Joe Richey <[email protected]>
0 commit comments