Skip to content

Option to specify roots of program #747

Open
@smmoosavi

Description

💡 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions