Commit Graph

234 Commits

Author SHA1 Message Date
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
Ole André Vadla Ravnås cb09ad9f5d Merge pull request #31 from v-p-b/master
Improve unicode handling in man-page parsing logic
2015-05-03 14:51:15 +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
Ole André Vadla Ravnås 33fee44cdb Warn if gnureadline isn't available when running on Darwin 2015-04-29 23:05:56 +02:00
Ole André Vadla Ravnås 34db27cd1d Make use of the errordomain API exposed by frida-core 2015-04-28 23:38:29 +02:00
Ole André Vadla Ravnås e47a6cf140 Fix handling of binary data 2015-04-27 00:40:20 +02:00
Ole André Vadla Ravnås c2a26de306 Remove support for spawn(command_line)
The `spawn(argv)` API is better and leads to less confusion.
2015-04-23 02:17:32 +02:00
Ole André Vadla Ravnås 426c18f6ce Generate a unique name for every REPL script created
This is to avoid confusing the debugger.
2015-04-19 00:55:19 +02:00
Ole André Vadla Ravnås 6e1add127a Improve the REPL prompt 2015-04-18 22:19:08 +02:00
Ole André Vadla Ravnås 7df3bf28ee Fix CLI tools without a target process 2015-04-18 22:12:17 +02:00
Ole André Vadla Ravnås 592056c7e8 Rename the REPL -r/--run switch to -l/--load 2015-04-18 20:32:02 +02:00
Ole André Vadla Ravnås ff30d6dd98 Improve REPL to support loading, reloading and unloading a user script 2015-04-18 20:15:31 +02:00
Ole André Vadla Ravnås b6eb90ba3b Improve error message when spawning fails 2015-04-18 19:54:29 +02:00
Ole André Vadla Ravnås 04aef5eca2 Fix the REPL expression help logic 2015-04-18 19:10:44 +02:00
Ole André Vadla Ravnås 402328c505 Refactor the REPL to prepare for new features 2015-04-18 17:33:32 +02:00
Ole André Vadla Ravnås 735fee39ef Improve the REPL progress feedback 2015-04-18 01:18:28 +02:00
Ole André Vadla Ravnås 5215368e8c Add --debug switch to console scripts
This enables the Node.js compatible debugger on port 5858.
2015-04-18 01:18:11 +02:00
Ole André Vadla Ravnås d4c1aa5d16 Add --version support to the console scripts 2015-04-18 00:46:37 +02:00
Ole André Vadla Ravnås cba2fc854d Update gitignore 2015-04-18 00:41:57 +02:00
Ole André Vadla Ravnås ae99674c6d Fix installation of the frida tool
There was a conflict between the directory and the tool with the same name.
2015-04-18 00:39:12 +02:00
Ole André Vadla Ravnås 67cfbebb34 Fix remaining frida-repl -> frida renames 2015-04-17 23:08:40 +02:00
Ole André Vadla Ravnås 3676b4e797 Fix warning reported by MSVC 2015-04-17 23:04:45 +02:00
Ole André Vadla Ravnås 9066c55a32 Use the actual version string in the REPL startup message 2015-04-17 22:19:51 +02:00
Ole André Vadla Ravnås 3fe86b99d9 Add frida.__version__ constant 2015-04-17 22:17:05 +02:00
Ole André Vadla Ravnås 3f8bd009ca Name all scripts created internally 2015-04-16 02:46:14 +02:00
Ole André Vadla Ravnås e0ea561f51 Fix spawn() argument parsing when passing a string 2015-04-16 02:23:03 +02:00
Ole André Vadla Ravnås cb45b607fc Fix inconsistent coding style 2015-04-14 21:29:48 +02:00
Ole André Vadla Ravnås e9cb1b7890 Fix handling of optional arguments 2015-04-14 21:29:39 +02:00
Ole André Vadla Ravnås 8ca3c47aee Add enable_debugger() and disable_debugger() to Session
The underlying implementation defaults to port 5858, which is the
default Node.js debugger port. Pass the `port` keyword argument to
override it:

```python
session.enable_debugger(port=1337)
```
2015-04-14 20:02:33 +02:00
Ole André Vadla Ravnås 1104a011c5 Fix the __getattr__ chaining 2015-04-14 20:00:33 +02:00
Ole André Vadla Ravnås dc67d62923 Merge pull request #25 from Tyilo/trace-objc
Implement tracing ObjC methods with frida-trace
2015-04-12 02:48:00 +02:00
Asger Hautop Drewsen e7a83297c5 Implement tracing ObjC methods with frida-trace 2015-04-12 02:46:48 +02:00
Ole André Vadla Ravnås 643a0a0dfe Add support for naming scripts 2015-04-10 00:00:29 +02:00
Ole André Vadla Ravnås 496408800f Switch to the XP toolset 2015-04-03 15:34:05 +02:00
Ole André Vadla Ravnås b29f32399b Merge pull request #24 from Tyilo/history-fix
Fix duplicate readline history in repl
2015-03-29 16:11:38 +02:00
Asger Hautop Drewsen 6bd33b813e Fix duplicate readline history in repl 2015-03-29 15:49:13 +02:00
Ole André Vadla Ravnås 91dbde5ed3 Merge pull request #23 from Tyilo/repl-hist
Save the repl's history in ~/.frida_history
2015-03-29 15:40:32 +02:00
Asger Hautop Drewsen e3c8d66260 Save the repl's history in ~/.frida_history 2015-03-29 15:35:54 +02:00
Ole André Vadla Ravnås 0160426534 Only import readline once 2015-03-29 05:12:54 +02:00
Ole André Vadla Ravnås 27372807d4 Merge pull request #22 from Tyilo/py3-print
Fix repl for python3
2015-03-29 04:35:50 +02:00
Asger Hautop Drewsen 0fb95a2bd6 Fix repl for python3 2015-03-29 04:33:53 +02:00
Ole André Vadla Ravnås 716fe380b3 Merge pull request #21 from Fitblip/master
CLI improvements.
2015-03-29 01:22:21 +01:00