Commit graph

170 commits

Author SHA1 Message Date
pancake
5a96c229e7 Fix crashes in o 2017-10-20 03:02:24 +02:00
pancake
3fb6276c5a Bring back o+ 2017-10-20 02:58:42 +02:00
pancake
f38000cdb8 ob doenst requires binobj id anymore, just the fd is enough fix more tests
ob is called after op, to make it useful for multibin sessions in io.va mode
2017-10-20 02:38:04 +02:00
pancake
6670ede608 Add ox? help msg and fix crash opening omf files 2017-10-20 02:25:30 +02:00
pancake
c8865bbd4e Reread block after op 2017-10-20 01:54:33 +02:00
pancake
432016de20 op->oL, o fd -> op 2017-10-20 01:12:45 +02:00
pancake
5044d90a28 Fix crash when opening a fat bin from r2 -- 2017-10-19 19:59:04 +02:00
pancake
e12051c40d Enhance axtj again by adding flag + realname and fix warnings 2017-10-18 03:07:39 +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
b59aa688f3 Implement omb. and omn. commands 2017-10-05 00:40:19 +02:00
pancake
86d2c31c37 omm works without args now 2017-09-23 02:23:26 +02:00
pancake
d30d23f5f1 Refix order of maps 2017-09-17 02:59:18 +02:00
pancake
0fe4acb18c Fix invalid free in omn command 2017-09-15 16:00:15 +02:00
Rene Laemmert
c0e036dcb0 Fix #8498 r command should resize the map (#8518)
* Fix #8498 r command should resize the map

* removed useless check
2017-09-15 11:25:38 +02:00
Fangrui Song
1c4407cb69 Fix #8388 - Replace RIOMap::{from,to} with RAddrInterval itv. 2017-09-14 12:40:22 +02:00
Lowly Worm
987a8080a7 json output of maps should be unsigned 2017-09-14 01:20:49 -07:00
pancake
08f64793ea Implement r_io_map_reset and new command omm 2017-09-13 00:23:26 +02:00
alvarofe
4a83691408 Fix double free after mem leak fix 2017-09-05 10:16:04 +02:00
Lowly Worm
afa554b7e1 fix leak in cmd_open_map 2017-09-04 22:06:38 -07:00
alvarofe
5a704297b6 Simplify om creation code making use of r_str API 2017-09-04 22:05:59 +02:00
alvarofe
ee98981940 Some fixes IO related 2017-09-04 17:51:47 +02:00
Fangrui Song
3f9d231119 Fix #8407 oo+ : update RIOMap flags after r_io_reopen (#8425) 2017-09-04 11:01:17 +02:00
Fangrui Song
00324b3e63 Remove oa from help & add ob[j*] (#8421) 2017-09-04 05:01:56 +02:00
alvarofe
6549e425f1 Update help for map creation 2017-09-02 20:40:15 +02:00
Fangrui Song
99800369ce cmd_open.c: add command name beside case labels, fix out-of-bound read and heap use-after-free (#8405) 2017-09-02 17:36:46 +02:00
Giovanni
d084d92ff0 Coverity bugs 29 aug (#8376)
* 1380031 Resource leak
* 1380032 Logically dead code
* 1380034 Dereference before null check
* 1380035 Explicit null dereferenced + flavour
* 1361726 Resource leak
2017-08-29 12:39:04 +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
3448b11ad5 add name to om 2017-08-27 21:14:10 +00:00
pancake
7c7a8a4755 r2 -w runs omfg+w to keep old good behaviour 2017-08-27 17:39:53 +02:00
condret
f141437b01 remove dead code 2017-08-27 14:34:22 +00:00
condret
e2363da139 implement remapping in map-API 2017-08-27 04:13:47 +00:00
pancake
be1e819633 Fix oba argument parsing 2017-08-27 03:04:35 +02:00
pancake
7421b708be Fix #8327 - Rename oa into oba 2017-08-27 01:05:02 +02:00
pancake
6a36a33423 Fix multiple aeim calls 2017-08-27 01:00:19 +02:00
pancake
9d8d9023d0 Avoid double aeim loads and fix frida:// bin.load double-open 2017-08-27 00:42:08 +02:00
pancake
3f94f69e60 Enhance error checking in om and avoid adding the same map twice 2017-08-26 23:33:27 +02:00
condret
f146d0f2a8 implement omn for @radare 2017-08-26 17:27:45 +00:00
condret
93763bbd98 fix output order of om (highest priority first) 2017-08-26 16:41:18 +00:00
pancake
28b4f62e7e Better output of om 2017-08-26 12:21:01 +02:00
pancake
46b6051129 Add quiet files list (oq, omq) 2017-08-26 03:49:54 +02:00
pancake
777090aa27 Implement om= and o= inside core, not io 2017-08-26 01:50:57 +02:00
pancake
d1ddace885 Some cleanup 2017-08-25 23:19:59 +02:00
alvarofe
a46b62e220 Fix some regressions 2017-08-25 23:13:03 +02:00
alvarofe
366cbc4caa Minor fix when opening two files 2017-08-25 01:02:26 +02:00
alvarofe
eabe143850 Fix omf command 2017-08-24 01:33:57 +02:00
condret
5a6f80d819 fix order of map-output 2017-08-24 01:19:11 +00:00
pancake
6628d5a1e6 Add omf and omfg commands, and rename ombp, omsp, omfp, as omp[bsf] 2017-08-24 00:57:33 +02:00
alvarofe
5f75dc6b53 Fix NULL dereference 2017-08-23 21:38:25 +02:00
pancake
0b88ef654f More fixes in the output of 'o'
* Do not inverse the list
* Do not show maps in o output
* Fix om output
* Fix ar warnings
2017-08-23 12:55:10 +02:00
pancake
b9faa2abdd Fix more io.va=false to only honor the on in core.config 2017-08-23 12:39:10 +02:00