Commit Graph

369 Commits

Author SHA1 Message Date
pancake
52145350d2 Add o-! command and fix ood 2017-11-22 15:00:06 +01:00
pancake
84179ca610 Fix null deref in oo 2017-11-22 12:59:09 +01:00
pancake
de86371355 PDB_SERVER is now RABIN2_PDBSERVER 2017-10-30 12:46:33 +01:00
pancake
38bf0da785 Fix crash for fat and set arch/bits earlier in radare2.c 2017-10-20 12:44:57 +02:00
pancake
029b5344b7 Do not update archbits twice to avoid multiple remaps on fat bins 2017-10-20 11:37:28 +02:00
pancake
6670ede608 Add ox? help msg and fix crash opening omf files 2017-10-20 02:25:30 +02:00
pancake
379ef659b8 'o' honors asm.arch and asm.bits on fat bins 2017-10-20 01:52:17 +02:00
condret
23ff2e0259 Fix multifiles for projects (#8635)
* store files and their corresponding maps

this is a hack, and needs rethinking

* Use empty file.path in project rc to indicate new style rc with on commands.  Make -p imply -- to further enable this.

* Some horrible hacks to make things work a bit smoother.

* fix maps in projects
2017-10-18 01:27:49 +02:00
pancake
3adb70a753 Honor io.0xff in sparse RBuffers 2017-09-26 11:55:48 +02:00
Fangrui Song
1c4407cb69 Fix #8388 - Replace RIOMap::{from,to} with RAddrInterval itv. 2017-09-14 12:40:22 +02:00
Rene Laemmert
8f5f57a21b Fix #8335 printing correct offsets for all maps with on* 2017-09-13 13:45:50 +02:00
Fangrui Song
b75f800e59 Delete r_core_file_get_next_map & file.loadmethod, relic of pre-siol old days (#8426) 2017-09-12 12:27:10 +02:00
pancake
99004f3c0b Enhance search.in boundaries by removing from/to and always use the list 2017-09-12 00:25:01 +02:00
alvarofe
915ec0f509 Revert changes with r2k 2017-09-07 17:21:29 +02:00
alvarofe
bed6dc8d33 Fix build 2017-09-07 17:16:20 +02:00
alvarofe
68455ce166 Workaround for r2k io plugin to chose file 2017-09-07 17:14:27 +02:00
pancake
8ad145594c Expose r2 environment variables to internal r2pipe calls 2017-09-04 03:09:12 +02:00
SkUaTeR
60dc5db0bf windows debugger fix siol (#8390) 2017-08-31 18:44:31 +02:00
condret
3cae212b6a fix o- Fuck You RCoreFile 2017-08-30 01:40:05 +00:00
alvarofe
6eef80c4da Fix NULL dereference 2017-08-29 20:06:06 +02:00
alvarofe
9ff143e2fd Make sure just taking into account has_va for real bin plugins 2017-08-28 23:41:46 +02:00
alvarofe
c652ac8ae6 Fix regression 2017-08-28 22:48:28 +02:00
alvarofe
9092183a73 Remove other damn stray :( 2017-08-28 22:18:22 +02:00
alvarofe
2a186fdcf4 Fix a little bit java by mapping desc 2017-08-28 22:08:50 +02:00
alvarofe
233574cf8e Set io.va to false if binobj says so 2017-08-28 21:22:46 +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
pancake
4c820f87cb Fix build 2017-08-27 13:59:08 +02:00
pancake
949fc79e37 Fix last covs 2017-08-27 13:42:16 +02:00
pancake
6a36a33423 Fix multiple aeim calls 2017-08-27 01:00:19 +02:00
pancake
938dc32da0 Use RIODesc.close() instead of RIODesc.del() 2017-08-26 23:47:52 +02:00
alvarofe
6b7e00ddcc Use r_io_desc api insted to dereference pointers 2017-08-26 11:03:46 +02:00
pancake
cda876993e Add io.exec and update r2 -x documentation and help message 2017-08-26 02:04:45 +02:00
pancake
3818684096 Fix r2 -x - 2017-08-25 23:30:55 +02:00
pancake
d1ddace885 Some cleanup 2017-08-25 23:19:59 +02:00
alvarofe
fbd3363c88 stray strikes again 2017-08-25 23:13:03 +02:00
alvarofe
b94a691c45 Another fix 2017-08-25 23:13:03 +02:00
alvarofe
a46b62e220 Fix some regressions 2017-08-25 23:13:03 +02:00
alvarofe
b35dbed06b no use r_core_file_get_next_map and delegate to r_bin_load to map desc
r_bin_load if detects that there was not plugin to handle the file, it
will map the desc, honoring its flags. Therefore, for binaries at 0 when
io.va=0 there won't be nothing mapped

The function r_core_file_get_next_map is maintained but not used to discuss
about what it was its purpose

Fix debugger
2017-08-25 23:13:03 +02:00
alvarofe
4701a89b63 Bring -w- to malloc temporary 2017-08-25 15:24:38 +02:00
alvarofe
387922146e Avoid to call r_bin_set_env more what it should 2017-08-24 23:25:49 +02:00
condret
0b8723299a implement r2 -x 2017-08-24 00:50:44 +00:00
pancake
b9faa2abdd Fix more io.va=false to only honor the on in core.config 2017-08-23 12:39:10 +02:00
pancake
0ceac506d7 Fix oj~{} 2017-08-23 01:45:33 +02:00
condret
41cb6ef0d2 use more fd-api 2017-08-23 00:05:16 +00: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
condret
ea52254c52 add fd abstraction api, and make desc-api a bit more consistent 2017-08-19 02:23:51 +00:00
Álvaro Felipe Melchor
6801a89e1c Bring onIterMap from siol - there's no tomorrow 2017-08-18 20:03:29 +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