Commit Graph

130 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 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
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 77d89e4b6d Safely unref the device list 2015-03-04 14:49:06 +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
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 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 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 6b84ceadd5 Invoke the correct Python interpreter in the wrapper scripts 2015-01-22 08:45:21 +08:00
Ole André Vadla Ravnås e97953d730 Fix shutdown race conditions by updating to the new core API 2014-10-28 13:36:24 +01:00
Ole André Vadla Ravnås bf68ffebf5 Fix this binding for onEnter and onLeave callbacks 2014-10-25 21:10:15 +02:00
Ole André Vadla Ravnås e153de908c Fix the setup.py license field 2014-07-26 18:39:56 +02:00
Ole André Vadla Ravnås eafb5a4b43 Display some troubleshooting tips when the _frida import fails 2014-07-24 22:05:36 +02:00
Ole André Vadla Ravnås b9422139d2 Bring back the reverted changes under the new license
This reverts commit 05e3e91902.
2014-07-11 00:08:10 +02:00
Ole André Vadla Ravnås 3868d5b19c Update license details in setup.py 2014-07-10 23:48:09 +02:00
Ole André Vadla Ravnås dae01d8d6b Change license to wxWindows Library Licence
This is essentially the LGPL, with an exception stating that derived
works in binary form may be distributed on the user's own terms.
This is a solution that satisfies those who wish to produce GPL'ed
software using Frida, and also those producing proprietary software.
2014-07-10 23:34:50 +02:00
Ole André Vadla Ravnås 05e3e91902 Revert changes that cannot be relicensed just yet
Pending feedback from copyright holder.
2014-07-10 23:32:40 +02:00