tock / tock/elf2tab

`--minimum-ram-size` option is not respected

Open
#101 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
18
Forks
42
PR merge metrics
No merged PRs in 30d

Description

The --minimum-ram-size option seem to not do anything. It is associated with the minimum_stack_size variable for some reason, which is not being used further in the code.
https://github.com/tock/elf2tab/blob/06b05fdad764c59c279a50686ccd512f544fb824/src/cmdline.rs#L64-L72

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/cmdline.rs at lines 64-72 and trace how --minimum-ram-size is parsed into minimum_stack_size. Confirm where the value should affect ELF-to-bundle processing, then add a regression test showing that the option changes the resulting minimum RAM behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.