Commit Graph
174 Commits
Author SHA1 Message Date
pancake c5f7ed5f38 fix(python): close async resources through quit 2026-10-15 16:28:23 +02:00
pancake 271a4bfd34 Fix #109 - accept pathlib.Path targets in r2pipe.open 2026-03-12 14:33:50 +01:00
pancake 1939cfe53e Accept program arguments when opening an array for Python 2026-03-09 21:21:56 +01:00
pancake dde2fdb0da Add setup.py shim to please the python wrapper 2026-03-09 20:47:50 +01:00
pancake 53559705d2 Fix some CI errors 2026-03-09 20:43:51 +01:00
pancake b5def810f9 Improve the python testsuite for coverage which exposed two bugs and fix them all 2026-03-09 17:24:52 +01:00
pancake 35056f899e Just None instead of [] in the default flags parameter 2026-03-09 16:25:30 +01:00
pancake 1689da1886 Fix invalid r2p_ commands not going thru the pipe 2026-03-09 16:17:37 +01:00
pancake 2df47e09f1 Fix possible short read truncating response 2026-03-09 16:14:42 +01:00
pancake a9bdc41dac Fix async http requests parsing 2026-03-09 16:13:40 +01:00
pancake 050195cd85 Fix race condition when multiple commands are triggered 2026-03-09 16:11:45 +01:00
pancake d09d511e20 Release r2pipe-py 1.9.6 2026-01-14 20:34:53 +01:00
pancake c129ada018 Fix some pylint issues 2026-01-14 20:34:50 +01:00
pancake 70b3ce8297 Improve the async http communication channel 2026-01-14 20:34:44 +01:00
pancake 9d96b9da83 Improve r2pipe-python-async to address some race conditions 2026-01-14 20:34:41 +01:00
pancake f997906f63 Add local_sessions() method for r2pipe.py 2025-12-09 20:29:58 +01:00
pancake 897caf2e85 Fix race condition in command handling with r2pipe-py-sync 2025-06-16 11:41:36 +02:00
pancake 3eb574c45c Fix in_r2() regression (release 1.9.4 r2pipe.py) 2024-07-11 18:48:17 +02:00
pancake 1c44d76a5a Do not permit to r2pipe.open() outside r2 2024-07-11 16:43:53 +02:00
pancake 6b1a3a6887 Release r2pipe 1.9.2 for Python 2024-05-28 18:37:15 +02:00
pancake 772ebc7069 Initial support for r2pipe2 and r2.call() in r2pipe.py 2024-05-28 18:36:50 +02:00
pancake 39f068b450 Release r2pipe.py 1.9.0 with in_* methods and hidden imports 2024-05-28 18:23:26 +02:00
pancake 229a19ac7c Expose the .in_rlang() method 2024-05-28 18:20:16 +02:00
pancake 414ea9f464 Hide r2pipe.py imports from the outside 2024-05-28 18:16:47 +02:00
pancake 5787b9ab9c Add inr2() api in r2pipe-python bindings 2024-05-28 18:04:28 +02:00
pancake 8fa6458bdc Fix crash and release 1.8.8 2024-01-11 19:01:36 +01:00
pancake 5d78702790 r2pipe.py 1.8.7 2024-01-11 18:57:17 +01:00
pancake f121e46c4d Simplify free call 2024-01-11 18:56:33 +01:00
pancake c5281aefe8 Fix some pylint issues 2024-01-11 18:50:38 +01:00
pancake 98d8fe870f Fix pytest 2024-01-11 18:42:11 +01:00
pancake 5fda8b3042 Release r2pipe.py 1.8.6 2024-01-11 18:36:36 +01:00
pancake 617ff399f3 Fix #159 by @ret2c7 - broken python-r2pipe-native on Linux 2024-01-11 18:33:08 +01:00
pancake d78ee3bf9d Release r2pipe.py - 1.8.4 2023-12-12 20:37:30 +01:00
pancake 12543d3eb7 oops fix native destructor for python 2023-12-12 12:25:33 +01:00
pancake 5c3a0180c7 Dont initialize native on import time 2023-12-12 12:21:50 +01:00
pancake d5ff837d33 Release r2pipe.py 1.8.1 2023-11-06 15:47:28 +01:00
David Wisdom 7a6c932de2 Catch unexpected subprocess crashes during command execution
The subprocess shouldn't ever terminate while it's executing the command. If the process ever has a return code, that means it has terminated during the command and something has gone wrong.
2023-11-06 14:13:46 +01:00
David Wisdom 63fb28bc94 Simplify KeyboardInterrupt handling 2023-11-06 14:13:46 +01:00
David Wisdom 0941b4ecfb Move segfault check outside try/except 2023-11-06 14:13:46 +01:00
David Wisdom 49b177ae4a Improve error handling to avoid infinite loop
If the subprocess crashed, we got stuck in an infinite loop because of the bare except clause. This change handles SIGINT instead of ignoring it, which allows the user to press ctrl-c to escape the infinite loop. This change also checks the return code of the subprocess and raises an exception if the process segfaulted. This prevents an infinite loop where we would try to read from a crashed process forever.
2023-11-06 14:13:46 +01:00
pancake 64e7122717 Release r2pipe.py-1.8.0 2023-03-10 11:00:04 +01:00
pancake 4c8380bcfd Fix r2pipe-spawn on Windows (delayed response issue) 2023-03-10 10:57:28 +01:00
pancake c0ab722355 Release r2pipe.py 1.7.4 2022-11-25 11:39:36 +01:00
pancake 510b469923 Fix #155 - Optimize r2pipe as suggested by @jmattheus
* Use bytearray() instead of b""
2022-11-25 11:39:11 +01:00
pancake e8647657c1 Bump r2pipe.py 1.7.3 2022-09-05 20:24:55 +02:00
Marat Mkhitaryan b094e3655e removed time import 2022-09-05 17:37:51 +02:00
Marat Mkhitaryan 362f606224 Remove unused variable self.nonblocking, use bulk read 4096 instead of byte by byte, remove sleep that slows everything down a lot. 2022-09-05 17:37:51 +02:00
pancake 06b9f02993 Make the python pipe sync before the initial null byte 2022-09-04 20:11:37 +02:00
pancake 826e37bed9 Release r2pipe-1.7.1 2022-06-04 23:43:16 +02:00
pancake e1d7cac927 Fix hello command on non-windows too and add another test 2022-06-04 23:39:18 +02:00