Commit Graph

104 Commits

Author SHA1 Message Date
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
Ole André Vadla Ravnås 5f2d38ed08 Use ConsoleApplication for discoverer and tracer 2014-01-12 18:49:02 +01:00
Ole André Vadla Ravnås 6284b97c37 Factor out console application logic into a helper class
This introduces the -U/--usb switch for using a USB-tethered device instead
of the local system. Only iOS devices are supported for now (PR for completing
Android support in frida-core is most appreciated!).
2014-01-12 18:46:53 +01:00
Ole André Vadla Ravnås 6253921ca4 Update README with content from website 2014-01-12 18:39:54 +01:00
Ole André Vadla Ravnås da7bdd50af Fix ordering of imports 2014-01-11 20:38:24 +01:00
Ole André Vadla Ravnås 16b2cbe705 Add COPYING and change license to LGPLv2+ 2014-01-11 20:37:07 +01:00
Ole André Vadla Ravnås c36edceda7 Revert back to manually detecting python flags
Using python-config comes with its own set of problems. Ick.

Reverts:
99db513e54
2d403eb3fd
2014-01-11 20:10:50 +01:00
Ole André Vadla Ravnås 99db513e54 Fix build regression on Mac 2014-01-11 04:32:46 +01:00
Ole André Vadla Ravnås adc3e60032 Fix address parsing issue for high 64-bit targets on python 2.x 2014-01-11 01:49:42 +01:00
Karl Trygve Kalleberg 2d403eb3fd Simplified Python build variables setup by using pythonX.Y-config directly, where possible 2014-01-11 01:34:03 +01:00
Ole André Vadla Ravnås 5979ac5836 Fix library search order to avoid accidentally picking up system libraries
This resulted in really broken Linux builds as the system happened to have
some of the libraries that Frida requires its own versions of.
2014-01-10 22:05:33 +01:00
Ole André Vadla Ravnås 5813cf51a5 Fix Py3k compatibility issue 2014-01-06 00:50:14 +01:00
Ole André Vadla Ravnås c8c46420aa Avoid using unicode in the stub code 2014-01-06 00:49:31 +01:00
Ole André Vadla Ravnås 743245b0e2 Reload handler scripts when they change on the filesystem 2014-01-06 00:26:31 +01:00
Ole André Vadla Ravnås c3be8a3b1e Fix deadlocks caused by holding lock while performing work 2014-01-06 00:24:02 +01:00
Ole André Vadla Ravnås daef66eae5 Add encoding markers 2014-01-06 00:23:20 +01:00
Ole André Vadla Ravnås 0399aaa09b Improve Tracer so handlers can be defined on the file-system
Also fix Py3k issues.
2014-01-05 21:35:47 +01:00
Ole André Vadla Ravnås b0883ae28e Improve Discoverer structure and fix Py3k issues 2014-01-05 21:35:43 +01:00
Ole André Vadla Ravnås 2a3450a598 Add base implementation guard 2014-01-05 21:31:56 +01:00
Ole André Vadla Ravnås 27261e4f22 Make the termination watcher thread a deamon thread as it should be 2014-01-05 21:31:34 +01:00
Ole André Vadla Ravnås 5d34d5f88e Escape python code to fix python 3.3 build issue on Mac
Turns out that len is an m4 macro.
2014-01-05 15:56:19 +01:00
Ole André Vadla Ravnås 89ab962638 Fix python2.6 build regression 2014-01-05 15:19:41 +01:00
Ole André Vadla Ravnås c32fb8bfd7 Improve description 2014-01-05 14:34:17 +01:00
Ole André Vadla Ravnås e60ef52fee Improve PyPI metadata 2014-01-05 14:32:12 +01:00
Ole André Vadla Ravnås 5d97d5f17e Fix py3k linking on Linux 2014-01-05 13:53:49 +01:00
Ole André Vadla Ravnås 590b46344b Add Windows build system for Python 3.3 2014-01-05 00:59:16 +01:00
Ole André Vadla Ravnås 808019ea9e Use one shared target process between all tests of each TestCase 2014-01-05 00:58:47 +01:00
Ole André Vadla Ravnås 4b26ffd690 Fix DLL export regression on Windows 2014-01-05 00:58:22 +01:00
Ole André Vadla Ravnås 2508645e1a Port to Python 3.x 2014-01-04 23:18:27 +01:00
Ole André Vadla Ravnås ed1ba689d9 Add missing file to autotools build system 2014-01-04 23:17:56 +01:00
Ole André Vadla Ravnås 15e6e6f864 Add some smoke tests to reduce future regressions 2014-01-04 23:16:21 +01:00
Ole André Vadla Ravnås 408da896a8 Fix regressions caused by refactoring 2014-01-04 00:45:07 +01:00
Ole André Vadla Ravnås ca9abc7797 Add function call rate and improve formatting 2014-01-03 23:25:25 +01:00
Ole André Vadla Ravnås f69090499f Improve discoverer to roughly cover sampling and presentation 2014-01-03 22:49:06 +01:00
Ole André Vadla Ravnås fb84c7f5e2 Improve core API with a better model and skeleton of a simple reactor 2014-01-03 22:47:59 +01:00
Ole André Vadla Ravnås aa1f2a87da Do periodic garbage collection to avoid running out of memory 2014-01-02 23:02:09 +01:00
Ole André Vadla Ravnås 4a6325eb16 Add skeleton for a function discovery tool 2014-01-02 16:35:08 +01:00
Ole André Vadla Ravnås e9d0f58339 Bring back the Windows package installation step 2013-12-30 12:37:17 +01:00
Ole André Vadla Ravnås 71eb6232e0 Temporarily disable installation of frida package on Windows 2013-12-29 23:02:32 +01:00
Ole André Vadla Ravnås c6d05705a4 Improve add_option() readability 2013-12-29 22:16:46 +01:00
Ole André Vadla Ravnås 9b1a1126db Add timestamps and improve IOSink formatting 2013-12-29 21:30:04 +01:00
Ole André Vadla Ravnås 732f639b66 Improve tracer console app to be configurable 2013-12-29 21:22:04 +01:00