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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to specify roots of program #747

Open
1 of 3 tasks
smmoosavi opened this issue Jan 15, 2024 · 0 comments
Open
1 of 3 tasks

Option to specify roots of program #747

smmoosavi opened this issue Jan 15, 2024 · 0 comments

Comments

@smmoosavi
Copy link

馃挕 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
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

No branches or pull requests

1 participant