Skip to content

Better fix for elf squashing#341

Open
will-v-pi wants to merge 1 commit into
developfrom
squash-overlap-fix
Open

Better fix for elf squashing#341
will-v-pi wants to merge 1 commit into
developfrom
squash-overlap-fix

Conversation

@will-v-pi

Copy link
Copy Markdown
Contributor

Don't squash into occupied areas, and don't squash metadata blocks

This reverts commit 0d16086 which was an incomplete fix for this

Don't squash into occupied areas, and don't squash metadata blocks

This reverts commit 0d16086
@will-v-pi will-v-pi added this to the 2.3.1 milestone Jul 14, 2026
@will-v-pi
will-v-pi requested a review from kilograham July 14, 2026 16:16
Comment thread main.cpp
Comment thread bintool/bintool.cpp
}


std::vector<std::unique_ptr<block>> get_all_blocks(elf_file *elf, std::unique_ptr<block> &first_block) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

probably worth doing what the bootrom does which is to detect cycles (can either use the. simple check the bootrom does which is to assume blocks are in order, or just use a set!)

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.

3 participants