Skip to content

Instantly share code, notes, and snippets.

@sunwayforever
Created October 8, 2017 08:43
Show Gist options
  • Save sunwayforever/c8b46953c83e984f768ea38a10924140 to your computer and use it in GitHub Desktop.
Save sunwayforever/c8b46953c83e984f768ea38a10924140 to your computer and use it in GitHub Desktop.
get address of c++ member function
std::vector<std::unique_ptr<const DexFile> > (OatFileManager::* ptrtofn)(const char *, const char *, jobject, jobjectArray, const art::OatFile **, std::vector<std::string> *) = &OatFileManager::OpenDexFilesFromOat;
VLOG(class_linker) << "sunway: " << (void * &)ptrtofn;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment