spacehamster
spacehamster
I was going to suggest trying to use -executeMethod to trigger the main thread to somehow call into `TypeTreeDumper.Client` to get it running on the main thread, but if EasyHook...
Hmm, I wonder if dbghelp.dll has the same issue. The thread issue probably isn't big enough problem to switch over even if it doesn't.
> The AfterEverythingLoaded callback might actually be running on the main thread too, so it's worth experimenting with running more code in that. Edit: I tried printing the result of...
Regarding the export stall with Unity 5.6.7, I created a c++ dumper to help with debugging https://github.com/spacehamster/NativeTypeTreeDumper. When using TypeTreeDumper, the editor log doesn't have a stacktrace, while the c++...
I'm looking at how to handle STL strings for versions 5.4 and lower. basic_string::c_str has a slightly different signature in each version. 5.4: ``` PublicSymbol: [0000EAB0][0001:0000DAB0] ?c_str@?$basic_string@DU?$char_traits@D@std@@V?$stl_allocator@D$0EC@$0BA@@@@std@@QEBAPEBDXZ public: char const...
This line doesn't print out the exception https://github.com/DaZombieKiller/TypeTreeDumper/blob/fe16fd931a4d78331fa8a5de180cd9ae9e045592/TypeTreeDumper.Client/EntryPoint.cs#L80 but if you change it to `Console.Error.WriteLine(ex.ToString());`, it does. i'm not sure why that would be the case
I just add `throw new UnresolvedSymbolException("Missing Symbol Name Here");` to the top of ExecuteDumper like this ```csharp void ExecuteDumper() { throw new UnresolvedSymbolException("Missing Symbol Name Here"); var GetUnityVersion = resolver.ResolveFunction("?GameEngineVersion@PlatformWrapper@UnityEngine@@SAPEBDXZ");...
Do you know why it effects UnresolvedSymbolException but not System.Exception?
Remote hooking Unity 4.7 doesn't work, a blank console pops up and nothing happens. I'm guessing it is because it is a 32 bit app? I believe 5.0 onwards are...
WIth Unity 4.7, ClassIDToRTTI always returns null. I've not been able to figure out why. Also, side note, AfterEverythingLoaded was changed to a __thiscall in 4.7.