mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-27 21:30:33 +00:00
a5c1ab05b3
Add tests for issue #1542 The correct results are obtained with the following program: struct foo { unsigned char f0; unsigned int f1:4; unsigned short f2:4; }; struct bar { char f0; struct foo foo; }; int main() { struct bar y; memset(&y, 0, sizeof(y)); y.f0 = 0x12; y.foo.f0 = 0x34; y.foo.f1 = 0x56; y.foo.f2 = 0x78; int i; for (i = 0; i < sizeof(y); i++) printf("%02x", ((unsigned char*)&y)[i]); printf("\n"); } |
||
---|---|---|
.. | ||
akaros | ||
android | ||
freebsd | ||
fuchsia | ||
linux | ||
netbsd | ||
openbsd | ||
syz-extract | ||
syz-sysgen | ||
targets | ||
test | ||
trusty | ||
windows | ||
sys.go |