Last active
June 27, 2019 15:10
-
-
Save hackf5/8c35a11a372518a46e6f323d5205e5a8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstddef> | |
#include "mono/metadata/metadata-internals.h" | |
int main() | |
{ | |
std::cout << "Domain Assemblies Offset: " | |
<< offsetof (_MonoDomain, domain_assemblies) << std::endl; | |
std::cout << "Class Cache Offset: " | |
<< offsetof (_MonoImage, class_cache) << std::endl; | |
} | |
// OUTPUT | |
// Domain Assemblies Offset: 108 | |
// Class Cache Offset: 852 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment