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
Ole André Vadla Ravnås
2f982528f2
Update JavaScript API reference URL
2014-01-26 20:16:31 +01:00
Ole André Vadla Ravnås
54f531e242
Update cpushark example to the new API
2014-01-25 23:38:19 +01:00
Ole André Vadla Ravnås
128d3edadc
Fix py3k linking issue on Linux
...
We now try the ${PYTHON_PREFIX}/lib directory first as it is more
likely to have the shared library also, and not just the static one.
2014-01-25 19:00:25 +01:00
Ole André Vadla Ravnås
285175ff11
Update to the new script API
2014-01-25 00:05:01 +01:00
Karl Trygve Kalleberg
9ccb5b7e67
Merge branch 'master' of github.com:frida/frida-python
...
Conflicts:
configure.ac
2014-01-22 22:40:04 +01:00
Karl Trygve Kalleberg
e67e9d18f7
Simplify the computation of the actual libpython3, so that things work on Linux again
2014-01-22 22:39:03 +01:00
Ole André Vadla Ravnås
8a0131a1ab
Handle process enumeration failing
2014-01-12 23:36:50 +01:00
Ole André Vadla Ravnås
1f095b57ca
Add new files to build system
2014-01-12 23:36:37 +01:00
Ole André Vadla Ravnås
097d253e03
Improve help options
2014-01-12 23:36:26 +01:00
Ole André Vadla Ravnås
f43d4a0dd7
Merge pull request #6 from pmorici/master
...
Add -a option to specify function by address
2014-01-12 13:59:08 -08:00
Pete Morici
d31016ad4e
Added -a option, specify function by address
...
Added -a option to tracer app to specify function by address relative to
containing module. syntax is as follows <module>!<address>
2014-01-12 16:35:54 -05:00
Ole André Vadla Ravnås
0f8a971358
Add a little ps tool for enumerating processes on the desired device
2014-01-12 18:49:02 +01:00