19401 Commits

Author SHA1 Message Date
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
David CARLIER
38d9170f5d Further mem leak fixes (#11398) 2018-09-05 14:56:29 +02:00
pancake
be913de0f4 Add minor tweaks for r2wars from @skuater and the cfg.r2wars option 2018-09-05 13:37:20 +02:00
pancake
8ddd5420d1 Fix syntax issues in white2 theme 2018-09-05 12:08:48 +02:00
morbith-dqtz
a95fb331da linux_heap_glibc : dmha and dmht, check threaded arenas free status (#11390)
Only parse tcache if isn't freed otherwise parses trash
Print free if the threaded malloc is
free'em all!
2018-09-05 11:24:41 +02:00
pancake
e51c776294 After release version bump 2018-09-05 11:18:35 +02:00
Dragoon Aethis
4ce272ef1c We don't make mistakes... just happy little segfaults. (#11393) 2018-09-05 11:17:50 +02:00
Antonio Rodriguez
e335e4e97c Fix ESIL for 'push esp' (#11384)
The esp value pushed should be it's old value (before being decremented).

Don't know if this ESIL expression is the more suitable, but it works. 
Adding a test to radare-regresions for this.
2018-09-05 11:02:33 +02:00
David CARLIER
89d6b8138c Fix couple of minor issues. (#11388) 2018-09-05 11:01:07 +02:00
Yoav Fuchs
00144a348c fix arm esil write back (ldr ip, [r3, 4]!). (#11387) 2018-09-04 11:40:33 +02:00
pancake
d5e9539ec8 Release 2.9.0 - Codename pre-r2con2018 2.9.0 2018-09-04 01:55:31 +02:00
radare
6ef364521f
Fix #11370 - rahash2 showing the same checksum when passing multiple files (#11372) 2018-09-04 01:28:13 +02:00
pancake
ab671d19d7 Fix #11374 - axtj infinite recursion issue 2018-09-04 01:26:10 +02:00
pancake
f1dc368018 Fix #11383 - Invalid initial block contents when opening with no file 2018-09-04 01:16:13 +02:00
morbith-dqtz
2806266c36 linux_heap_glibc : (#11382)
Fix first chunk offset for tcache mmaped heap
Frees temporary sctruct at tcache checkout
Removes "size_tmp > top_size" :
   This control declare chunk as corrupted if its size is grather
   than size that figures in the top_chunk size filed
2018-09-03 23:53:38 +02:00
radare
69e5499f69
Fix last coverity issue found in the ELF parser (#11369) 2018-09-03 23:47:02 +02:00
Florian Märkl
462a4db7a8 Fix leak in r_anal_vtable_search() (#11371) 2018-09-03 23:46:42 +02:00
Neven Sajko
b0436220dc libr/cons: Do proper signal handling, use pselect (#11376)
Fixes async-signal-safety and changing errno within the signal handler
for SIGWINCH, which can cause crashes and maybe security issues.

For async-signal-safety make the signal handler just set a flag, which
is checked for while waiting for input (pselect).

SIGWINCH is blocked process-wide, except in pselect.
2018-09-03 23:46:13 +02:00
Khairul Azhar Kasmiran
e8a4606cc6 x86.nz: dest size for mov [reg], imm is reg size (#11375) 2018-09-03 23:45:43 +02:00
Fangrui Song
30d2d072b0 Fix memleak in fcn.c (#11378) 2018-09-03 23:42:22 +02:00
Riccardo Schirone
7936da85fd
enable codecov.io (#11279)
* enable codecov.io
2018-09-03 18:05:29 +02:00
Riccardo Schirone
c610b85209
asm/asm_x86_nz: fix "rep" instructions (#11373) 2018-09-03 18:03:27 +02:00
jvoisin
217edd4be5 Add mmap/munmap types 2018-09-03 15:46:41 +02:00
Fangrui Song
b9250fae43 Remove dumpSection{,s}ToDisk since Sd has been removed (#11323) 2018-09-03 11:25:48 +02:00
Francesco Tamagni
885797d523 Fix r_buf_free (#11367)
- avoid calling free() if r_buf_fini returns early
2018-09-03 11:19:51 +02:00
Riccardo Schirone
70aa10fc08 linux_heap_glibc: variable should be declared outside if/else blocks 2018-09-03 11:19:26 +02:00
Riccardo Schirone
107fd678d4 io: io_create_mem_map and io_create_file_map private to the module 2018-09-03 11:18:10 +02:00
Riccardo Schirone
49e548bff9 io: make update_skyline private 2018-09-03 11:18:10 +02:00
Riccardo Schirone
d196c755dd io: make r_io_map_add always update skyline
keep a "private" version named io_map_add that can be used for
performance reaons internally in the io module.
2018-09-03 11:18:10 +02:00
Riccardo Schirone
be8ece36a7 io: make r_io_map_new always update skyline
keep a "private" version, named io_map_new, which can be called by the
io module for performance reasons (e.g. loading many maps, you don't
want to sync the status every time when you can do that only one time at
the end of the batch insertion).
2018-09-03 11:18:10 +02:00
radare
f75a4bcd5d
Fix #10910 - Fix 'str r0, [r0]' (as well as ldr) (#11355) 2018-09-03 11:17:23 +02:00
morbith-dqtz
a8433785b9 Update two preprocessor directives left (#11366) 2018-09-03 10:43:33 +02:00
pancake
31e7948c28 Fix #11363 - Make ~... work with dos-style line-breaks 2018-09-03 10:37:35 +02:00
Riccardo Schirone
eee1385466
Meson private (#11331)
* meson: refactor library cflags
* meson: use visibility=hidden by default
* remove unused var
* magic/meson: replace tabs with spaces
2018-09-03 10:07:28 +02:00