Commit Graph

22 Commits

Author SHA1 Message Date
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
Riccardo Schirone
c09e60843e Fix old uses of @@ and @@@ (#409) 2021-01-25 00:34:58 +01: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
Riccardo Schirone
c1c54be39e Change macro syntax to use ; instead of ,
This change is to ease the switch to the new parser and make the syntax
more consistent and easy. As things were before this patch, ',' could be
part of an argument of a command, but at the same time it was used as a
separator when defining a new macro. This difference in how `,` is
interpreter, makes parsing commands harder, as grep specifiers,
arguments, etc. should be parsed differently based on whether they are
inside a macro body or not.

By switching to using `;` as separator in the macro body, arguments,
grep specifiers, etc. can be parsed as they would be outside of a macro
body, making the new parser more consistent and easier.
2020-03-11 00:11:01 +01:00
pancake
99eeff0bda Fix #7653 - inline macro foreach 2017-10-09 13:31:19 +02:00
Fangrui Song
a635b34c77 Move const char help_msg_*[] arrays to top (#8250) 2017-08-21 09:53:23 +02:00
pancake
27c60ea634 Fix crash in macros 2016-10-18 02:08:53 +02:00
Anton Kochkov
c23c5971a2 Fix macroses help 2016-09-05 04:45:41 +03:00
Jeffrey Crowell
9518841434 refactor includes (#4757) 2016-05-03 04:52:41 +02:00
Maijin
530dbe72c1 Save/restore macros in projects fix #4050 2016-02-07 00:51:26 +01:00
jvoisin
e4b1246b82 Close #1316
And colorize (? too.
2014-09-09 02:39:07 +02:00
pancake
836803d786 Sdbize RBin.list_archs(). Expose addrinfo in 'k bin/fd.#/addrinfo/*' 2014-04-23 03:57:13 +02: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
0a3e867392 Fix linking and do some minor changes 2013-12-22 03:24:12 +01:00
pancake
8846cb79cf Pass t/test.arm, new cmd !123 to run historic command
Fix all opcode constructions listed in t/test.arm
Add 'hlt' opcode for arm.
Minor changes in arm disassembly output
Typing !#number you re-run the command in !history
!history is now listed (! is an alias)
Added API to access history from dietline
2013-03-14 02:32:53 +01:00
pancake
1f1b0f32e9 Better help for '?' '???' '?$?' '@' and others.. 2012-12-22 03:37:50 +01:00
pancake
2e83fa67b8 Fix python bindings: do not use homonim methods and fields 2012-09-19 14:08:44 +02:00
pancake
5bf36a6b74 Fix sC, remove printfs and add more cfg descriptions 2012-07-12 04:21:56 +02:00
pancake
99774c723f Fix help messages, macro call and implement temporary seek syntax (x@+3) 2012-07-12 03:55:09 +02:00
pancake
810d9a3dbc * Put rax2 buf in .bss instead of the stack
* Add support for wide string dump in r_bin
* Fix detection of data section in PE
* Show error if temporary seek flag does not exists
* Fix wrong disassmbly with 'pd' (invalid)
2012-05-30 03:23:53 +02:00
pancake
906275f98e * Fix echo - | rax2 -S bug
* Do not show fortunes if -q is passed
* Add support for anonymous macros
* Add support for quoted strings and backspaced
  spaces in macro arguments
* Fix r_num_get call from calc.c (a +3 == a+3)
2012-05-25 01:14:49 +02:00
pancake
d37de2367d * Split libr/core/cmd.c 2012-02-27 02:40:27 +01:00