Commit Graph

206 Commits

Author SHA1 Message Date
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
Fitblip 616d4b93fa Tweak setup.py to make frida-repl just frida from the command line. 2015-03-24 04:34:46 -07:00
Fitblip bc2d603e07 Ignore pycharm/jetbrains folder. 2015-03-24 04:30:07 -07:00
Fitblip a3cae6af98 Start work on magic methods (%paste, %run, %foo) and object inspector logic. 2015-03-24 04:18:12 -07:00
Fitblip 0d477f778b Add _synchronous_evaluate, tab completion, and some hacky nonsense in the JS component 2015-03-24 04:13:01 -07:00
Fitblip 9d51690ed7 New prompt and startup message :) 2015-03-24 04:09:59 -07:00
Fitblip 39fefd9be2 Detect OSX's shitty deadline impl and replace it with gnureadline 2015-03-24 04:04:31 -07:00
Ole André Vadla Ravnås ec2ec14325 Also handle log messages when no message handlers are attached 2015-03-22 21:21:11 +01:00
Ole André Vadla Ravnås c61264c6ac Merge pull request #20 from jgeralnik/master
Fix colorama/readline collision
2015-03-21 21:36:11 +01:00
Joey Geralnik e03b536234 Reset all colorama styles after use
This time I actually grepped instead of just guessing
2015-03-21 22:22:31 +02:00
Joey Geralnik 0154a87b87 Reset colorama style after use 2015-03-21 22:16:34 +02:00
Joey Geralnik af3df301ad Fix colorama/readline collision
Using autoreset=True in colorama's init function, causes it to wrap
stdin.
This is problematic because readline also messes with stdin, and
causes readline to stop working.

The solution is to simply not use autoreset=True, and then (at least
on non-windows platforms) stdin will not be wrapped
2015-03-21 21:42:15 +02:00
Ole André Vadla Ravnås 2054f92829 Fix crash on shutdown 2015-03-20 01:49:03 +01:00
Ole André Vadla Ravnås b0161bbe8f Bring back the module qualification changes 2015-03-19 17:30:06 +01:00
Ole André Vadla Ravnås ac7f3432e1 Rename Process -> Session and expose create_script()
Also follow the same naming conventions as in frida-node.
2015-03-19 16:40:31 +01:00
Ole André Vadla Ravnås 617814de3f Fix crash when running Tracer on Python 2.6 2015-03-10 00:32:23 +01:00
Ole André Vadla Ravnås c21dc07e52 Revert module qualification changes for now
Underlying implementation may have some issues on Linux; to be
investigated later.
2015-03-10 00:26:09 +01:00
Ole André Vadla Ravnås c800fe2cc2 Fix path escaping on Windows 2015-03-09 20:44:35 +01:00
Ole André Vadla Ravnås c4f2b9a04f Always qualify module with its full path in API calls 2015-03-09 19:12:26 +01:00
Ole André Vadla Ravnås 2bca48a0d9 Update generated comment regarding manpages
We now make use of manpages thanks to the awesome contributions by @Tyilo.
2015-03-08 15:45:39 +01:00
Ole André Vadla Ravnås 823e5997a3 Remove FAQ section as there's already a link to the website 2015-03-05 01:40:18 +01:00
Ole André Vadla Ravnås 8f36a51596 Improve the README 2015-03-05 01:22:21 +01:00
Ole André Vadla Ravnås 77d89e4b6d Safely unref the device list 2015-03-04 14:49:06 +01:00
Ole André Vadla Ravnås 9ea37121fb Merge pull request #18 from Tyilo/patch-1
Prevent detecting void as an argument in manpages
2015-03-03 01:10:02 +01:00
Asger Hautop Drewsen 8c67f93ca9 Prevent detecting void as an argument in manpages
Example: `man 2 getuid`
2015-03-03 01:04:17 +01:00
Ole André Vadla Ravnås daf1a31067 Merge pull request #17 from Tyilo/patch-1
Get args from manpages for auto-generated tracer
2015-03-02 17:25:21 +01:00
Asger Hautop Drewsen a0bb52fc0e Use os.devnull instead of subprocess.DEVNULL 2015-03-02 17:23:48 +01:00
Asger Hautop Drewsen 0fdc964480 Also catch OSError 2015-03-02 16:49:00 +01:00
Asger Hautop Drewsen cc016cb69f Get args from manpages for auto-generated tracer 2015-03-02 01:15:46 +01:00