1530 Commits

Author SHA1 Message Date
Fangrui Song
a4997feb34 Move fortunes to libr/core/fortune.c (#8424) 2017-09-12 00:41:07 +02:00
Guillaume Valadon
0c046a1e6d ragg2: -f support for Python and Javascript (#8454) 2017-09-11 12:21:27 +02:00
Srimanta Barua
56e7f6198b setting baddr with -B in gdb 2017-09-08 01:27:43 +08:00
alvarofe
68455ce166 Workaround for r2k io plugin to chose file 2017-09-07 17:14:27 +02:00
pancake
33da5069f3 Fix mz check again 2017-09-04 23:51:09 +02:00
alvarofe
6920d666d6 Fix build after the changes on rasm 2017-09-04 21:56:07 +02:00
pancake
5a28c2abfe Add 'c' output for ragg2 2017-09-04 12:59:06 +02:00
pancake
cd7f70fc4e Only run aeip when not in debugger and bin arch is known 2017-09-03 00:11:00 +02:00
kij
00f8d60dc2 r2pm OCD fixes. (#8393) 2017-09-01 21:15:00 +02:00
pancake
dba94495db Add a map when using gdb remote to avoid the need to unset io.va 2017-08-30 02:06:55 +02:00
pancake
e93ff81d85 Fix r2 -qA 2017-08-29 15:35:44 +02:00
Srimanta Barua
aa9d2bcf41 fix segfault in case of wrong address (#8359) 2017-08-28 15:27:37 +02:00
Fangrui Song
a38a1ac185 rax2.c: fix out-of-bounds read (#8353) 2017-08-28 10:14:23 +02:00
Fangrui Song
12157250cc Add a bool argument do_skyline to r_io_map_{add,new} (#8344)
We can do some precomputation when the map structure changes (add/delete/remap/...).
2017-08-28 01:27:28 +02:00
condret
e2d096f411 small beautification 2017-08-27 20:22:58 +00:00
Rene Laemmert
fa1706b663 fix segfault on opening projects (#8337) 2017-08-27 19:25:42 +02:00
pancake
7c7a8a4755 r2 -w runs omfg+w to keep old good behaviour 2017-08-27 17:39:53 +02:00
pancake
52d5b1fec1 Fix sections for projects 2017-08-27 16:37:18 +02:00
condret
e8f65117a1 fix #8333 2017-08-27 15:01:20 +00:00
pancake
93dc1e8b78 Call aeip in radare2.c 2017-08-27 03:10:16 +02:00
pancake
c540e07d56 Fix some warnings for the windows debugger 2017-08-26 02:24:22 +02:00
pancake
cda876993e Add io.exec and update r2 -x documentation and help message 2017-08-26 02:04:45 +02:00
pancake
d91a4a8166 Make r2 -x by default and fix other recent io regressions 2017-08-26 00:13:24 +02:00
pancake
3818684096 Fix r2 -x - 2017-08-25 23:30:55 +02:00
alvarofe
a46b62e220 Fix some regressions 2017-08-25 23:13:03 +02:00
Cong Wang
f129316701 Fixed a linker error on OpenSUSE (#8311)
This fixed:

LD rax2
/usr/x86_64-suse-linux/lib64/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE'
collect2: error: ld returned 1 exit status

by moving -lpthread later.
2017-08-25 12:16:26 +02:00
Giovanni
3851e7ea20 13 coverity bugs fixed. (#8303)
* 1372431 Unused value

* 1372425 Unused value

* 1372412 Dereference before null check

* 1372410/1372409 Resource leak

* 1372400 Dereference before null check

* 1372391/1372398 Resource leak

* 1372397 Dereference before null check

* 1372394 Resource leak

* 1372390 Dereference before null check

* 1372379 Dereference before null check

* 1372304 Resource leak

* 1372298: Out-of-bounds read & 1355090: Untrusted array index read

* 1372290 Dereference null return value

* 1372283 Missing break in switch

* fixed mistake.
2017-08-24 13:31:27 +02:00
condret
926b0099fd add missing halp, for r2 -x 2017-08-24 00:55:12 +00:00
condret
0b8723299a implement r2 -x 2017-08-24 00:50:44 +00:00
pancake
9b5494dfc4 Do not mess with io.va, enabled by default 2017-08-23 01:17:01 +02:00
condret
0161fa0ec2 make read_at bool again and implement RIOAccessLog for accurate error-handling
This reverts commit a9bf4aae2bdca2c139f482c3f0e098fe6ece1ee0.
2017-08-22 17:24:04 +00:00
Fangrui Song
a9bf4aae2b Misc fixes to siol (#8262)
* Fix onIterMap (divide-and-conquer like USACO Shaping Regions), check return values of every `op` call
* Change return types of r_io_read_at and friends back to `int`
* Fix some analysis tests and others
* Fix mem leaks
2017-08-22 10:46:48 +02:00
condret
2f201bded0 opsalamance - merge the big siol branch
- Thanks @MaskRay and @condret
2017-08-22 09:42:16 +02:00
condret
45fb32a213 cleanup rbufplug and make it a usual plugin 2017-08-19 22:45:43 +00:00
pancake
62b45bce07 More build fixes for android 2017-08-19 20:05:21 +02:00
pancake
29ca827cf2 Fix Android builds 2017-08-19 18:52:57 +02:00
pancake
07f86788b6 r2 -m enables io.va=true to solve some io regressions 2017-08-18 05:20:33 +02:00
pancake
faa826022e Fix build and add r_io_open_buffer and r_core_file_open_desc apis 2017-08-18 03:26:28 +02:00
alvarofe
2e462ec8f0 Bring RIODesc from SIOL and cleanup 2017-08-18 01:31:57 +00:00
Srimanta Barua
55b7e2661d baddr fixes 2017-08-15 21:46:22 +02:00
pancake
563593c933 Fix #8191 - Fix null deref in gdb:// 2017-08-11 13:27:39 +02:00
SrimantaBarua
0d0495d634 added specifying baddr for gdb with e bin.baddr 2017-08-09 16:17:03 +02:00
Murphy
42df0a1fca Add ich command (#8134)
* Get objc information in header format
* Add support to rabin2

* Minor Fixes
2017-08-09 10:21:52 +02:00
Fangrui Song
d1cde39852 Fix help messages (#8136) 2017-08-07 12:19:15 +02:00
Fangrui Song
f91e3d259c Add asm.addrbytes eval config var to make one vaddr unit use more than 1 bytes (#8121)
* Add `asm.addrbytes` eval config var to make one vaddr unit use more than 1 bytes

* Use `asm.addrbytes` in anal/disasm
2017-08-05 12:20:17 +02:00
xarkes
3d681b0fe5 Renamed windbg plugin (#8117) 2017-08-03 14:58:39 +02:00
pancake
78ec2d0340 Implement rafind2 -i to identify binaries 2017-08-01 15:27:11 +02:00
pancake
01d3179a61 Fix #8068 - r2 -X is now -R and old -R is now -r 2017-07-31 14:08:06 +02:00
pancake
91325d8d56 Add -l to append newline when decoding hex/b64 strings to rax2 2017-07-28 14:19:32 +02:00
pancake
3f9232d5de Handle asm.bits=27 in rasm2 -L 2017-07-28 02:40:51 +02:00