Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SegmentHeaderRelative for .api_info #49

Open
todo bot opened this issue Apr 10, 2020 · 0 comments
Open

SegmentHeaderRelative for .api_info #49

todo bot opened this issue Apr 10, 2020 · 0 comments

Comments

@todo
Copy link

todo bot commented Apr 10, 2020

linkle/src/format/nxo.rs

Lines 491 to 501 in a9b8732

// TODO: SegmentHeaderRelative for .api_info
output_writter.write_u64::<LittleEndian>(0)?;
// SegmentHeaderRelative for .dynstr
output_writter.write_u32::<LittleEndian>(self.dynstr_section.as_ref().map(|v| u32::try_from(v.addr).unwrap()).unwrap_or(0))?;
output_writter.write_u32::<LittleEndian>(self.dynstr_section.as_ref().map(|v| u32::try_from(v.size).unwrap()).unwrap_or(0))?;
// SegmentHeaderRelative for .dynsym
output_writter.write_u32::<LittleEndian>(self.dynsym_section.as_ref().map(|v| u32::try_from(v.addr).unwrap()).unwrap_or(0))?;
output_writter.write_u32::<LittleEndian>(self.dynsym_section.as_ref().map(|v| u32::try_from(v.size).unwrap()).unwrap_or(0))?;
// .text sha256
let text_sum = utils::calculate_sha256(&code)?;


This issue was generated by todo based on a TODO comment in a9b8732 when #41 was merged. cc @MegatonHammer.
@todo todo bot added the todo 🗒️ label Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants