-
Notifications
You must be signed in to change notification settings - Fork 44
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
Assertion NewParamInfo.size() == getNumParams() && "Parameter count mismatch!"
failed.
#333
Comments
Assertion
NewParamInfo.size() == getNumParams() && "Parameter count mismatch!"'`Assertion NewParamInfo.size() == getNumParams() && "Parameter count mismatch!"
Assertion NewParamInfo.size() == getNumParams() && "Parameter count mismatch!"
Assertion NewParamInfo.size() == getNumParams() && "Parameter count mismatch!"
failed.
Assertion NewParamInfo.size() == getNumParams() && "Parameter count mismatch!"
failed.NewParamInfo.size() == getNumParams() && "Parameter count mismatch!"
failed.
It's possible that rellic doesn't properly understand inline assembly. Those are implemented via function calls in clang. |
So the line where code hits the assertion is in the process of trying to handle the rellic/lib/AST/IRToASTVisitor.cpp Lines 1223 to 1247 in 86280f6
|
Inline asm is tricky because Clang does some kind of translation of it into an internal LLVM-specific assembly dialect. |
I am using
rellic
at commit: 86280f6The system I'm running this on is:
Here's my example:
Which I compile and try to decompile as follows:
Note: I'm using the
clang
that gets pulled down byvcpkg
when buildingrellic
from source (so hopefully everything is compatible).When I run this, I get the following error:
Here is how the backtrace looks in
gdb
:The text was updated successfully, but these errors were encountered: