Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use frida with C# #5

Open
salvadorc17 opened this issue Apr 15, 2016 · 12 comments
Open

How to use frida with C# #5

salvadorc17 opened this issue Apr 15, 2016 · 12 comments

Comments

@salvadorc17
Copy link

Hi i want to use frida with C# to create application that inject code into a game, but i was not able to run this app, it ask for missing assembly and i do have Frida.dll

@oleavr
Copy link
Member

oleavr commented Apr 16, 2016

Hi,

Is Frida.dll for the correct architecture? For example if you use the default of AnyCpu on a 64-bit system but have the 32-bit Frida.dll.

Cheers!

@salvadorc17
Copy link
Author

salvadorc17 commented Apr 17, 2016

Oh yes, that was seems the problem, but now i got BadImageFormat exception becuase cant start ddeviceManager = new DeviceManager(Dispatcher)

@salvadorc17
Copy link
Author

Also any other dll is needed (gumpp.dll ??))

@oleavr
Copy link
Member

oleavr commented Apr 18, 2016

Oh yes, that was seems the problem, but now i got BadImageFormat exception becuase cant start
ddeviceManager = new DeviceManager(Dispatcher)

Which Windows version are you trying this on? It should work fine on Windows 10, but I've heard of an issue on 7 (and possibly 8), which @riverar is looking into. (Seems to be a bug in Microsoft's CRT related to Thread-Local Storage callbacks in managed DLLs.)

@oleavr
Copy link
Member

oleavr commented Apr 18, 2016

Also any other dll is needed (gumpp.dll ??))

No, none.

@salvadorc17
Copy link
Author

Yes, im on Windows 7 64 bits, so no way to use it right now becuase that??

@riverar
Copy link
Contributor

riverar commented Apr 18, 2016

Sadly, the C# bindings are affected on Windows 7. You can either upgrade to a more modern OS or use the python/node bindings for now.

@Iquis
Copy link

Iquis commented Apr 20, 2018

No news about a fix for Windows7?

@D-4-N
Copy link

D-4-N commented May 23, 2019

@oleavr any updates on this?

@oleavr
Copy link
Member

oleavr commented May 23, 2019

@D-4-N Still waiting for someone to contribute their time to investigate. Might be fixed, though, now that we build GLib for each type of C-runtime, but I haven't checked.

@riverar
Copy link
Contributor

riverar commented May 23, 2019

@D-4-N I'd recommend opening a new issue to cover your case. Frida has changed significantly since this issue was opened years ago.

@D-4-N
Copy link

D-4-N commented May 23, 2019

@oleavr Looking forward to it
@riverar Will do, thank you

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

No branches or pull requests

5 participants