1656 Commits

Author SHA1 Message Date
Florian Märkl
2883398942 Fix #11081 - Transient Tasks (#11214)
* Make r_th_free() not kill the thread
* Transient Tasks
* Add transient info to & list output
* Use refcounting for Tasks
2018-08-23 13:49:28 +02:00
pancake
6d05365f30 Make RAsmOp use RStrBuf instead of fixed-size buffers
* Seems to work, but there are many things to improve and fix
* Fixed some bugs (overflow, sandbox bypass, ..)
* Exposes some memleaks and bad api usages.
* Refactor all the things! \o/
* Fix z80, tms320 disasm and x86.as
* Care about memleaks
* Support meson
* And fix more tests related to pda and pdj and m68k
2018-08-22 11:43:05 +02:00
kij
10786e5549 r2pm OCD fixes, search list aligned with column 2018-08-21 23:44:19 +02:00
radare
586bf7fc15
ragg2 *.c shows stderr and fix clang cflags (-Os makes non-pic code 🤦) (#11122) 2018-08-18 03:41:24 +02:00
David CARLIER
d77f8a2bce Fix leak for arch value form env var. (#11091) 2018-08-15 10:25:25 +02:00
Rafael Rivera
4634a817c4 Create cons context before col diffing (fixes #11059) (#11060) 2018-08-13 03:12:27 +02:00
Florian Märkl
404e4a1b74 Prompt on exit to kill tasks (#11054) 2018-08-12 13:27:45 +02:00
pancake
042f5271ba Bring back the old -w that implies R_IO_CREAT 2018-08-11 20:44:28 +02:00
pancake
d55bb122f3 Kill r_io_creat and make it into R_IO_CREAT, honor -ww 2018-08-11 20:44:28 +02:00
pancake
456de668b7 Fix #10947 - open without va when creating a new file 2018-08-11 20:44:28 +02:00
pancake
aa0581ab81 Use more r2 -H and less hardcoded paths in r2pm 2018-08-08 17:09:03 +02:00
pancake
b32a675371 Show R2PM_ variable values in r2pm -h 2018-08-08 16:51:19 +02:00
Maijin
b60a25b914 Add more R2_ prefix for some var 2018-08-07 22:14:54 +02:00
Maijin
b3d081abcd Add some R2_ prefix for some var 2018-08-07 22:01:59 +02:00
Arnaud Lefebvre
d934934efc r2pm: install r2pm in bindir instead of $PREFIX/bin (#10976) 2018-08-07 14:29:51 +02:00
Fangrui Song
08e6ed3b78 Fix some -Wincompatible-pointer-types-discards-qualifiers warnings (#10951) 2018-08-07 11:50:06 +02:00
Anton Kochkov
5b5667138c Fix UB and UAF 2018-08-07 13:00:06 +08:00
JohnPeng47
ab92677eda Add pemixed plugin 2018-08-06 01:22:11 +02:00
Maijin
6eda76e0f8
Fix #1361 (#10889) 2018-08-01 22:27:19 +02:00
pancake
bb8f2b0773 Fix #10865 - hang_03 - skip invalid sections when marking data words 2018-08-01 00:57:36 +01:00
Khairul Azhar Kasmiran
d42b734a84
rax2: add new output mode for Fx (#10840)
* rax2: add new output mode for Fx

* Reversed order of tests
2018-07-29 11:04:52 +08:00
Tyler Lambert
8255f2a96c Verify input is not in hex before interpreting as float (#10821)
* verify input is not in hex before interpreting as float

* check for "0x" prefix before converting to float
2018-07-28 13:18:13 +08:00
Khairul Kasmiran
943ebfebd5 Fixed typo in rabin2 usage help 2018-07-24 22:53:02 +08:00
Khairul Kasmiran
dfa196ddd2 Revert "End rabin2 json output with newline"
This reverts commit 40c68d9ec0b1f3e0e5b72269d36f863f8495220b.
2018-07-22 21:32:32 +08:00
pancake
20b95e4bb4 Fix asan issue related to the hashbang launch 2018-07-19 17:25:44 +02:00
Anton Kochkov
6e73443942 Try to fix MSVC build 2018-07-19 18:09:19 +08:00
pancake
b21035349d Fix - - - behaviour 2018-07-19 11:41:27 +02:00
Khairul Kasmiran
2d83bb2a26 entries->initfini for ieej/rabin2 -ee -j since former key is already used 2018-07-18 19:33:12 +02:00
Paul I
9cb663cbdb Fix r2 -H MAGICPATH 2018-07-17 23:19:21 +02:00
Riccardo Schirone
c932d1abff
meson fixes (#10743)
* r2pm/meson.build: install r2pm
* meson.build: use system libraries when available
* travis: add fedora-sys to the list of things to test
* bin_nso.c: still include lz4.c when not on meson
* Dockerfile.travis: add required system dependencies to dockerfile
* meson.build: split zip_dep in libzip and zlib dependencies
* shlr/meson.build: zip needs zlib
2018-07-17 23:01:40 +02:00
pancake
7463546f13 Fix android build 2018-07-16 17:49:15 +02:00
Khairul Kasmiran
40c68d9ec0 End rabin2 json output with newline 2018-07-16 14:09:22 +02:00
pancake
2c85194e7a Fix some warnings 2018-07-14 10:45:55 +02:00
Riccardo Schirone
7572f315ea
meson improvements (#10617)
* meson.build: fix meson build when not on git
* meson.build: make capstone a dependency
* meson.build: make r_magic library optional
* meson.build: capstone include is already in the dependency
* meson.build: use dependencies instead of manual linking + includes
* meson.build: add travis
* flag/meson.build: include sdb dependency
* travis-script: print messages based on install system
* io/meson.build: add sdb as dependency
* syscall/meson.build: missing sdb dependency
* {parse,config}/meson.build: add sdb dependency
* travis.yml: pass INSTALL_SYSTEM var to docker
* {bin/shlr}/meson.build: add sdb_dep to r2java and bin
* install meson and ninja-build in r2-travis docker
* travis.yml: allow meson build to fail for now
* anal/meson.build: add sdb and java dependencies
* egg/meson.build: add sdb dependency
* travis.yml: meson build env should be also in the includes list
* core/meson.build: add java dep
* meson.build: use dependencies also to create main r2 dependency
* rasm2/meson.build: replace link_with with dependencies
* rasm2/meson.build: add sdb as dependency
* meson.builds: convert link_with to dependencies and fix tabs
* travis-script: change meson install prefix and set PKG_CONFIG_PATH
* travis-script: add lib64 to LD_LIBRARY_PATH
2018-07-09 16:58:38 +02:00
Khairul Kasmiran
41ba85c57f Removed trailing spaces of ragg2.c 2018-07-07 23:53:30 +08:00
Khairul Kasmiran
d8048db0d9 Remove unneeded trailing spaces 2018-07-07 23:19:37 +08:00
Khairul Kasmiran
ff00596385 Removed trailing space 2018-07-06 23:26:33 +08:00
Tomasz Gorochowik
3c15e4348d rafind2: print heading (filename) before matches
The headings are enabled by default when searching multiple files or a
directory.

The headings can be disabled with the quiet mode (-q).
2018-06-30 19:37:52 +02:00
Tomasz Gorochowik
e17cc1c6ae Implement rafind2 recursive search ability 2018-06-30 19:37:52 +02:00
Florian Märkl
5e35ad898b RConsContext (#10450)
* Add RConsContext
* Swap cons in tasks using RConsContext
* Create cons context for background tasks
* Move event_interrupt to RConsContext
* Fix breaking main cons from signal
* Make r_print_is_interrupted() use callback
2018-06-23 12:10:13 +02:00
pancake
df0aadb89f Fix sys/ios-cydia.sh for iOS11/electra jailbreak 2018-06-21 02:41:14 +02:00
pancake
e482321196 Add platform-application entitlement for iOS11 2018-06-21 01:01:24 +02:00
Rene Laemmert
d11473201a Started changing bin_load to bin_open (#10221) 2018-06-20 16:19:22 +02:00
Florian Märkl
2202d14067 Timeout socket accept using select (#10415) 2018-06-20 11:20:55 +02:00
Khairul Kasmiran
09a6a26b16 Remove more trailing spaces 2018-06-19 10:42:01 +08:00
Florian Märkl
a5b3ff9486 Make izz more task-safe (#10373) 2018-06-17 15:12:54 +02:00
Florian Märkl
6730a93e9c Sleep during prompt
Sleep during prompt for Windows
2018-06-17 11:34:03 +02:00
Florian Märkl
f449ae66f5 Fix Command History and Quit 2018-06-17 11:34:03 +02:00
Florian Märkl
88fa23e53a Add r_core_cmd_task_sync() 2018-06-17 11:34:03 +02:00
Khairul Kasmiran
b1a982cc24 Added -ee to rabin2 -g 2018-06-15 23:57:17 +02:00