64 Commits

Author SHA1 Message Date
Riccardo Schirone
3961a34584
libr: remove some old "mrwx" permissions. m does not exist anymore (#10067) 2018-05-10 20:35:33 +02:00
pancake
1adac87918 Update sdb-1.1.0, update calls to sdb_fmt() 2018-04-10 23:52:47 +02:00
pancake
335938be58 r_str_chop -> r_str_trim 2018-01-08 03:22:26 +01:00
Ziyaddin Sadigov
d4dd6fd5e6 Fix typo regarding byte size (#9067) 2017-12-27 18:33:58 +01:00
Fangrui Song
63731e9e81 Add help for ~:[s]-[e] show lines s-e & fix #8164 recursive help (#8474)
* Move r_core_cmd_help features to grep.c:r_cons_cmd_help to avoid dependency on r_core from r_cons
* Beautify r_cons_cmd_help & fix wp? & p?
* Fix #8164 recursive help (and add partial support for ??* ???*) & NULL terminate fz? Sl? Sr?

The support for ???* is partial because the current ad-hoc command
parser is obscure and hard to extend.
2017-09-12 11:05:24 +02:00
alvarofe
1a2857539f Add bin_id into S creation command 2017-09-04 17:51:47 +02:00
alvarofe
ee98981940 Some fixes IO related 2017-09-04 17:51:47 +02:00
alvarofe
a8efcbae32 Minor changes to use API instead of pointers manipulation 2017-08-30 19:01:52 +02:00
Fangrui Song
f91a3bba6f cmd_section.c: add command name beside case labels (#8348) 2017-08-28 10:17:34 +02:00
pancake
37673daebf Revert "fix for #8285"
This reverts commit b95b67ef208d1022e16d4db84d2010c53e619eba.
2017-08-26 03:03:31 +02:00
pancake
777090aa27 Implement om= and o= inside core, not io 2017-08-26 01:50:57 +02:00
pancake
7650fd3b20 Bring back S= 2017-08-26 01:05:22 +02:00
condret
b95b67ef20 fix for #8285 2017-08-24 14:13:43 +00:00
pancake
ad0aba8ca7 Invert output of S= 2017-08-23 12:20:33 +02:00
Fangrui Song
8a9fb41a16 Fix section flags and more siol fixes 2017-08-23 01:09:45 +02:00
condret
0161fa0ec2 make read_at bool again and implement RIOAccessLog for accurate error-handling
This reverts commit a9bf4aae2bdca2c139f482c3f0e098fe6ece1ee0.
2017-08-22 17:24:04 +00:00
Fangrui Song
a9bf4aae2b Misc fixes to siol (#8262)
* Fix onIterMap (divide-and-conquer like USACO Shaping Regions), check return values of every `op` call
* Change return types of r_io_read_at and friends back to `int`
* Fix some analysis tests and others
* Fix mem leaks
2017-08-22 10:46:48 +02:00
condret
2f201bded0 opsalamance - merge the big siol branch
- Thanks @MaskRay and @condret
2017-08-22 09:42:16 +02:00
Fangrui Song
86de0abd20 Use RList for cmd_descriptors, make it a member of RCore (#8034) 2017-07-27 14:52:17 +02:00
Fangrui Song
ea1c713112 S commands: move help_msg_*[] arrays to top (#8014) 2017-07-26 15:46:38 +02:00
Adrian Herrera
c7cc81e197 Add S.j command to print current section in JSON (#7490) 2017-05-14 23:16:35 +02:00
pancake
5433af7cb0 Fix build and several queues covs from previous analysis 2017-04-26 12:47:27 +02:00
pancake
a66cc10d46 Fix a huge list of null derefs from clang-analyzer 2017-04-17 22:02:04 +02:00
pancake
fd4efcfa70 Add asm.section.sub to the pointer dereference strings in disasm 2017-03-30 02:20:22 +02:00
pancake
7a0a11f500 Apply minor naming and indent changes from the siol branch - thanks condret 2017-03-15 02:22:54 +01:00
pancake
a41a8252ae Initial import of the WIP support for WebAssembly (bin + disasm) 2017-03-02 14:42:05 +01:00
pancake
5c9ec63857 Add parameter to Sf 2016-11-08 14:27:37 +01:00
pancake
babfd7e10a Fix #6005 - Sf as an alias for S 0 0 foo mrwx 2016-11-06 00:49:44 +01:00
pancake
36085eb03d Add S.-* to remove all sections in current address 2016-11-04 12:21:42 +01:00
pancake
99fbd9bf9f Fix S-[id] 2016-11-04 05:00:30 +01:00
Álvaro Felipe Melchor
bb0f174c2f changed how remove sections 2016-10-07 00:54:24 +02:00
pancake
b966a8ddce Only recache hints if database changes. Huge speedup in pd 2016-09-20 11:34:08 +02:00
Álvaro Felipe Melchor
34c6e3e1a1 Fix #5543 - oob write in Sr command (#5598) 2016-08-24 00:23:14 +02:00
Jeffrey Crowell
9518841434 refactor includes (#4757) 2016-05-03 04:52:41 +02:00
pancake
b80904319d Fix #4194 - Remove RCons dependency from RIO 2016-03-14 00:11:31 +01:00
pancake
e007cf8c71 Fix last coverities 2016-01-07 14:08:25 +01:00
zlowram
dc828478a8 Implemented Sda command 2016-01-04 01:05:11 +01:00
Maijin
30209a3f4b Add mrwx in Section help
Add mrwx in Section help
2015-10-25 00:32:58 +02:00
pancake
0cfddf6961 Add more autocompletion for S command 2015-10-19 03:18:19 +02:00
Álvaro Felipe Melchor
82e02d15b0 Fix S= issues with paddr and vaddr 2015-10-14 00:11:35 +02:00
Álvaro Felipe Melchor
a7022f01a5 coding style and fix paddr in S= 2015-10-14 00:11:35 +02:00
pancake
b515a34676 More stdboolification 2015-09-14 12:35:38 +02:00
Riccardo Schirone
ffdbf919b1 io/section: add r_io_section_vaddr_to_maddr_try API
* fix r_io_section_vaddr_to_maddr
* rename r_io_section_maddr_to_vaddr and vaddr_to_maddr
2015-09-10 01:59:40 +02:00
Riccardo Schirone
eeef82c2b8 bin: use R_BIN_SCN_MAP flag when a section should be mapped by IO
- io/section: filter sections by looking at R_IO_MAP flag
- util/str: consider (m)apped flag when printing/parsing srwx info
2015-08-26 14:12:46 +02:00
pancake
87162dc8bf Add wta support for appending dump. 2015-04-03 04:11:26 +02:00
pancake
6de4e32000 Implement 'o=' command like 'S=' 2015-01-27 15:35:42 +01:00
pancake
b736119a4a Colorize S=, Add anal.gp and better op.refs for mips and x86
- Add anal.gp to make mips.cs code analysis happy
- S= honors scr.color
- Fixed x86(capstone,udis) memrefs for mov/cmp
2014-11-07 03:48:27 +01:00
pancake
8c43eddaa2 Honor io.va and scr.width in S= 2014-11-06 03:02:38 +01:00
pancake
ae9773808b Fix #1603 - Sj is an alias for iSj.
- Fix a typo in the 'wt' command
2014-11-01 04:13:50 +01:00
jvoisin
a60d82b800 Fix a lot of warnings for GCC
Less than 20 warnings remaining on my x86_64 GCC 4.9.1
2014-10-26 13:50:58 +01:00