Commit Graph
147 Commits
Author SHA1 Message Date
Riccardo Schirone 3764c267c1 Bump version of python rzpipe 2022-06-28 10:29:21 +02:00
Khairul Azhar Kasmiran 15136d33df Windows cmd: Convert \r\n to \n (#38) 2022-03-25 21:12:31 +08:00
Riccardo Schirone 557e648d8e Bump python rzpipe version to 0.1.2 (#34) 2021-10-20 11:15:22 +02:00
Riccardo Schirone 2f9de04dd7 Handle empty output from json commands 2021-10-18 17:22:48 +02:00
Giovanni 0f7ac66e6d Fix #28 - Bad field name (#29) 2021-09-18 11:23:35 +02:00
JunWei Song 2128c46e52 move repeated code outside if else statement (#22) 2021-06-23 11:29:13 +02:00
ransomware a095670ead Update Python style and add pytest (#15)
* Use shutil to figure out where ls lives
* Add contextlib shim for OpenBase
* Improve OpenBase
* Make shutil portable across python2/3
* Use print to print to sys.stderr
* Renames for easier readibility
* Improve indentation of help strings
* Improve namings and fix default param list issue
* Simplify comparison in native.py
* Add requirements-dev.txt
* Add format target which formats via black
* Reformat using black
* Improve the native module
* Remove unnecessary usage of eval
* Make pass through of lib functional
* Improve import logic
* Add context manager for convenience
* Add a test for the native module
* Add pytest make target
* Use asyncio >= 3.6 style, improve overall quality
* Add open_base_test

Signed-off-by: 4thel00z <[email protected]>
2021-06-02 11:14:04 +02:00
Anton Kochkov 943d0d1258 Forgotten rename in Python rz-pipe 2021-06-01 18:29:06 +08:00
Riccardo Schirone a86669a427 python: Fix classifiers 2021-01-28 20:50:55 +01:00
Riccardo Schirone ce0e64ef65 Reset version to 0.1.0 and change author to RizinOrg 2021-01-28 10:41:38 +01:00
Anton Kochkov 7df231a3df Use setuptools for Python 2021-01-20 13:18:37 +08:00
Riccardo Schirone b97276312b Use rz_core not r_core 2020-12-22 11:15:07 +01:00
Anton Kochkov f11f0e94d0 Rzpipe Python cleanup 2020-12-09 17:57:17 +08:00
Anton Kochkov bf57828bc3 Rzpipe Python fixes 2020-12-09 17:38:08 +08:00
Giovanni c79e6031a2 Updated example 2020-12-08 20:17:53 +01:00
Florian Märkl 5e8563a98a Update Windows RZ_PIPE_PATH env var 2020-11-02 18:07:35 +01:00
Florian Märkl c0f29e9f3c Use R2PIPE_* -> RZ_PIPE_* env vars 2020-10-01 18:06:56 +02:00
Riccardo Schirone c63059a239 Rename r2pipe -> rzpipe and radare2 -> rizin (#1) 2020-10-01 12:11:48 +02:00
Khairul Azhar Kasmiran 3bb31f5635 Windows r2pipe.py: Don't chop off last char if it's not 0 (#118) 2020-06-29 13:02:23 +02:00
Khairul Azhar Kasmiran 5a495ba76d Fix Windows Python 3 #!pipe 2020-06-24 18:29:20 +08:00
Anton Kochkov 1a9986d82f Fix LGTM and flake8 warnings 2020-05-25 15:40:48 +08:00
Anton Kochkov 65987c58ee Reformat code with black 2020-05-25 15:08:45 +08:00
Anton Kochkov 886860dc51 Python 3 compatibility, drop Python 2 2020-05-25 15:07:56 +08:00
haystack b56063b423 More precise filename parsing in python module. Closes #114.
Previously, python module would check if filename started with "tcp"
or "http." This would cause weird edge cases where a relative path
starting with a directory called "tcp" or "http" would cause an
exception to be thrown. This checks for filenames that start with
"tcp://" or "http://" instead, which *might* still cause the same
issue but is less likely.
2020-05-06 10:46:42 -04:00
pancake 1394b51d6a Release r2pipe-1.4.2 for python 2019-10-23 12:18:05 +02:00
Anton Kochkov c13da476af Merge pull request #107 from R2S4X/fix_unclosed_file
Fix issue with unclosed file descriptors
2019-10-21 01:48:10 +08:00
R2S4X 452cb102f3 Fix issue with unclosed file descriptors 2019-10-20 17:08:54 +03:00
Maijin 9cc51fb013 Rename README.rst to README.md
Change back to .md which is accepted by pypi - https://packaging.python.org/guides/making-a-pypi-friendly-readme/#creating-a-readme-file
2019-07-28 22:54:30 +02:00
pancake 96f5ae7527 Bump r2pipe.py 1.4.1 removing the reference to the readme 2019-06-20 11:44:48 +02:00
pancake 1fac0a0b16 Use rst, not md 2019-06-20 02:31:33 +02:00
pancake 6f989f4c28 Release r2pipe.py 1.4.0 2019-06-20 02:28:57 +02:00
pancake 2b31936766 Add r2pipe.py cmdJ() to return a Python object instead of a JSON one 2019-05-14 12:15:26 +02:00
a1ext 3becb78c72 Merge pull request #89 from meiraxx/master
fixes #88: small update open_sync.py (remove utf-8 decodes)
2019-04-26 13:41:17 +03:00
William Setzer a794acf68d Update open_base.py to import Popen and PIPE
Popen and PIPE are used in the file, but never imported.

Changed imports to reflect use.
2019-04-16 00:05:59 +02:00
João Meira 056839f0cb small update open_sync.py (remove utf-8 decodes)
Hi guys! Please remove this decode as sometimes the output isn't utf8-decodeable.
https://user-images.githubusercontent.com/25626434/50499947-95937180-0a45-11e9-9607-2087a7aa73ad.png
2018-12-28 16:42:59 +00:00
pancake 4fde65cacd Release r2pipe.py 1.2.0 2018-12-17 12:32:26 +01:00
a1ext ae19becda2 Fixes #85: bug with empty filename argument handling has been fixed 2018-12-13 01:04:44 +01:00
a1ext d955eb205d Python2/Python3 are now use synchronous interaction.
Fixed some compatibility issues
2018-12-06 14:00:36 +01:00
a1ext d63036e411 fixed radare/radare2-r2pipe#81, radare/radare2-r2pipe#82, radare/radare2-r2pipe#83
Introduced `radare2home` argument to `r2pipe.open`
2018-12-06 14:00:36 +01:00
a1ext 2e4348ac9d Fixed #81: fcntl module is unavailable on Windows (related to synchronous interaction) 2018-12-06 14:00:36 +01:00
pancake c27fb13146 Simplify test target 2018-12-04 21:54:52 +01:00
pancake aa4feaeddb Split py2 and py3 tests 2018-12-04 21:53:44 +01:00
pancake f72cd3a2e6 Fix tests 2018-12-04 21:52:22 +01:00
pancake 5746b7ddf6 Improved tests for r2pipe.py 2018-12-04 16:45:51 +01:00
pancake 73856fb97a Fix https in setup.py 2018-11-25 23:26:18 +01:00
pancake 727f85b7d1 Release r2pipe.py-1.0 2018-11-25 23:19:03 +01:00
Skia 42abc23e60 Change r2 to radare2, since meson doesn't make r2 (#72) 2018-09-18 23:14:37 +02:00
Iru Cai (vimacs) 6a1bb1943f Fixes for py3 (#68)
* fix when using r2pipe.open()
* fix using r2pipe with python3
2018-08-17 17:41:56 +02:00
bannsec 38d3a1c219 Bad doc (#66)
Wasted quite a while trying to figure out why r2 wasn't working through r2pipe. Turns out the documentation here told people to do something that wouldn't work.
2018-07-29 08:33:37 +01:00
idanw206 0358388d3c Now MANIFEST.in includes itself (#59) 2018-04-28 22:20:18 +02:00