Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

chore: removed debug printf statements

ce867e5
Select commit
Loading
Failed to load commit list.
Merged

feat: Massive changes #45

chore: removed debug printf statements
ce867e5
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jan 9, 2025 in 0s

8 new issues (0 max.) of at least minor severity.

Annotations

Check warning on line 23 in src/ir/irs/values.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/ir/irs/values.c#L23

Avoid the 'ato*()' family of functions.

Check warning on line 23 in src/ir/irs/values.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/ir/irs/values.c#L23

The `atoi` family of functions can potentially overflow or underflow integer values.

Check notice on line 23 in src/ir/irs/values.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/ir/irs/values.c#L23

Unless checked, the resulting number can exceed the expected range (CWE-190).  If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). 

Check notice on line 107 in src/parser/asts/functions.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/parser/asts/functions.c#L107

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).  

Check failure on line 107 in src/parser/asts/functions.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/parser/asts/functions.c#L107

The `strlen` family of functions does not handle strings that are not null terminated.

Check warning on line 16 in src/qasm/parser/values.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/qasm/parser/values.c#L16

Avoid the 'ato*()' family of functions.

Check warning on line 16 in src/qasm/parser/values.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/qasm/parser/values.c#L16

The `atoi` family of functions can potentially overflow or underflow integer values.

Check notice on line 16 in src/qasm/parser/values.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/qasm/parser/values.c#L16

Unless checked, the resulting number can exceed the expected range (CWE-190).  If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended).