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
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
b9bdde5a08
Update left-over Windows build system references from 3.3 to 3.4
2014-08-24 23:17:37 +02:00
Ole André Vadla Ravnås
e67895a26e
Upgrade Python 3.x MSVS project to target 3.4
2014-08-24 17:19:46 +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
Ole André Vadla Ravnås
a8ac19d438
Fix frida-repl on Windows by making readline a soft-dependency
2014-05-14 19:53:18 +02:00
Ole André Vadla Ravnås
b8be9709d5
Revert "Make use of new Python InstallPath properties"
...
This reverts commit 05a731352d .
Build machine issues. Needs further investigation.
2014-05-14 01:33:08 +02:00
Ole André Vadla Ravnås
db6a80d09a
Update setup.py metadata
2014-05-14 01:20:05 +02:00
Ole André Vadla Ravnås
96c0c0be83
Only append CRC32 to filename when the function name is truncated
2014-05-14 00:54:23 +02:00
Ole André Vadla Ravnås
05a731352d
Make use of new Python InstallPath properties
...
Fixes #11
2014-05-14 00:20:38 +02:00
Ole André Vadla Ravnås
5568a08b0b
Merge pull request #10 from guillaume-uH57J9/master
...
Limit tracer.FileRepository filename length
Fixes #9
2014-05-13 01:15:22 +02:00
guillaume-uH57J9
0f8f975889
limit tracer.FileRepository filename length, fix #9
...
Fix issue #9 - https://github.com/frida/frida-python/issues/9
This limits the handler filename to 42 characters.
Function name (truncated to 32) + "_" (1) + CRC32 (8) + ".js" (3)
I could have checked the PATH again Windows path limit (260) and truncating dynamically based on the actual path length.
But that's a bad idea because the full path may change (ie parent directory is renamed, moved, zip/unzipped), and then the Frida wouldn't be able to find handlers with long names again.
Arguably the simplest & more efficient solution is truncating all to 32 characters, and adding a CRC32 to makes sure we avoid collision.
Of course, the truncating is applied regardless of the actual platform (Windows vs Mac vs Linux) so that things still works when copying handlers on another machine.
Pro:
- Fixes issue #9 on Windows
- Shorter filenames
- Prevent collision thanks to CRC32, even if the function name is truncated
Cons:
- Long function name doesn't appear in full in the filenames
2014-05-13 00:52:08 +02:00
Ole André Vadla Ravnås
c5e08bd085
Remove unused Visual Studio project
2014-05-09 22:39:13 +02:00
Ole André Vadla Ravnås
23c4e6777e
Update Windows build system to match new frida-build-env layout
2014-05-09 22:38:43 +02:00
Ole André Vadla Ravnås
6c3d5130cd
Add -R option for connecting to a remote device
2014-05-04 01:21:14 +02:00
Ole André Vadla Ravnås
5fb023c82c
Fix filename generation by replacing unsafe characters with underscores
...
Fixes #5 (Also fixes #8 which is a duplicate).
2014-04-17 13:04:51 +02:00
Ole André Vadla Ravnås
87dde64dd0
Upgrade to VS2013
2014-02-23 22:09:18 +01:00
Ole André Vadla Ravnås
a1bb2dd22c
Update Windows build system
2014-02-16 00:00:10 +01:00
Ole André Vadla Ravnås
c1629135bb
Improve REPL multi-line behavior
2014-02-15 23:51:57 +01:00
Ole André Vadla Ravnås
cbb386d560
Add a very basic REPL
2014-02-08 02:33:17 +01:00
Ole André Vadla Ravnås
2f55aa34c5
Allow passing run_until_return to the ConsoleApplication reactor
2014-02-08 02:32:06 +01:00