Ole André Vadla Ravnås
c6429f0610
Fix marshalling of NULL string signal arguments
2017-01-13 05:51:50 +01:00
Ole André Vadla Ravnås
95666a14c7
Fix warnings reported by MSVC
2017-01-13 05:36:08 +01:00
Ole André Vadla Ravnås
9ab2b14f55
Fix Python 2.x regression
2017-01-13 04:46:31 +01:00
Ole André Vadla Ravnås
cfc8964c9d
Fix regressions and warnings on Py3k
2017-01-13 04:39:37 +01:00
Ole André Vadla Ravnås
fa7380492e
Add test coverage for detach mid-request
2017-01-13 03:38:17 +01:00
Ole André Vadla Ravnås
2b0b0ebc61
Merge pull request #101 from frida/fix/rpc-deadlocks
...
Fix RPC deadlocks
2017-01-13 03:33:23 +01:00
Ole André Vadla Ravnås
914d931e2b
Fix RPC deadlock if Script is destroyed mid-request
2017-01-13 03:32:45 +01:00
Ole André Vadla Ravnås
c7ae43e531
Refactor to enable automatic signal bindings
...
This gives us the Script#destroyed signal which we need for solving
the RPC deadlock. It also gets rid of technical debt where a ton of
duplicated error-prone code was required per signal binding. There was
even a bug where every single one was unreffing the wrong Python object.
Oops.
2017-01-13 03:30:13 +01:00
Ole André Vadla Ravnås
854a24a843
Add an example covering the detached signal
2017-01-11 03:50:46 +01:00
Ole André Vadla Ravnås
7663a5096a
Add support for the reason argument of Session#detached
2017-01-11 03:50:20 +01:00
Ole André Vadla Ravnås
9c876f457c
Enable JIT to be able to use the Stalker API
2017-01-08 22:58:13 +01:00
Ole André Vadla Ravnås
6e80688d17
Update to the new JIT toggling API
2017-01-08 21:37:50 +01:00
Ole André Vadla Ravnås
89340c1526
Move logfile functionality to the REPL as intended
2017-01-08 18:47:36 +01:00
r-e-l-z
593bba3ab8
Add option to write all REPL prints to a logfile ( #100 )
2017-01-08 18:27:03 +01:00
Ole André Vadla Ravnås
3ddd672791
Fix tests when running without stdin attached
2016-12-22 21:34:59 +01:00
Ole André Vadla Ravnås
217f12e7da
Update description
2016-12-14 23:58:18 +01:00
Ole André Vadla Ravnås
34b853b5c1
Improve the library injection examples
2016-11-27 22:12:24 +01:00
Ole André Vadla Ravnås
4d963f3a97
Add library injection examples
2016-11-27 22:07:04 +01:00
Ole André Vadla Ravnås
b4d4cced4b
Expose the new library injection APIs of Device
2016-11-27 22:04:00 +01:00
Ole André Vadla Ravnås
2827307c97
Fix warning reported by MSVC
2016-11-17 15:33:49 +01:00
Ole André Vadla Ravnås
6b7c581a00
Disable LTCG on Windows
2016-11-14 00:31:31 +01:00
Ole André Vadla Ravnås
9c0430cf91
Fix build regression on Py3k
...
Turns out `PyObject_Compare()` is legacy and we should be using
`PyObject_RichCompareBool()` instead.
2016-10-26 21:05:56 +02:00
bsharet
ae1705cada
Compare signal callbacks as PyObjects and not as pointers ( #92 )
...
This fixes a bug that `ValueError` is raised when `off()` is called on an
instance method and not a simple Python function.
2016-10-26 15:40:09 +02:00
Ole André Vadla Ravnås
b30a07ad10
Add batch mode support to the REPL
...
Fixes #89 (-e) and also fixes #90 (-q).
2016-10-23 00:05:18 +02:00
Ole André Vadla Ravnås
51a1035a7a
Add a quiet mode to ConsoleApplication
2016-10-23 00:03:46 +02:00
Ole André Vadla Ravnås
8ca9c0abb7
Update to the new 8.x API
2016-09-30 20:37:57 +02:00
Ole André Vadla Ravnås
4afd9debd4
Add support for the new bytecode APIs
2016-06-02 23:00:18 +02:00
Ole André Vadla Ravnås
364c5803aa
Add a tiny RPC example
2016-06-02 14:44:34 +02:00
Ole André Vadla Ravnås
315b159c60
Update to the revised RPC protocol
...
This isn't a breaking change as the extended error details haven't yet
made it into a release.
2016-06-02 14:43:46 +02:00
Ole André Vadla Ravnås
19a8ea1fd3
Include stacktrace in RPC exception when available
2016-06-02 14:28:33 +02:00
Jeroen Beckers
967b088021
Move --no-pause to repl.py ( #83 )
2016-05-27 23:44:44 +02:00
Jeroen Beckers
b17a838da9
Add ability to not pause at startup ( #82 )
2016-05-27 17:20:45 +02:00
Ole André Vadla Ravnås
d51a1d1016
Merge pull request #80 from frida/feature/repl-watch-loaded-script
...
Watch loaded script
2016-05-18 23:16:58 +02:00
Ole André Vadla Ravnås
9344d0cd40
Remove the -w/--watch switch and watch regardless
2016-05-18 23:09:28 +02:00
Ole André Vadla Ravnås
f66ede5ac0
Improve watch behavior
...
- Start monitoring the file before loading it
- Only recreate the monitor when the user script's path changes
- Ignore `changes-done-hint`
2016-05-18 23:01:28 +02:00
s1341
7edae5713c
Do file monitoring in load_script
2016-05-18 13:21:53 -04:00
s1341
55234da50f
Get rid of abspath; Guard against --watch without user script
2016-05-18 13:08:40 -04:00
s1341
40e6fd8de0
Monitor the userscript file, not the directory
2016-05-18 13:08:40 -04:00
s1341
5ee50c6de1
Implement --watch for repl
2016-05-18 13:08:40 -04:00
Ole André Vadla Ravnås
1c70adb09a
Assume that the level field is always provided
...
This protocol addition happened in a previous major release, so we no
longer need to handle it being absent.
2016-05-18 17:39:45 +02:00
Ole André Vadla Ravnås
287b87947d
Fix handling of unicode command-line arguments on Python 2.x
2016-05-13 22:32:16 +02:00
Ole André Vadla Ravnås
8d302c74fb
Make the hard-coded Python 2.7 path consistent with the 3.5 path
2016-05-09 02:30:01 +02:00
Ole André Vadla Ravnås
38003433c8
Upgrade to VS2015
2016-05-08 23:50:08 -07:00
Ole André Vadla Ravnås
552dd5e7d7
Fix the local fallback and look in home directory instead
2016-04-25 22:18:40 +02:00
Ole André Vadla Ravnås
c188bbf622
Improve the setup.py download fallback
...
- Try local fallback no matter which network call fails.
- Allow the extension inside the .egg to have a slightly different name.
2016-04-25 21:51:57 +02:00
Ole André Vadla Ravnås
207d711e07
Fix setup.py download fallback
...
We now make use of the PyPI API to find the download URL instead of making
assumptions about their URL scheme, as it may change at any time.
2016-04-25 20:20:54 +02:00
Ole André Vadla Ravnås
ea92298e45
Merge pull request #77 from 0xItx/master
...
Improve REPL autocompletion
2016-04-19 16:46:33 +02:00
Itay R
9ce85bb563
Improve REPL autocompletion
...
- case insensitive
- any substring will trigger a match
2016-04-19 16:57:18 +03:00
Ole André Vadla Ravnås
b48d3fcdef
Flush queued events before exiting
2016-04-15 15:38:00 +02:00
Ole André Vadla Ravnås
375e2fee79
Fix crash on EOF
2016-04-15 15:32:18 +02:00