crashappsec / crashappsec/libcon4m

tests: consider testing of integer overflow

Open
#72 1 comment 0 reactions 0 assignees View on GitHub
enhancement P4
Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

With:

- libcon4m b4fdc8e2e70b0ef18a554562702e2db1e0c9aff0
- x86_64
- Linux 6.9.7
- gcc 14.1

Running `c4test` with this `.c4m` file:

```text
"""
Test of integer overflow.
"""
"""
$output:
9223372036854775807
-'..--).0-*(+,))+(0(
"""

x = 9223372036854775807
print(x)

x += 1
print(x)
```

currently passes. Probably not a high priority. But if we want an error at some point, and test coverage for similar things, let's track that in this issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.