-
Notifications
You must be signed in to change notification settings - Fork 6
Sanitizers #292
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Sanitizers #292
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
src/sinol_make/commands/chkwer/chkwer_util.py:62
- [nitpick] Instead of comparing result.stderr to an empty string, consider checking its truthiness (e.g., 'if result.stderr:') to handle potential None values or unexpected types more gracefully.
if result.stderr != "":
try: | ||
with open(compile_log_path, "w") as compile_log: | ||
compile.compile(file_path, output, compile_log=compile_log, use_fsanitize=use_fsanitize) | ||
compile.compile(file_path, output, compile_log=compile_log, use_sanitizers=use_fsanitize) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'use_fsanitize' variable is a boolean, but the new 'use_sanitizers' parameter is expected to be a string (e.g., 'no', 'simple', or 'full'). Consider converting the boolean to an appropriate string value (for example, use 'simple' if True, and 'no' if False).
Copilot uses AI. Check for mistakes.
No description provided.