You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Sonatina-ir parser does not perform range validation on integer Immediate values within global variable initializers. This lack of checking can lead to the assignment of out-of-range integer values, potentially causing unexpected behavior or runtime errors.
Proposed Solution:
Add Range Validation:
Implement checks to ensure that integer Immediate values are within the valid range for their specified integer types.
Error Handling:
Generate informative error messages when an out-of-range value is detected during parsing/ir-building.
Testing:
Create test cases to verify that the parser correctly identifies and handles out-of-range values.
The text was updated successfully, but these errors were encountered:
Currently, the Sonatina-ir parser does not perform range validation on integer
Immediate
values within global variable initializers. This lack of checking can lead to the assignment of out-of-range integer values, potentially causing unexpected behavior or runtime errors.Proposed Solution:
Immediate
values are within the valid range for their specified integer types.The text was updated successfully, but these errors were encountered: