Commit graph

3039 commits

Author SHA1 Message Date
Álvaro Felipe Melchor
7b673f6f0e Show imm values as string 2017-11-04 16:13:10 +01:00
Jose Diaz
e74aadad28 Renaming char_to_w32 => utf8_to_utf16 2017-11-03 10:27:18 +08:00
Jose Diaz
527ff71d41 Convert char to windows unicode 2017-11-03 10:27:18 +08:00
Anton Kochkov
1ebaad02dc Initial support for structure offsets 2017-11-02 00:54:41 +08:00
pancake
140e26143d Fix #8514 - Implement /c/a and make /c/ work properly 2017-10-31 01:54:27 +01:00
pancake
0a1181515d Make constructor/destructors available only via rabin2 -ee (and iee in r2) 2017-10-30 18:31:01 +01:00
Khairul Kasmiran
ce42385b96 r_meta_del: removed unused str param 2017-10-30 23:01:46 +08:00
pancake
d254a772d7 Add anal.armthumb to make an specific aae test pass 2017-10-29 11:29:07 +01:00
Alex Kornitzer
a6da4135ba mdmp: moved mdmp to the core from r2-extras 2017-10-26 11:25:11 +02:00
Khairul Azhar Kasmiran
4cfb06ef9c Consolidated deserialization of sdb val into r_meta_deserialize_val() (#8738) 2017-10-25 16:28:36 +02:00
pancake
bb17e9acda Fix mg infinite recursivity issue, add fq and fsq commands and handle /flags in fs.r2 2017-10-23 12:54:03 +02:00
pancake
3f64b7a1dc Initial implementation of the r2 filesystem 2017-10-23 03:48:48 +02:00
pancake
250f7db229 Fix build 2017-10-23 01:29:17 +02:00
pancake
f20a61a171 List mountpoints in path via md 2017-10-23 01:11:43 +02:00
pancake
5132c88f4d More code cleanup and tweaks for char* r_io_system 2017-10-23 00:45:01 +02:00
pancake
ca1b44e64d Add dummy fs.io plugin, r_io_system now returns char* 2017-10-22 23:52:07 +02:00
xarkes
4a58713c56 Fix prefix for msvc 2017-10-22 22:17:12 +02:00
Khairul Azhar Kasmiran
b572ea3471 Fixed Cs* output for Csa strings (#8724) 2017-10-21 09:28:42 +02:00
josediazfer
855757a3ad W32 debug issues (#8707)
* W32 debug issues:

Fill debug info (executable path and username)
Debug event STATUS_X86_SINGLE_STEP instead of EVENT_SINGLE_STEP when debug a x86 binary using radare 64 bits

* Fix cast types
2017-10-18 15:39:13 +02:00
pancake
0595a68d4d Fix #7120 - Add read/write/exec /r subcommands 2017-10-17 00:03:34 +02:00
pancake
986ab7a6fd Add RAnalOp.direction and tweak ao for it 2017-10-16 23:38:10 +02:00
pancake
e17df3ab70 Implement pj, pj. and pj.. commands 2017-10-16 13:31:13 +02:00
pancake
29a155d5d4 Add missing extern C for r_io.h 2017-10-16 12:38:58 +02:00
Khairul Azhar Kasmiran
373ecde4a5 Cs..: show string + info about it at current address (#8689) 2017-10-15 23:29:43 +02:00
Anton Bolshakov
2334829ce6 r_big.h: fix building issue (#8691)
See the following for more details:
https://github.com/radare/radare2-bindings/issues/176
2017-10-15 13:05:36 +02:00
pancake
24307b6753 Add io->ret to hold return value 2017-10-12 01:57:19 +02:00
pancake
637543c541 Enhance ax, axk lists and axq is the old ax 2017-10-09 00:51:51 +02:00
Thomas Bailleux
2138aa2209 Fix the use after free which causes a segv (#8664)
* Fix the use after free by removing instruction which was overriding 'r_cons_instance.num' struct by a new mallocated struct which is free at the end

* Fix new segv by saving old num and restore it before free is called

* spaces to tabs
2017-10-08 21:34:00 +02:00
Srimanta Barua
41ce16b314 added curved corners (#8660) 2017-10-08 13:09:27 +02:00
Jose Diaz
f1d7f821ff Removed global variables and fixed several leaks 2017-10-07 09:52:09 +02:00
Khairul Azhar Kasmiran
ab9368966e Cs: show unfiltered strings (#8605) 2017-09-29 12:33:24 +02:00
josediazfer
2328c5d31f Fix serveral leaks (#8606) 2017-09-28 16:32:54 +02:00
josediazfer
bacd615e0d Egg Issues (#8593)
* Fix pushing inmmediate args using the x64 arch
Added directive .rargX (ar0, ar1,...etc)

* replaced atoi() by r_num_math()
2017-09-27 11:29:15 +02:00
pancake
97911069b3 Initial port of io.winedbg using the new r_socket_spawn() api 2017-09-27 03:12:00 +02:00
xarkes
b4a1a595c9 pf segfault fix (#8592) 2017-09-26 23:45:42 +02:00
pancake
3adb70a753 Honor io.0xff in sparse RBuffers 2017-09-26 11:55:48 +02:00
pancake
106fedeef4 Add the 'null' debugger plugin 2017-09-23 02:34:37 +02:00
Khairul Azhar Kasmiran
8d061778bd Csj: add enc and ascii properties (#8570) 2017-09-20 18:27:33 +02:00
Fangrui Song
c43e6880fb Refactor search (#8566)
* fix out-of-bounds read in r_search_strings_update
* Remove static variables searchhits maplist maxhits first_hit in cmd_search.c
* Change semantics of r_search_hit_new (update kw->count s->nhits in it), return 2 if search.maxhits is reached and stop searching immediately
* honor search.maxhits in r_search_regexp_update
* Refactor _cb_hit, remove bckwrds/do_bckwrd_srch and static cmdhit
* Fix mem leak in regexp.c
* Add support for /d (delta) /bd (backward + delta) when crossing blocksize boundaries
2017-09-20 17:00:18 +02:00
Rene Laemmert
729c528c80 Added autoload of zignatures (#8554) 2017-09-18 17:48:19 +02:00
Fangrui Song
b549a1cf53 Fix comment spaces (#8547) 2017-09-18 05:54:13 +02:00
Fangrui Song
0dfa39590f Faster onIterMap (#8544) 2017-09-18 04:29:29 +02:00
pancake
030a22ca6b Add search.in={io.sections.readonly,dbg.maps.readonly} 2017-09-18 01:19:24 +02:00
Fangrui Song
4358de43b2 Fix backward search and string search across boundary in search.overlap=0 mode and fix mem leak (#8537)
* Fix mem leaks in search
* Fix backward search and string search across boundary in search.overlap=0 mode and fix mem leak
2017-09-17 23:44:04 +02:00
pancake
6ddc76ef37 Enhance r_str_const api, allowing to specify target cache 2017-09-17 02:27:03 +02:00
Fangrui Song
5b16d507d4 Fix O(n) duplicated calculation of skyline in _section_reapply 2017-09-17 01:10:53 +02:00
Fangrui Song
f6cf0dab04 Fix search.in=io.maps : search in non-overlapping RIOMap parts not overriden by others of higher priorities (skyline) 2017-09-17 01:10:53 +02:00
Fangrui Song
b2d5fac55c Fix search range of /x 2017-09-17 01:10:53 +02:00
Fangrui Song
2defeea47d Rename /f (search file) to /F and add /f (forward search) as per /b (backward search)
The search range will be the intersection of at most 3 intervals:

* search.in
* [search.from, search.to) if one of them is not UT64_MAX (default), which means the range is specified
* [core->offset, 2**64) if /f is used, [0, core->offset) if /b is used

Name the intersection `search_itv`

For each search boundary given by search.in, individual search is done in the intersection of it and search_itv
2017-09-17 01:10:53 +02:00
Fangrui Song
ac16dfdc8b Misc fixes to search
* fix /a tests, hoist r_search_kw_add
* fix /A tests
* respect search.{from,to} in append_bound
* fix /o out-of-bounds read
2017-09-17 01:10:53 +02:00