11168 Commits

Author SHA1 Message Date
pancake
5c9ec63857 Add parameter to Sf 2016-11-08 14:27:37 +01:00
pancake
93c0293664 Fix overflow in r_str_ansi_crop 2016-11-08 13:25:08 +01:00
Rakholiya Jenish
544ab253d8 Initial integration with r2k for linux (#6148)
fix opening with oo+
make everything ut64
2016-11-08 11:51:10 +01:00
pancake
f3be6a8cda Update android paths for the new app 2016-11-08 10:24:10 +01:00
skuater
b4abe032ad Fix error r_cons_break_end when build for windows 2016-11-08 01:44:23 +01:00
Álvaro Felipe Melchor
3222447eab Fix warnings when compiling in linux 2016-11-08 01:58:07 +01:00
mrmacete
24ea4e210d Fix coverity 1365640, 1365641 2016-11-08 00:32:43 +01:00
Álvaro Felipe Melchor
ae2888dbc7 add r_str_nlen_w to get wide or ascii len
we already have r_str_nlen and r_wstr_clen to get either ascii string or wide
string length but in some cases such as defining string with 'Cs' or 'ds' from
visual mode we do not know if is a wide or ascii so r_str_nlen_w try to detect
and is prone to errors.

We should rename those API and maybe introduce new command to handle both cases
correctly without guessing and letting the user to chose the best
2016-11-07 23:31:22 +01:00
Álvaro Felipe Melchor
2748f407b6 check to avoid mix wide and ascii strings 2016-11-07 22:53:06 +01:00
Álvaro Felipe Melchor
9f6c3a2c8a fix warning in tms320 s/st8/char/g 2016-11-07 22:31:09 +01:00
Álvaro Felipe Melchor
f941d219fe revert change on ins.c 2016-11-07 21:23:05 +01:00
Álvaro Felipe Melchor
c39a8f2d6c Wide string support in Cs 2016-11-07 21:06:11 +01:00
Álvaro Felipe Melchor
9c3e2a46b5 support define wide string with ds in visual mode 2016-11-07 20:54:00 +01:00
Álvaro Felipe Melchor
aeb5d1be4b Added help message when izz after -nn
When opening a binary with -nn internal structures are not initialized being
one of them RBinFile that is need to retrieve the info.

However, when opening an image for example RBinFile exist but we do not have a
corresponding plugin or binary format to say so we are able to get strings.
This will be need a great refactor to handle correctly and furthermore
something I did not like is that baddr is only accesible through RBinObject and
I think it should be within RBin at least.

This was working before cause rabin2 was being called but without -B as
parameter. I have resorted for eprintf message so the user can configure as his
need.
2016-11-07 19:47:56 +01:00
Álvaro Felipe Melchor
00b0f8fb0e Update focus theme and fix crash when switching themes 2016-11-07 18:38:45 +01:00
pancake
7217f1ab9e Update Dockerfile to use latest Ubuntu, Node and r2pipe 2016-11-07 15:34:22 +01:00
Sven Steinbauer
679ab60501 Print PZI flags for drr [FIX #6088] (#6149) 2016-11-07 12:13:40 +01:00
dx
57a67587fb anal: honor scr.color in axf (#6145) 2016-11-07 12:08:55 +01:00
pancake
33f7ef8ede Fix #6144 - asm.capitalize do not uppercase locals 2016-11-07 05:21:49 +01:00
pancake
ecd414a6bf Fix [p[x] len] regression introduced in the ph fix 2016-11-07 04:52:38 +01:00
pancake
de2cc698ba Only blockread when needed in ph 2016-11-07 03:36:49 +01:00
pancake
637e6db3e1 Initial fix for #5113 - axf not working 2016-11-07 03:13:17 +01:00
SkUaTeR
83b07099e0 Implemented basic FPU regs for the winx64 debugger 2016-11-07 02:58:34 +01:00
pancake
6ff015ce29 Fix #6098 - Simplify cyclomatic complexity calculation 2016-11-07 02:55:27 +01:00
pancake
baf53e4869 Fix #6127 - ph was breaking tmpseek 2016-11-07 02:33:09 +01:00
pancake
8ecb580aa7 Add dylinker and libsystem for rabin2 -C mach0, still not working 2016-11-07 01:56:25 +01:00
Álvaro Felipe Melchor
66c96aec04 fix range in aac to avoid long loop 2016-11-06 23:42:09 +01:00
Álvaro Felipe Melchor
195d1da7e1 fix integer overflow pe.c 2016-11-06 23:10:17 +01:00
pancake
ab28917568 Honor --without-debugger for linux-coredump 2016-11-06 22:04:45 +01:00
Álvaro Felipe Melchor
302d3f52e9 Take into account section alignment 2016-11-06 22:00:08 +01:00
dx
76dab54b96 Fix #6124 - ensure "#\t" doesn't get processed as a command (#6132)
This whitelists #! and #? and considers every other line starting with #
as a command, handled at r_core_cmd_subst() instead of reaching
cmd_hash(), because if that happens, file redirections and other
modifiers may get processed too in lines that otherwise look like
comments.
2016-11-06 21:54:50 +01:00
dx
34c63c8db9 Fix #2401, #2402, #6133 - p8/pB/px with negative len (#6134)
p8 (#2401) and pB (#2402) were broken, and px wasn't cleaning up
correctly after changing the block size (#6133).

The fix for the last one involved deferring block size cleanup to the
r_core_block_size() call at the end of the function, and moving that
call *after* seeking to the original position instead of before (which
is what was making it leave data with the wrong offset in core->block)

After simplifying that, the fix to the p8 and pB issue is just calling
r_core_block_size() to reread the block like px does.
2016-11-06 21:54:25 +01:00
dx
d00b9f3f79 cmd_help: Remove # [algo] [len] from main help (it's ph now) (#6138)
It was renamed by 5683e45cb2a7c60b422aa7943a049616ec1607d7, which just
missed removing it from here.
2016-11-06 21:54:02 +01:00
pancake
7269a29be6 Fix #6135 - arm64 can hwstep 2016-11-06 21:52:47 +01:00
pancake
03028730f0 Fixed a bug of Cf in pd 2016-11-06 02:12:10 +01:00
pancake
e7009d9be2 Fix #6075 - Add CCf to list all comments in current function 2016-11-06 01:40:51 +01:00
pancake
b04e1f2c4c Fix #6060 - Add Cr command to run commands in meta for disasm 2016-11-06 01:16:02 +01:00
pancake
babfd7e10a Fix #6005 - Sf as an alias for S 0 0 foo mrwx 2016-11-06 00:49:44 +01:00
dromero
ac644878a8 Send KILL to child on ^C in dc when dbg.consbreak is set 2016-11-06 00:46:10 +01:00
pancake
2a5afa18e8 Fix dm= colors 2016-11-06 00:43:28 +01:00
Álvaro Felipe Melchor
7d1c1daa14 more work on dmi 2016-11-05 15:10:14 +01:00
Álvaro Felipe Melchor
1e80f45e6e refix dmi issue 2016-11-05 13:09:08 +01:00
pancake
7a15e5acb9 Fix dmm/dmi baddr issue 2016-10-28 23:25:14 +02:00
Sven Steinbauer
e797258741 Test for valid numbers in arm getnum function (#6118)
* Test for valid numbers in arm getnum function

Using strtod it's possible to test if the string passed in is a valid
number

Also handles hexvalues

* KISS the fix
2016-11-05 10:38:42 +01:00
pancake
bdcd1df8c5 Add linux-arm64 sflib support for ragg2-cc 2016-11-05 04:53:24 +01:00
pancake
afd70ba590 Fix VVvr empty fcn renaming name 2016-11-05 01:18:32 +01:00
Álvaro Felipe Melchor
32a53fc86f Fix #6106 - fix symbol parsing coff 2016-11-05 01:05:20 +01:00
pancake
04c5c8c77f Fix pdrj JSON 2016-11-05 00:46:00 +01:00
Moritz Eckert
ba3ed8f7f6 Fix pi -x Issue (#6117) 2016-11-04 23:15:54 +01:00
Francesco Tamagni
a235726efb Fix ljmp with immediate segment:offset (#6125) 2016-11-04 23:11:32 +01:00