diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2025-04-09 15:46:46 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2025-04-10 17:07:48 +0000 |
| commit | f2bf6886663c2c4bdc58d126ed3d17f1b85d5f12 (patch) | |
| tree | f64703e590c9d21822ffdfa59ba450744d4a4177 /tools/syz-declextract/testdata/scopes.c.json | |
| parent | 19eaed83ec269d117586013015f9eb856d04162d (diff) | |
tools/syz-declextract: handle ints more carefully
It seems that new clang is more picky about asserts for large ints.
It not assert-fails when converting large ints to int64.
Be more careful when converting these to ints.
Diffstat (limited to 'tools/syz-declextract/testdata/scopes.c.json')
| -rw-r--r-- | tools/syz-declextract/testdata/scopes.c.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/syz-declextract/testdata/scopes.c.json b/tools/syz-declextract/testdata/scopes.c.json index ab03673b0..b5921869c 100644 --- a/tools/syz-declextract/testdata/scopes.c.json +++ b/tools/syz-declextract/testdata/scopes.c.json @@ -284,6 +284,14 @@ } } ] + }, + { + "arg": 0, + "values": [ + "LARGE_UINT", + "LARGE_SINT" + ], + "loc": 3 } ] } @@ -318,6 +326,16 @@ "name": "FOO_IOCTL8", "filename": "include/uapi/file_operations.h", "value": 25352 + }, + { + "name": "LARGE_SINT", + "filename": "scopes.c", + "value": 0 + }, + { + "name": "LARGE_UINT", + "filename": "scopes.c", + "value": -9223372036854775808 } ], "structs": [ |
