40 Commits

Author SHA1 Message Date
pancake
3cc1bc594e Handle 'git' command (from system PATH) ##shell 2021-09-25 12:41:23 +02:00
pancake
9a2636b32b
Remove other useless and incomplete treesitter leftovers and get +400 new commands in the recursive help ##shell 2021-08-14 18:28:20 +02:00
pancake
4852ebea46
Add Lg to list egg plugins (#18801) 2021-06-04 14:43:18 +02:00
Anton Kochkov
87b10ed586 Fix formatting warnings 2020-11-02 18:58:37 +08:00
Riccardo Schirone
2ffa790e0a
Generate help automatically ##newshell (#16782)
* Add additional RCmdStatuses
* ?? should be a cmd_identifier, not help_command
2020-06-17 21:29:23 +02:00
pancake
f8a9011924
Rename core.assembler to core.rasm (#16814) 2020-05-13 01:28:23 +02:00
Riccardo Schirone
66f7403245 Rewrite the RBuffer API to make it safer and adjust the codebase ##refactor (#13656)
* Reimplement r_buf_fread/fwrite
* Add slice buffer and introduce readonly field
* Do nothing if size is 0
* Prevents an overflow when 8 is subtracted from size.
* Fix ragg2 when patching outside currently existing buffer
* Implement r_mem_mmap_resize for systems where mremap is not defined
* r_buf_buffer can be called with no size arg as well
* Use size_t instead of ut64
2019-05-15 15:34:06 +02:00
Riccardo Schirone
3f4580b031
Make buf field private in RBuffer (#13473)
* Fix pemixed build (and include it in meson build)
* Do not use base_priv in yank, it was wrongly used.
2019-03-26 20:32:53 +01:00
Riccardo Schirone
0948f9536b
Use r_buf_size to get the size of a buffer, not the private field (#13380)
* Use r_buf_size to get the size of a buffer, not the private field
* Use r_buf_seek instead of adjusting the private cur RBuffer field
* use r_buf_read instead of r_buf_read_at(.., cur, ..)
* Fix RBuffer usage in REgg
* Introduce r_buf_tell API instead of using seek
* write_at(cur) == write
2019-03-15 20:28:52 +01:00
pancake
dc74fbd746 Fix more memleaks 2018-03-14 15:31:08 +01:00
pancake
4e44e8e18e Fix compilation warnings on Linux 2018-02-09 18:45:54 +01:00
pancake
31d550a54b Introduce r_sys_prefix 2018-01-16 11:58:47 +01:00
Andrea Sindoni
0d872e90ab Added a show command, and some fixes (#9191)
* Added a show command, and some fix
* Set a new format for the gS command
* Some fixes for the gS command
* change eprintf with r_cons_printf in the gS command
2018-01-16 11:01:35 +01:00
Andrea Sindoni
93f9fbb79b Proposal for the gi/ge commands (#9190) 2018-01-14 10:21:02 +01:00
invictus1306
ac091ff05a Added some checks for the gs command 2018-01-07 20:25:04 +01:00
invictus1306
a904f171b5 Fix the creation of the shellcode 2018-01-07 20:25:04 +01:00
invictus1306
7ffbe47304 Add the free for egg variable in the compile shellcode command 2018-01-04 01:24:54 +01:00
Fangrui Song
335f2c62fc refactor r_core_cmd_init and add more help messages (#8171) 2017-08-10 11:52:13 +02:00
Ayman Khamouma
9ae1526bbb Fix remaining glitches with recursive help #7528 (#7562) 2017-05-22 02:54:26 +02:00
Ayman Khamouma
a9a0c7e385 Fix #7524 - Fix help messages for recursive help parser (#7525) 2017-05-18 23:13:18 +02:00
Jayakrishna Menon
6e10108555 Add gi and ge commands and r2-indent it 2017-03-09 23:43:28 +01:00
pancake
b4508d5f50 Fix gs regressions 2017-02-03 13:06:03 +01:00
Maijin
ffd8ecd14b Add remaining [?] 2016-11-26 14:57:21 +01:00
Jeffrey Crowell
c145740030 replace r_cons_printf("%s\n",p) r_cons_println(p)
move from 10% of code in vfprintf to just 6% \o/ for simple tests of r2
-c "aaa" -q /bin/ls
2016-06-26 00:52:03 -04:00
Jeffrey Crowell
9518841434 refactor includes (#4757) 2016-05-03 04:52:41 +02:00
pancake
b515a34676 More stdboolification 2015-09-14 12:35:38 +02:00
pancake
4322640635 Fix class method naming 2015-08-26 15:00:30 +02:00
pancake
53189dd87a Implement dd for OSX/iOS and Fix dd- and gs on OSX 2015-08-26 03:07:20 +02:00
Álvaro Felipe Melchor
693e728959 Fix #2868 2015-07-05 20:44:03 +02:00
pancake
2096e855ba Fix gs0 crash 2015-04-16 17:49:17 +02:00
pancake
de22fe28d9 Fix 7 more issues from #2220 // 3 left 2015-03-23 00:05:18 +01:00
pancake
ef6c71208d Fix tons of input crashes reported in #2220 2015-03-22 23:24:13 +01:00
jvoisin
bed307e818 even moar colorz in help 2014-06-28 16:35:15 +02:00
pancake
bb7958342b Deprecate RPair API and ?k. Use SDB and integrate it with 'k' 2014-03-07 01:26:11 +01:00
pancake
4c8346fd8a Fix more coverity issues 2014-01-18 23:02:53 +01:00
pancake
a4d3cc6a31 Add 'pae' command to show esil from hexpairs
* Add some more prefixed help messages
2013-12-23 01:57:43 +01:00
pancake
e5ce1cd5d4 Implement 'cat' and 'cd' and do some fixes for 'di' code injection 2013-08-29 19:46:48 +02:00
pancake
edeb53d855 Fix help messages for 'g' 2013-08-29 04:47:27 +02:00
pancake
0c108154b5 Add 'gs' to assemble syscall eggs and 'dis' to inject them 2013-08-29 04:44:18 +02:00
pancake
1b2c8064ff * More split of core/cmd.c
* Fix 'dbc' argument parsing
* Fix V_q error message
* Remove unused code
2012-02-27 03:07:32 +01:00