kubo/plthook

Failed to find symbol when using C# runtime.

ArtBlnd opened this issue · 2 comments

We have existing DLL that works on C++, C# both runtime.
and we wanted to hook on WSASocketW, WSASocketA but it works fine with C++ base but not working on C# base. (same DLL implementation, but loaded from another executable)
I can see there is WSASocket functions on C++ base using plthook_enum but C# one does not.

maybe there is difference between IAT mapping on .NET runtime?

kubo commented

Could you post sample code? I'm not familiar with C#.

I have lots of works left so I'll post it later ASAP