-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assert error in getNonOpaquePointerElementType #1841
Comments
(not a very experienced C/C++ user) I have tried throwing in some flags like |
Hey! Apologies for the delay here |
I'll push a fix tonight! The main reason I didn't do it is that we are rapidly moving to a new frontend that doesn't rely on LLVM LTO. The plan is to deprecate the LTO logic before end of the year, and rely on a pure static (no building) approach. The C logic is more or less ready in https://github.com/ossf/fuzz-introspector/tree/main/frontends/light but we need to get C++ working as well. |
May I ask if this problem has been fixed? |
Apologies for the delay! I'll look at this tomorrow, Friday |
I'm looking at this now -- does this issue happen when running the Also, which checkout specifically do you use of LLVM? i.e. what do you have on this line? fuzz-introspector/build_all.sh Line 59 in 998749b
|
I also ran into the same error when I was following the installation instructions on this webpage https://fuzz-introspector.readthedocs.io/en/latest/installation-instructions/installation.html. The same error occurred when I ran this command |
fuzz-introspector/build_all.sh Line 59 in 998749b
Nvm, I see you mention the commit now, thanks! |
I am encountering the same issue. |
Same here - when I followed the installation on this webpage https://fuzz-introspector.readthedocs.io/en/latest/installation-instructions/installation.html and run the command "FUZZ_INTROSPECTOR=1 ../../../build/llvm-build/bin/clang -fsanitize=fuzzer \ -fuse-ld=gold -flto -g ../fuzzer.c -o fuzzer". However, I got the same error below.
It would be amazing if you could solve this issue! Thank you in advance. |
Many apologies for the delay here. I was confused why I've updated the sphinx logic to include the correct installation procedure: https://fuzz-introspector.readthedocs.io/en/latest/installation-instructions/installation.html#installation Let me know if this works for you. I will revisit the Sphinx doc further this week since we have made some more progress, in particular on non-lto based analysis which will make it a lot easier to build tools based of Fuzz Introspector. |
Thank you so much for your quick reply and for updating the document, @DavidKorczynski ! I shall indeed try to re-install and do it again to see whether it actually works without that issue or not. Have a nice day! |
Hi @DavidKorczynski; thank you again for updating the installation section. It worked on my side (I have tested the installation in C/C++, especially for Option 1) 😁. However, I just found one missing command to execute the following scripts without any issues. I have made a PR #2086, so it would be great if you could review it. I’d appreciate your feedback and thoughts! |
Hello, after following the steps of local build and compiling clang, I get an error when running it:
![image](https://private-user-images.githubusercontent.com/61727602/390427414-4c39fd98-7b65-40cc-8a27-11ce7162dead.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTcyNjQsIm5iZiI6MTczOTM1Njk2NCwicGF0aCI6Ii82MTcyNzYwMi8zOTA0Mjc0MTQtNGMzOWZkOTgtN2I2NS00MGNjLThhMjctMTFjZTcxNjJkZWFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEwNDI0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdiNTY5NmI2ODlhZGZkMjAwNWY3YzNlN2EwOTJiYjljODgxM2RlNDc4ODIzYTMwZmQ1M2FlZTkyOTRlMDFmOGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QzBldf9Rx_UJn619aD9JuLro24t6UK0UiDCA4jLup1g)
It seems to be a problem with this API?
![image](https://private-user-images.githubusercontent.com/61727602/390428349-2811f958-39d5-4373-a0e1-23215f602812.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTcyNjQsIm5iZiI6MTczOTM1Njk2NCwicGF0aCI6Ii82MTcyNzYwMi8zOTA0MjgzNDktMjgxMWY5NTgtMzlkNS00MzczLWEwZTEtMjMyMTVmNjAyODEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEwNDI0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVjMzBiNjAzYTZiOWE4ZjM4NmU2OTVkMDhlMzBmNDMyZjVkM2Y3OTQxYjdiMmZhNmUzZmQyMmJiNzkwNjk5YjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.hzjHM_dK8N7sE-L3PWezTRtvQ-VTOrH2FTgrwk_jemA)
My LLVM version is release/15.x
The text was updated successfully, but these errors were encountered: