We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The issue is most probably from SVF project, but still, I have found it from SUPA, I am reporting it here.
If there is an indirect call to a class member function using pointer-to-member function pointer, the analysis fails to resolve it.
class A { public: int f(); int (A::*x)(); }; int A::f() { return 1; } void ctx() { A a; a.x = &A::f; (a.*(a.x))(); }
The result it shows:
##<> Source Loc: Ptr 4295 PointsTo: {empty}
with /llvm-svf-src/Release-build/bin/dvf -cxt -query=funptr -maxcxt=5 -flowbg=10000 -cxtbg=10000 -cpts -print-query-pts sample.bc
/llvm-svf-src/Release-build/bin/dvf -cxt -query=funptr -maxcxt=5 -flowbg=10000 -cxtbg=10000 -cpts -print-query-pts sample.bc
It is expected to have _ZN1A1fEv as points-to.
_ZN1A1fEv
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The issue is most probably from SVF project, but still, I have found it from SUPA, I am reporting it here.
If there is an indirect call to a class member function using pointer-to-member function pointer, the analysis fails to resolve it.
The result it shows:
with
/llvm-svf-src/Release-build/bin/dvf -cxt -query=funptr -maxcxt=5 -flowbg=10000 -cxtbg=10000 -cpts -print-query-pts sample.bc
It is expected to have
_ZN1A1fEv
as points-to.The text was updated successfully, but these errors were encountered: