Skip to content

Conversation

@SlynxCZ
Copy link
Contributor

@SlynxCZ SlynxCZ commented Oct 21, 2025

Hi, this is fix of FindVirtualTable method exposed to NativeAPI, Issue was that I accidentally used method from CModule to fetch vtable. I trought this method works same as DynLibUtils GetVirtualTableByName (nope it didnt :D). Method from CModule did gave pointer to vtables RTTI, this is wrong, it should give vtable entrypoint, as getting entrypoint from RTTI in C# is painful and sometimes caused me crashes when debugging with AcceleratorCSS. This is now fixed thanks to 2 new helper methods in memory.cpp👍

@SlynxCZ SlynxCZ requested a review from roflmuffin as a code owner October 21, 2025 13:27
@SlynxCZ SlynxCZ changed the title FindVirtualTable method fix Fix: FindVirtualTable gives RTII instead of entrypoint Oct 21, 2025
@SlynxCZ SlynxCZ changed the title Fix: FindVirtualTable gives RTII instead of entrypoint Fix: FindVirtualTable gives RTTI instead of entrypoint Oct 21, 2025
@SlynxCZ
Copy link
Contributor Author

SlynxCZ commented Oct 23, 2025

Yeah and double checked, before logic was correct. Thank you for correcting me @Poggicek !

@SlynxCZ SlynxCZ closed this Oct 23, 2025
@SlynxCZ SlynxCZ reopened this Oct 23, 2025
@SlynxCZ
Copy link
Contributor Author

SlynxCZ commented Oct 23, 2025

Then I will create one more commit that fixes hash naming for API. That is all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants