mirror of
https://github.com/frida/tinycc
synced 2024-12-22 13:12:34 +03:00
9e429dbef0
the uninitialized cumofs was leading to random sizes for the memset when initializing local structures, potentially leading to segfaults from it. Only a problem with GNU designated initializers, which we didn't test very well. See testcase.
49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
ce: 1 12
|
|
gs: 1 2 3 4
|
|
gs2: 1 2 3 4
|
|
gt: 68 65 6c 6c 6f 0 0 0 0 0 0 0 0 0 0 0 2a
|
|
gu: 3 5 6 7 8 4 68 75 68 75 0 0 0 0 0 0 0 0 0 0 0 0 2b
|
|
gu2: 3 5 6 7 8 4 68 75 68 75 0 0 0 0 0 0 0 0 0 0 0 0 2b
|
|
gu3: 3 5 6 7 8 4 68 75 68 75 0 0 0 0 0 0 0 0 0 0 0 0 2b
|
|
gu4: 3 5 6 7 0 5 62 6c 61 0 0 0 0 0 0 0 0 0 0 0 0 0 2c
|
|
gs3: 1 2 3 4
|
|
gv: 3 4 5 6 68 61 68 61 0 0 0 0 0 0 0 0 0 0 0 0 2d 2e
|
|
gv2: 7 8 9 a 68 69 68 69 0 0 0 0 0 0 0 0 0 0 0 0 2f 30
|
|
gv3: 7 8 9 a 68 6f 68 6f 0 0 0 0 0 0 0 0 0 0 0 0 31 32
|
|
sinit16: 1 0 0 0 2 0 0 0
|
|
gw: 1 2 3 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
|
gsu: 5 6
|
|
guv: 6 5 0 0
|
|
guv.b: 5
|
|
guv2: 8 7 0 0
|
|
guv3: 7 8 0 0
|
|
gssu1: 5 0 0 0 3 0 0 0
|
|
gssu2: 5 0 0 0 3 0 0 0
|
|
phdr: 6 5 4 3 0 0 0 0 0 0 0 0 0 0 0 0 9 8 7 6 0 0 0 0 0 0 0 0 0 0 0 0
|
|
ls: 1 2 3 4
|
|
ls2: 1 2 3 4
|
|
lt: 68 65 6c 6c 6f 0 0 0 0 0 0 0 0 0 0 0 2a
|
|
lu: 3 5 6 7 8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