You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This constant has an id: 10, so somewhere there should be what this constant's value actually is (a function pointer/reference?) in the smir_pretty output, but it doesn't exist anywhere.
Notes
Source which generated the above snippet:
fntest_true() -> bool{true}fnmain(){test_true();}
The text was updated successfully, but these errors were encountered:
It is far from obvious, but (from my understanding) the function being called by this Call terminator is indicated by the ty field in the constant, Call.func.Constant.const_.ty = 25 . That number should map to the callee's NormalSym name, which then needs to be searched as symbol_name in the items to find the item that we execute next.
Context
An example of a constant (under
func
) in a call terminator:Problem
This constant has an
id: 10
, so somewhere there should be what this constant's value actually is (a function pointer/reference?) in the smir_pretty output, but it doesn't exist anywhere.Notes
Source which generated the above snippet:
The text was updated successfully, but these errors were encountered: