add NuttX Kconfig fuzzing integration (ntfc fuzz) - #12
Draft
raiden00pl wants to merge 1 commit into
Draft
Conversation
Add a new 'ntfc fuzz' command that fuzzes NuttX Kconfig option subsets and classifies the results Signed-off-by: raiden00pl <raiden00@railab.me> Assisted-by: Claude Code
Open
raiden00pl
commented
Aug 7, 2026
| ``build`` / ``mem`` need only the fuzz config (it names board + tree). | ||
| ``ostest`` also needs an NTFC target config via ``--confpath``. | ||
| """ | ||
| from pathlib import Path |
Member
Author
There was a problem hiding this comment.
too much imports, move imports at the top
raiden00pl
commented
Aug 7, 2026
| return False | ||
|
|
||
|
|
||
| def fuzz_run(ctx: Environment) -> int: # pragma: no cover # noqa: C901 |
raiden00pl
commented
Aug 7, 2026
|
|
||
| @pass_environment | ||
| def cli_on_close(ctx: Environment) -> bool: | ||
| def cli_on_close(ctx: Environment) -> bool: # noqa: C901 |
raiden00pl
commented
Aug 7, 2026
| # Kconfig file path (top-relative). Orthogonal to the arch profile (which only | ||
| # decides how candidates are built/mocked). Add a line to add a subsystem. | ||
|
|
||
| sched: '(?:^|/)sched/' |
Member
Author
There was a problem hiding this comment.
scopes also for apps ?
raiden00pl
commented
Aug 7, 2026
| @@ -0,0 +1,10 @@ | |||
| config: | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a new 'ntfc fuzz' command that fuzzes NuttX Kconfig option subsets and classifies the results.
Features:
It's functional now, but I need to carefully review it before it's ready to merge and I'm not sure when I'll do it.