Skip to content

Instantly share code, notes, and snippets.

@SomeoneWeird
Created August 5, 2015 11:42
Show Gist options
  • Save SomeoneWeird/b6b15027c1382c9d53d3 to your computer and use it in GitHub Desktop.
Save SomeoneWeird/b6b15027c1382c9d53d3 to your computer and use it in GitHub Desktop.
➜ frida-node git:(nan-broken) ✗ lldb node -e "require('./').getLocalDevice()"
(lldb) target create "node"
Current executable set to 'node' (x86_64).
(lldb) settings set -- target.run-args "require('./').getLocalDevice()"
(lldb) r
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `PATH="/Users/adam/code/frida/frida-node:/Users/adam/.nvm/versions/io.js/v2.5.0/bin:/usr/local/gcc-arm-none-eabi-4_9-2014q4/bin:/usr/local/opt/llvm/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" exec /usr/bin/arch -arch x86_64 node require(\'./\').getLocalDevice()'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment