Skip to content

Option to specify roots of program #747

@smmoosavi

Description

@smmoosavi

💡 Feature Description

I try to use Twiggy for the embedded binary for the thumbv6m-none-eabi target. As I know, these sections can be the starting point of the program (no_mangle and interrupt sections): __stext, SysTick, EXTI4_15, TIM2

When I run twiggy garbage all sections are marked as garbage. Please add an option (e.g., --roots) to specify the starting points of the program.

💻 Example Usage

twiggy garbage --roots __stext SysTick EXTI4_15 TIM2

🙌 Are you interested in implementing this feature?

  • Yes
  • Yes if I had a mentor to help me
  • No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions