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

dlopen fails with 0 return value #35

Closed
an0 opened this issue Nov 26, 2017 · 2 comments
Closed

dlopen fails with 0 return value #35

an0 opened this issue Nov 26, 2017 · 2 comments

Comments

@an0
Copy link

an0 commented Nov 26, 2017

I'm trying it on macOS 10.13.1 with lldb-900.0.61:

  1. lldb app path
  2. break set -n NSApplicationMain
  3. run
  4. expr (void*)dlopen("/Users/an0/Library/Developer/Xcode/DerivedData/SSLKillSwitch-xxxj/Build/Products/Debug/SSLKillSwitch.framework/SSLKillSwitch", 1)

But I got (void *) $1 = 0x0000000000000000. What did I do wrong?

@malhal
Copy link
Contributor

malhal commented Jan 31, 2018

Enable code-signing, build for profiling, copy from the Release folder to the app's Resources. I added these instructions to the readme #38

@nabla-c0d3
Copy link
Owner

Thanks again =)

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

3 participants