Commit Graph

184 Commits

Author SHA1 Message Date
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
Ole André Vadla Ravnås ef8145cdd4 Fix scoping of state meant to be shared across all handlers 2015-03-01 15:58:37 +01:00
Ole André Vadla Ravnås 59107bab70 Add support for the new log message type 2015-02-28 22:20:29 +01:00
Ole André Vadla Ravnås e180faadfb Improve REPL output formatting
- Omit output when the value is `undefined`.
- Display error output in bright red.
2015-02-28 22:19:59 +01:00
Ole André Vadla Ravnås e478924399 Add missing semi-colon after REPL expression 2015-02-28 22:18:19 +01:00
Ole André Vadla Ravnås f9f04a06c4 Update discoverer test to its new internal API 2015-02-28 20:41:05 +01:00
Ole André Vadla Ravnås a185995ca2 Fix regression in the discoverer's teardown logic 2015-02-28 20:40:46 +01:00
Ole André Vadla Ravnås eef56a495f Add frida.get_{usb,remote}_device() helpers 2015-02-28 16:19:32 +01:00
Ole André Vadla Ravnås a724a59484 Expose device.kill() at the root level for consistency 2015-02-28 16:17:31 +01:00
Ole André Vadla Ravnås 4a57344ddc Infer absolute path with drive letter on Windows 2015-02-23 00:05:08 +01:00
Ole André Vadla Ravnås 24b45d6d54 Fix Py3k regression 2015-02-22 04:08:53 +01:00
Ole André Vadla Ravnås 184bbae4ce Merge branch 'feature/spawn' 2015-02-22 03:57:44 +01:00
Ole André Vadla Ravnås 2aad47202f Add spawn support to frida-repl 2015-02-22 03:57:20 +01:00
Ole André Vadla Ravnås b6574f2ed4 Improve the spawn status and expose the argv 2015-02-22 03:57:00 +01:00
Ole André Vadla Ravnås db6aa5df75 Add spawn support to frida-discover and revise tracing approach
Stalker is quite memory-efficient these days, so there's no need to only
trace a few threads at a time.
2015-02-22 03:36:09 +01:00
Ole André Vadla Ravnås 65ccdf2673 Add spawn support to frida-trace 2015-02-22 03:36:08 +01:00
Ole André Vadla Ravnås 4d3d22f12e Add spawn support to ConsoleApplication 2015-02-22 03:36:08 +01:00
Ole André Vadla Ravnås be8bb74f93 Improve coding style consistency
Double-quotes for strings, single-quotes for enum values.
2015-02-22 03:36:00 +01:00
Ole André Vadla Ravnås 3bb3f55791 Always pass envp by using GLib's portable g_get_environ 2015-02-22 02:00:42 +01:00
Ole André Vadla Ravnås 2215f22a58 Add support for Device.kill() 2015-02-22 01:59:21 +01:00
Ole André Vadla Ravnås a5505f2b04 Improve Device.spawn() to also allow passing a sequence of strings 2015-02-22 01:58:25 +01:00
Ole André Vadla Ravnås d3e2b06439 Actually fix the substitution this time 2015-01-22 09:18:48 +08:00
Ole André Vadla Ravnås a8aa4339c7 Fix substitution of @PYTHON@ in the wrapper scripts 2015-01-22 09:06:26 +08:00