I am wondering how to locate the implementation of which the function pointer points to:
eg. I am navigating through chrome source code and want to see the definition of SwapBuffers:
return get_interface<PPB_Graphics3D_1_0>()->SwapBuffers(
pp_resource(),
cc.pp_completion_callback());
clicking into the SwapBuffers symbol lead me to the function pointer declaration:
int32_t (*SwapBuffers)(PP_Resource context,
struct PP_CompletionCallback callback);
I am stuck here. how to track down the the real implementation of SwapBuffers?
I know this is an old question, but this is how I did it.
std::function<> or folly::Function<> or what-have you) in the watch window.folly::Function::call_ which has type void(*)(folly::detail::function::Data&)jmp foo::FunctionTraits<foofoo<<lambda_foofoo> > (07FF604306B20h)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With