Commit Graph

401 Commits

Author SHA1 Message Date
Ole André Vadla Ravnås 4989a997b2 Fix assertion usage in implementation vs test code
Implementation code should never use g_assert_cmp*(), and test code
should never use g_assert().
2019-04-12 22:30:21 +02:00
Ole André Vadla Ravnås 6b81b45420 Add Crash summary 2019-02-04 14:26:39 +01:00
Ole André Vadla Ravnås 5e8cd65665 Add support for the new crash reporting APIs 2019-01-29 00:01:42 +01:00
Ole André Vadla Ravnås 2ed895b881 Add support for the new eternalize() API 2018-09-17 22:15:27 +02:00
Ole André Vadla Ravnås 6f914eb268 Disable assertions and checks in production builds 2018-08-21 20:12:49 +02:00
Ole André Vadla Ravnås b3e7b5b792 Improve spawn() to support unicode aux options
On Python 2.x.
2018-07-26 00:45:16 +02:00
Ole André Vadla Ravnås b615a25e14 Remove dangling subdir reference 2018-07-11 00:59:29 +02:00
Ole André Vadla Ravnås 72899a4315 Drop convenience APIs and split out tools (#142)
Most use-cases will need to use some JS API that we're not bridging, so
it's better to keep our bindings simple.

It has also become clear that our CLI tools should be split out so Frida-based
tools don't have to depend on colorama, prompt_toolkit, and pygments.
2018-07-10 20:08:56 +02:00
Hugo 4fcb17c450 Only declare support for maintained Python versions (#140) 2018-06-29 01:00:29 +02:00
Hugo 0fb0e9d90c Show long description with Markdown on PyPI (#139) 2018-06-29 00:59:20 +02:00
Ole André Vadla Ravnås 86c95ac59a Update to the new core API 2018-06-29 00:44:00 +02:00
Moritz cf4033d906 Fix crash when tracer scripts send() arbitrary data (#138) 2018-06-06 15:19:59 +02:00
Ole André Vadla Ravnås 0c011ef984 Fix deadlock on interpreter shutdown
Caused by trying to acquire the GIL from a different thread while the
interpreter is shutting down, which typically happens because a Script's
`destroyed` signal is emitted.
2018-06-04 23:57:55 +02:00
Ole André Vadla Ravnås 86e52547a6 Add upper bounds to the dependency version specs 2018-06-03 14:46:38 +02:00
Ole André Vadla Ravnås d88bd6aa2f Revert "Bump requirements"
To make packaging easier.

This reverts commit 928ff2a797.
2018-06-01 18:32:29 +02:00
Ole André Vadla Ravnås 928ff2a797 Bump requirements 2018-06-01 05:09:45 +02:00
Ole André Vadla Ravnås ca93d07fce Update website URL in the metadata 2018-06-01 05:09:21 +02:00
Ole André Vadla Ravnås ddbff97300 Fix the spawn() program vs argv detection logic 2018-05-05 04:47:30 +02:00
Ole André Vadla Ravnås b3f18c9f44 Plug leak of envp dict value 2018-05-05 04:39:18 +02:00
Ole André Vadla Ravnås 235982b9a0 Represent envp-style values as dicts instead of lists 2018-05-05 04:32:45 +02:00
Ole André Vadla Ravnås b5acc6130c Fix regressions on Py3k 2018-05-05 03:57:58 +02:00
Ole André Vadla Ravnås 490fbf20b8 Update to the new core API 2018-05-05 03:25:14 +02:00
Ole André Vadla Ravnås 6198056a9b Avoid duplicating defaults for stdio and aslr 2018-05-03 02:31:37 +02:00
Ole André Vadla Ravnås 1d58c1c9d0 Tweak style of frida.Child's __repr__ implementation 2018-05-03 00:09:49 +02:00
Ole André Vadla Ravnås 8c989b2ec7 Update to the new core API 2018-05-03 00:05:25 +02:00
Ole André Vadla Ravnås b335d86fd5 Update to the new core API 2018-05-02 02:57:41 +02:00
Ole André Vadla Ravnås 72ae80b154 Fix disable_spawn_gating() 2018-05-01 04:10:47 +02:00
Ole André Vadla Ravnås c539822cce Replace flush-before-exit logic with rpc.exports.dispose() 2018-04-27 21:52:05 +02:00
Ole André Vadla Ravnås 7ce4450c00 Add support for the new child gating API 2018-04-26 20:14:22 +02:00
Ole André Vadla Ravnås b39254fe4f Remove redundant/confusing return statements 2018-04-26 20:13:14 +02:00
Ole André Vadla Ravnås 2a583e9b30 Handle Ctrl+C the same way without a terminal 2018-03-15 15:19:59 +01:00
Ole André Vadla Ravnås 25bc4184f0 Fix teardown when running without a terminal
Instead of waiting indefinitely for a line to arrive on stdin.
2018-03-15 14:42:15 +01:00
Ole André Vadla Ravnås 6dbf4bd283 Only adjust cursor position when we have a terminal 2018-03-15 14:31:18 +01:00
Ole André Vadla Ravnås 47f491c6b9 Tweak tagline to match website 2018-02-04 19:49:14 +01:00
Ole André Vadla Ravnås 3d4b1eee34 Improve the manpage parsing
Get a clean extract of the type and strip restrict modifiers.
2017-10-24 15:39:12 +02:00
otadmor d0876088a1 Respect TERM=dumb and fix call to get_input() (#127) 2017-10-24 00:01:51 +02:00
DanielKluev d8e2e049c5 Add DebugSymbol resolver to frida-trace (#126) 2017-10-18 16:28:06 +02:00
Ole André Vadla Ravnås 759fa47f5e Switch generated JavaScript to two space indentation
As this is more common for JS code.
2017-10-10 15:37:57 +02:00
douniwan5788 d11bdc96ca Improve manpage parser regexp
Modify the manpage parser regexp to support C Library Functions and BSD
style manpages.

Also improve the Objective-C output while at it.
2017-10-10 15:34:44 +02:00
John Coates dbb0704f2c Handle unicode decoding errors with replacing (#123) 2017-09-26 12:43:56 +02:00
Dylan K. Taylor b6d675e948 Fix TypeError when reading console input on Windows (#120) 2017-08-10 13:09:46 +02:00
Ole André Vadla Ravnås f2a6d6d08c Shorten the REPL prompt a bit 2017-07-30 18:57:52 +02:00
Ole André Vadla Ravnås 41276c896b Fix and simplify CodeShare decoding logic
No time to investigate this right now, so this will do for now.
2017-07-29 17:39:06 +02:00
Ole André Vadla Ravnås 7659b8d70a Fix CodeShare integration on Py3k < 3.6
We should decode the REST API response and not rely on json.loads()
accepting `bytes`, which it does starting with 3.6.

Thanks to @sdroege for reporting!
2017-07-29 17:24:09 +02:00
Fitblip 7859a2c0e6 Fix small bug in prompting for codeshare (#119) 2017-07-28 20:52:46 +02:00
Ole André Vadla Ravnås ccfb0ccd5e Wait a bit longer before displaying “waiting for device” 2017-07-27 00:33:59 +02:00
Ole André Vadla Ravnås 346a2b2068 Fix REPL behavior when running with non-TTY stdio streams
Also keep running even if stdin is closed, to allow use in scripts
that run the REPL in the background.
2017-07-27 00:12:44 +02:00
Ole André Vadla Ravnås 6379dbc16b Stop on SIGTERM 2017-07-27 00:10:47 +02:00
Ole André Vadla Ravnås 5e4299d000 Load codeshare script early to avoid stdin conflicts 2017-07-12 14:41:12 +02:00
Ole André Vadla Ravnås c5943bf156 Move history file to ~/.frida/history 2017-07-12 14:21:40 +02:00