Skip to content

feat: Redirect warnings to stderr - #318

Merged
slimm609 merged 2 commits into
slimm609:mainfrom
weidongkl:main
Nov 25, 2025
Merged

feat: Redirect warnings to stderr#318
slimm609 merged 2 commits into
slimm609:mainfrom
weidongkl:main

Conversation

@weidongkl

@weidongkl weidongkl commented Nov 18, 2025

Copy link
Copy Markdown
Contributor
  • add output.Fatalf helper that prints fatal errors on stderr
  • migrate kernel/ELF analyzers and file utilities to use the helper instead of fmt.Println + os.Exit
  • Partially addresses warnings corrupt json / yaml output #312

- add output.Fatalf helper that prints fatal errors on stderr
- migrate kernel/ELF analyzers and file utilities to use the helper instead of fmt.Println + os.Exit
- Partially addresses #312

Signed-off-by: weidongkl <weidong@uniontech.com>
@slimm609
slimm609 merged commit 8d55d4c into slimm609:main Nov 25, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants