Displaying 6 results from an estimated 6 matches for "pngpixel_crash".
2020 Jan 03
3
Interpreter crash due to an "Unknown constant pointer type!"
...-DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_RTTI=ON
-DLLVM_ENABLE_FFI=ON -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_ASSERTIONS=ON ..
cmake --build . -- -j8 && sudo cmake --build . --target install
Once lli was installed it was enough to use the .bc
/usr/local/bin/lli --debug --force-interpreter pngpixel_crash.bc 0 0
mini.png
...
png_ptr->width: 1
max_pixel_depth: 24
row_bytes: 28
...
About to interpret: store <2 x %struct.code*> <%struct.code*
getelementptr inbounds ([512 x %struct.code], [512 x %struct.code]*
@fixedtables.lenfix.681, i64 0, i64 0), %struct.code* getelementptr
inbounds ([3...
2019 Dec 19
2
Interpreter crash due to an "Unknown constant pointer type!"
Hi David,
Thanks for the suggestions. I can definitely provide the example bc file
and image ( please see the attachments ). For the debug + asserts I need a
bit of more time.
Anyway the full output of lli is:
lli --force-interpreter examples/pngpixel_crash.bc 0 0 examples/mini.png
png_ptr->width: 1
max_pixel_depth: 24
row_bytes: 28
Unknown constant pointer type!
UNREACHABLE executed at
/home/al/Desktop/llvm-6.0.1.src/lib/ExecutionEngine/ExecutionEngine.cpp:1007!
LLVMSymbolizer: error reading file: No such file or directory
#0 0x0000000001765ee9 (l...
2020 Feb 10
2
Interpreter crash due to an "Unknown constant pointer type!"
...t;> -DLLVM_ENABLE_FFI=ON -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_ASSERTIONS=ON ..
>> cmake --build . -- -j8 && sudo cmake --build . --target install
>>
>> Once lli was installed it was enough to use the .bc
>>
>> /usr/local/bin/lli --debug --force-interpreter pngpixel_crash.bc 0 0
>> mini.png
>> ...
>> png_ptr->width: 1
>> max_pixel_depth: 24
>> row_bytes: 28
>> ...
>> About to interpret: store <2 x %struct.code*> <%struct.code*
>> getelementptr inbounds ([512 x %struct.code], [512 x %struct.code]*
>>...
2019 Dec 24
2
Interpreter crash due to an "Unknown constant pointer type!"
...id,
>> Thanks for the suggestions. I can definitely provide the example bc file
>> and image ( please see the attachments ). For the debug + asserts I need a
>> bit of more time.
>>
>> Anyway the full output of lli is:
>>
>> lli --force-interpreter examples/pngpixel_crash.bc 0 0 examples/mini.png
>> png_ptr->width: 1
>> max_pixel_depth: 24
>> row_bytes: 28
>> Unknown constant pointer type!
>> UNREACHABLE executed at
>> /home/al/Desktop/llvm-6.0.1.src/lib/ExecutionEngine/ExecutionEngine.cpp:1007!
>> LLVMSymbolizer: error r...
2020 Feb 01
0
Interpreter crash due to an "Unknown constant pointer type!"
..._FFI=ON -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_ASSERTIONS=ON ..
>>> cmake --build . -- -j8 && sudo cmake --build . --target install
>>>
>>> Once lli was installed it was enough to use the .bc
>>>
>>> /usr/local/bin/lli --debug --force-interpreter pngpixel_crash.bc 0 0
>>> mini.png
>>> ...
>>> png_ptr->width: 1
>>> max_pixel_depth: 24
>>> row_bytes: 28
>>> ...
>>> About to interpret: store <2 x %struct.code*> <%struct.code*
>>> getelementptr inbounds ([512 x %struct.code]...
2019 Dec 19
2
Interpreter crash due to an "Unknown constant pointer type!"
Hi all,
as usual I'm playing with the Interpreter and unfortunately I hit a crash.
I have narrowed down the problem an the crash happens inside the inflate
function which is part of zlib and specifically at the instruction:
store <2 x %struct.code*> <%struct.code* getelementptr inbounds ([512 x
%struct.code], [512 x %struct.code]* @fixedtables.lenfix.681, i64 0, i64
0), %struct.code*