Skip to content

Sanitizers#292

Merged
MasloMaslane merged 10 commits intomainfrom
sanitizers
Mar 25, 2026
Merged

Sanitizers#292
MasloMaslane merged 10 commits intomainfrom
sanitizers

Conversation

@MasloMaslane
Copy link
Copy Markdown
Member

No description provided.

@MasloMaslane MasloMaslane requested a review from Copilot April 7, 2025 16:30
Copy link
Copy Markdown

Copilot AI left a 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 != "":

Comment on lines 22 to +24
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)
Copy link

Copilot AI Apr 7, 2025

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.
@MasloMaslane MasloMaslane merged commit d23c293 into main Mar 25, 2026
2 of 8 checks passed
@MasloMaslane MasloMaslane deleted the sanitizers branch March 25, 2026 09:29
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