Skip to content

Another round of typo fixes#84

Merged
DeanoBurrito merged 3 commits intomasterfrom
another_round_of_typo_fixes
Feb 17, 2024
Merged

Another round of typo fixes#84
DeanoBurrito merged 3 commits intomasterfrom
another_round_of_typo_fixes

Conversation

@dreamos82
Copy link
Copy Markdown
Member

No description provided.

Comment thread 09_Loading_Elf/01_Elf_Theory.md Outdated

1) Load the ELF file in memory somewhere.
2) Validate the ELF header by checking the machine type matches what we expect (is this an x86_64 program?).
2) Validate the ELF header by checking the machine type matches what we expect (is this an x86_64 program?), this is usually done by parsing the `e_ident` member.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct, but can drop the 'usually'. We know this is contained in the e_ident field, as per the spec. There is no other behaviour in a valid elf file.

Comment thread 09_Loading_Elf/01_Elf_Theory.md Outdated
The format has four main sections:

- *The ELF header*: This contains the magic number used to identify it as an ELF, as well as information about the architecture the ELF was compiled for, the target operating system and other useful info.
- *The ELF header*: This contains the magic number used to identify it as an ELF, as well as information about the architecture the ELF was compiled for, the target operating system and other useful info. This is usually identified as the `e_ident` field.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same thing with usually

@DeanoBurrito DeanoBurrito merged commit 6566d6e into master Feb 17, 2024
@dreamos82 dreamos82 deleted the another_round_of_typo_fixes branch September 1, 2025 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants