19334 Commits

Author SHA1 Message Date
pancake
b25653ec2a Honor ^C in /h 2018-09-12 00:47:07 +02:00
Maijin
394d125b79
Check canary with symbols fix #11477 2018-09-11 14:00:12 +02:00
Konrad Beckmann
8c8b5823fe Fix #11480 Fix crash when asm.decoff is enabled (#11481) 2018-09-11 09:55:18 +02:00
Riccardo Schirone
5099a481f1
core/disasm: fix double free when freeing ds->hint (#11484) 2018-09-11 09:48:13 +02:00
pancake
4e2ab95628 Fix eco crash and add ecoq 2018-09-10 17:36:17 +02:00
pancake
f90b534a4d Fix several bugs introduced during r2con 2018-09-10 16:33:29 +02:00
Maijin
2b8c94c2cf Fix #11418 dbg_file in full (#11453) 2018-09-10 16:25:50 +02:00
David CARLIER
497148b0cd disasm leak fix & warning silencing. (#11475) 2018-09-10 15:47:47 +02:00
Fangrui Song
2aef3b7be3 Remove RIOAccessLog (#11238)
There were introduced in siol but it is apparent that nobody uses the
API in the year. They make up a significant unused part of IO that distract readers enough and would hamper further IO cleanups.

Their introduction was probably an instance of XY problem. They were supposed to facilitate analysis, esil and debugging io but how they could benefit the features is never clearly justified.
Usually, you not only need raw bytes but also metadata attached to them.
You would have to add a layer on top of RIOAccessLog anyway, render them not so useful.

These stuff are still in git histories. They can be revived anytime when their values are clearly testified.
2018-09-10 15:39:31 +02:00
Michael Scherer
03b449c099 Fix #11454 - Evaluate va before applying workaround for raw binaries (#11463)
In 764a3cc, the code got moved upper, but one case got forgotten,
since it did depend on va to be updated before, which wasn't moved.
2018-09-10 14:52:00 +02:00
Paolo Monti
8dd9045eaf Fixing assembly of inc/dec (#11466)
* Some initial fixes

* Better fix

* More support for inc and dec assembly

* Fix 32 bits stuff
2018-09-10 10:32:12 +02:00
Northern-Lights
eea598d980 Fix #11464, reinstate Ct functionality (#11465)
* Step 1 in fixing Ct: behave like CC

* Strip functionality irrelevant to Ct

* Rename Ct function

* In Ps, dedicate formatting for Ct

* Do not escape Ct comments

* Cleaner sanitize (but not escape) for Ct comments

* Reinstate Ct. [@ addr] command

* Add help msgs for Ct

* Free mem-leaked comments

* Use strdup instead of r_str_ndup
2018-09-10 10:27:47 +02:00
Maijin
57024df5f3 Enhance aaa log (#11452) 2018-09-09 14:47:44 +08:00
Luca Di Bartolomeo
f9b051bbd4 Removed duplicate reflines on local labels (#11458) 2018-09-09 14:26:19 +08:00
Giovanni
1dbdabf83c C-Sky and MCore support for r2 (#11448) 2018-09-08 19:52:33 +02:00
Maijin
1e429810eb Add VStudio Code in gitignore 2018-09-08 19:07:48 +02:00
ylmrx
7a5a4c9661 Several themes related changes [r2con] (#11435)
- Adding a command ('ecoc') to print current color theme (c->current).
- Documenting the available themes JSON listing.
- defining a specific 'eco?' for themes related commands.
- Adding a cute little arrow to point current theme when listing themes.
- Replacing nextpal() with r_core_list_themes(), for the list, so the
code is less confusing (it's still used elsewhere ('ecp', 'ecn'), didn't remove it)
- Correcting several typos in eval docs
2018-09-08 19:03:33 +02:00
David CARLIER
1eae637f4b Fix #11424 attempt. (#11451)
Deduplicate java function entries.
2018-09-08 18:28:54 +02:00
Adrian Pistol
3b88e32ea8 cmd_open: Make on use r_io_open_at. (#11436) 2018-09-08 18:28:31 +02:00
Anisse Astier
1b36c2485e esil: improve arm64 simple store pre/post index emulation for r2wars
While writing an r2wars bot, I found that there was a missing emulation
of pre/post index of arm64. It's supported for ldp/stp, but not
single-register stores.
2018-09-08 18:27:27 +02:00
Anisse Astier
ee20c191e6 esil: fix arm64 stp comment
preindex has a !
2018-09-08 18:27:27 +02:00
Pavel Krčma
318012c2dc A quick fix for Android native build (#11449) 2018-09-08 17:54:20 +02:00
Maijin
e935992de5 More verbose idpd 2018-09-08 13:11:10 +02:00
Maijin
44ecf11e56 Add ptrace in fcn database 2018-09-08 12:47:07 +02:00
morbith-dqtz
0baadb414c linux_heap_glibc: fix dmhf and allows dmhf @thread_arena (#11441) 2018-09-08 12:29:31 +02:00
klobs
6069422d0c Mention "l" command in help text (#11446)
The "l" command is currently missing in the help.
2018-09-08 12:29:12 +02:00
fcasal
d6aa6e94a3 Fixes one crash of #11407 (#11443) 2018-09-08 12:08:48 +02:00
Кirils Sоlovjоvs
0f40eee44d Fixing some typos in fortunes.fun (#11438)
+ 1 change
2018-09-08 12:06:00 +02:00
Vanellope
36c1a9873b Fixed putting a breakpoint by F2 does not refresh the Panel (#11439) 2018-09-08 12:05:38 +02:00
jvoisin
ccf8008798 Add even moar help 2018-09-07 16:42:36 +02:00
Adrian Pistol
fe6f9badb5 radare2: Try to detect color support and set scr.color accordingly. (#11420) 2018-09-07 16:29:35 +02:00
jvoisin
9fd8f5068b Add help for p6[de] 2018-09-07 16:28:49 +02:00
jvoisin
3b0cdc0679 Streamline help in pr and prg 2018-09-07 16:19:25 +02:00
Riccardo Schirone
07bff5eb11 cons/d/xvilka: make nops a bit more visible (#11432) 2018-09-07 21:29:15 +08:00
ylmrx
7a2a9900a2 several inline documentation enhancements (#11429)
* - avoid the ugly lack of space between the command and its description
in the usage lines.
- avoid the confusing sections (cf. 'i?')
- prettier general help (cf. '?') -> use r_core_cmd_help instead of
r_cons_printf (#7967)

with help and advices from jeisonwi

* - strlen() is better than sizeof()
- coding style correction.
2018-09-07 15:03:01 +02:00
Vanellope
8848cfdbc9 Save/Load the layout settings of Panels is supported. (#11380) 2018-09-07 15:02:45 +02:00
Paolo Monti
bef42b22b3 Fix #11040 (#11409)
* Fix rex prefix for mov reg,reg
* Fixed overwriting of a->bits
2018-09-07 11:38:38 +02:00
jvoisin
93c99fb6ba Add some help, remove some useless one (#11428) 2018-09-07 11:38:08 +02:00
Pierre Pronchery
7b1f59b682 Trivial build fixes for NetBSD (#11423)
* Fix build on NetBSD
* Only use WIFCONTINUED if available
2018-09-07 11:37:40 +02:00
Maijin
289beaedcb
Update rarun2.1 2018-09-07 11:21:58 +02:00
Кirils Sоlovjоvs
85d69039c6 shortened -e to -r 2018-09-06 20:05:06 +00:00
Кirils Sоlovjоvs
907636d7d3 Fix manpage of rarun2 2018-09-06 20:05:06 +00:00
Luca Di Bartolomeo
0988bd9820 Fix garbage printed when vsplit large output (#11417) 2018-09-06 22:19:25 +08:00
David CARLIER
09e8ccead3 Redo the previous PR. (#11415)
Fix couple of memory leaks only removed
one faulty line which led to garbage.
2018-09-06 12:43:50 +02:00
xarkes
a7122b0062
Improved cutter theme (#11412) 2018-09-06 11:22:01 +02:00
Riccardo Schirone
78792d4c8e flag/d: explicitly name files, to ensure reproducibility 2018-09-06 09:31:48 +02:00
Riccardo Schirone
1b32083995 Travis was green (#11408)
* anal_x86: keep same syntax and POP value out of esil stack in push sp

NOTE: The other syntax was causing issues in afta, not sure why

* Revert "Further mem leak fixes (#11398)"

This reverts commit 38d9170f5da82ece05d1b90e366763999e633e34.

* anal_x86_cs: just use one expression for the PUSH x86 operation

* libr/core/cmd: set core_sysenv only when calling external scripts
2018-09-06 03:51:02 +02:00
kij
4c0f24fb3f fixt type (#11406)
ist kv -> list kv
2018-09-05 19:43:09 +02:00
radare
d86ddacca9
Fix #11401 - Fix buffer overflow in ARC disassembler (#11405) 2018-09-05 19:30:08 +02:00
Riccardo Schirone
1129dde243
travis-script: exit if tests do not pass (#11402) 2018-09-05 17:16:35 +02:00