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
EvaluateExpression("main") should return an object holding a function pointer to main.
This can be implemented via SBTarget::FindFunctions(), which returns a list of SBSymbolContext items. Symbol context hold information about the function type and its address, so we can create an SBValue representing the function pointer.
The text was updated successfully, but these errors were encountered:
Assuming the program:
EvaluateExpression("main")
should return an object holding a function pointer tomain
.This can be implemented via
SBTarget::FindFunctions()
, which returns a list ofSBSymbolContext
items. Symbol context hold information about the function type and its address, so we can create anSBValue
representing the function pointer.The text was updated successfully, but these errors were encountered: