Commit Graph

214 Commits

Author SHA1 Message Date
Ole André Vadla Ravnås 806fff0df3 Fix discoverer regression
Fixes #42
2015-06-15 18:30:37 +02:00
Ole André Vadla Ravnås 4eba79d000 Fix REPL hang when target crashes during evaluation of expression 2015-06-15 18:30:11 +02:00
Ole André Vadla Ravnås b22a895ddd Ensure graceful teardown of the reactor thread 2015-06-15 18:29:08 +02:00
Ole André Vadla Ravnås ef670d8885 Retry select() on EINTR 2015-06-08 20:17:18 +02:00
Ole André Vadla Ravnås 0ec3b7f988 Fix fragile exception handling during manpage-extraction 2015-06-08 20:15:07 +02:00
Ole André Vadla Ravnås 3906f9e4aa Don't assume that kill() will always succeed 2015-06-08 18:05:08 +02:00
Ole André Vadla Ravnås 2afaa8b217 Switch tracer to waiting for Ctrl+C instead of Enter
It's useful to be able to add newlines while tracing.
2015-06-08 18:04:22 +02:00
Ole André Vadla Ravnås 8e6ac7c07c Do not turn the path to spawn into an absolute path
We cannot assume it's something local, and even locally we'd like to
support spawning by app identifier.
2015-06-08 17:28:26 +02:00
Asger Hautop Drewsen 1eb2e37dc7 Add prototype names to repl autocomplete 2015-06-08 14:14:37 +02:00
Ole André Vadla Ravnås f56958a374 Add support for listing applications 2015-06-07 23:57:33 +02:00
Ole André Vadla Ravnås 0efd212e35 Remove validation logic for the -f switch
We cannot assume this is happening locally.
2015-06-07 22:39:21 +02:00
Ole André Vadla Ravnås 476719a5dc Use is_running() accessor 2015-06-07 18:01:57 +02:00
Ole André Vadla Ravnås 72d91c53f5 Fix minor coding style inconsistency 2015-06-07 17:51:56 +02:00
Ole André Vadla Ravnås 7fe4fb11dc Add default value for on_stop when constructing Reactor 2015-06-07 17:51:47 +02:00
Ole André Vadla Ravnås 2692e8140b Use accessor for determining whether Reactor is still running 2015-06-07 17:50:51 +02:00
Ole André Vadla Ravnås 511e19ed3b Merge remote-tracking branch 'Tyilo/python-prompt-toolkit' 2015-06-07 17:17:59 +02:00
Asger Hautop Drewsen 9e292b8502 Fix some hanging issues with the repl 2015-06-04 18:55:10 +02:00
Ole André Vadla Ravnås 165ecf486e Remove kill shutdown hack 2015-06-04 14:57:42 +02:00
Ole André Vadla Ravnås a7144501a5 Merge pull request #36 from Tyilo/python-prompt-toolkit
Use prompt_toolkit instead of readline
2015-06-04 14:53:16 +02:00
Ole André Vadla Ravnås 53cb62e3b4 Fix isByteArray() for proxy objects 2015-06-04 14:50:01 +02:00
Asger Hautop Drewsen 5bc8c51a1e Remove the need for kill for frida-ps 2015-06-03 21:41:58 +02:00
Asger Hautop Drewsen f37ec87b2c Add prompt-toolkit and pygments to setup 2015-06-03 14:33:26 +02:00
Asger Hautop Drewsen a0aa783443 Use prompt_toolkit instead of readline 2015-06-03 14:24:35 +02:00
Ole André Vadla Ravnås e6479978d4 Add support for Application#pid 2015-06-02 14:46:22 +02:00
Ole André Vadla Ravnås bb0276e272 Fix the byte array sniffing to avoid false positives 2015-06-01 01:12:31 +02:00
Asger Hautop Drewsen d27dfef002 Glob support for tracing ObjC methods 2015-05-31 23:48:16 +02:00
Ole André Vadla Ravnås b480225c52 Use PySys_WriteStdout() when handling console.log()
Fixes #33.
2015-05-30 23:38:43 +02:00
Ole André Vadla Ravnås 861102d224 Fix tab completion regression 2015-05-30 23:31:02 +02:00
Ole André Vadla Ravnås 6b4e291cac Add enumerate_applications() to Device 2015-05-30 09:29:20 +02:00
Ole André Vadla Ravnås 89930d1720 Fix loading of scripts with early function declaration 2015-05-27 14:02:42 +02:00
Ole André Vadla Ravnås 40895d91e5 Fix creation of new variables in the REPL
Fixes frida/frida-gum#46.
2015-05-12 20:10:34 +02:00
Ole André Vadla Ravnås 703fddd9d5 Remove obsolete comment 2015-05-12 19:42:54 +02:00
Ole André Vadla Ravnås e8b811f326 Fix frida-repl on Windows 2015-05-10 12:46:12 +02:00
Ole André Vadla Ravnås 5a7e4abbb8 Update to the latest ObjC API 2015-05-07 21:39:23 +02:00
Ole André Vadla Ravnås f73923117a Simplify the ObjC include logic 2015-05-06 02:55:36 +02:00
Ole André Vadla Ravnås 370461e401 Fix Py3k regression 2015-05-06 00:01:33 +02:00
Ole André Vadla Ravnås a8c3cf882a Fix escaping of the resolver script 2015-05-05 23:33:21 +02:00
Ole André Vadla Ravnås b845b4a244 Remove the module property from the REPL scope
It's not really that useful now that `Process.enumerateModulesSync()` is
available.
2015-05-05 23:24:43 +02:00
Ole André Vadla Ravnås a44606278c Fix quotes in ProcessNotFoundError 2015-05-05 23:23:56 +02:00
Ole André Vadla Ravnås 9bf5f1ef89 Optimize function resolving by moving it to the target process
No matter how fast we make the exports enumeration we will still have to
transfer about 12 MB of data for a typical iOS app. Thus it is a better
idea to move the processing to the target app, as it'll take a lot less
time even if there might be limited processing power.
2015-05-05 23:23:00 +02:00
Ole André Vadla Ravnås 5df7bcc6db Fix Module._do_ensure_function() initialization logic 2015-05-05 20:18:46 +02:00
Ole André Vadla Ravnås d8f5f60cf8 Filter out non-function exports 2015-05-05 20:10:16 +02:00
Ole André Vadla Ravnås 2a8c41b4ba Combine all export enumerations into one request to save roundtrips 2015-05-04 01:05:24 +02:00
Ole André Vadla Ravnås bf883d4bcf Use a persistent session script to speed things up
For a typical frida-trace run on an iOS app the “Resolving functions”
step now finishes in half the time.
2015-05-04 00:37:39 +02:00
Ole André Vadla Ravnås baea2c3ab8 Fix trailing whitespace 2015-05-03 20:07:16 +02:00
B baf4a142aa Improved code style 2015-05-02 17:53:03 +02:00
B 80a4a98ae8 Using the -E switch only in case of GNU man 2015-05-02 16:47:48 +02:00
B 388c55a35b Forcing man encode its output 2015-05-02 15:06:58 +02:00
B 8a0ec3c268 Gracefully handling unicode errors 2015-05-02 13:32:34 +02:00
Ole André Vadla Ravnås 80e2ea31d0 Add frida.TransportError 2015-04-30 03:08:56 +02:00