-
Notifications
You must be signed in to change notification settings - Fork 14
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
Build a crate as cdylib #68
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like to be able to build the target crate as a cdylib (shared library).That's a bit specific use case but I'm trying an integration test for https://github.com/dzervas/frida-deepfreeze-rs.
My usecase is that I want to test both library injection and library proxying. So:
I want to build a binary (
tests/mybin
) that depends on a shared library (tests/mylib
). I want to make sure that:libfrida-deepfreeze-rs.so
tomybin
(e.g.LD_PRELOAD
orrundll32.exe
) its code is going to runlibmylib.so
tolibmylib-orig.so
andlibfrida-deepfreeze-rs.so
tolibmylib.so
code is going to run and that the originalmylib
functions are working correctlyDoes
cdylib
compilation need to be somehow implemented in escargot? Or maybe you have another good solution?The text was updated successfully, but these errors were encountered: