mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 09:00:46 +00:00
Fix #6005 - Sf as an alias for S 0 0 foo mrwx
This commit is contained in:
parent
ac644878a8
commit
babfd7e10a
@ -118,6 +118,7 @@ static int cmd_section(void *data, const char *input) {
|
||||
"Sa","[-] [A] [B] [[off]]","Specify arch and bits for given section",
|
||||
"Sd[a]"," [file]","dump current (all) section to a file (see dmd)",
|
||||
"Sl"," [file]","load contents of file into current section (see dml)",
|
||||
"Sf","","Alias for S 0 0 $s $s foo mrwx",
|
||||
"Sj","","list sections in JSON (alias for iSj)",
|
||||
"Sr"," [name]","rename section on current seek",
|
||||
"S"," off va sz vsz name mrwx","add new section (if(!vsz)vsz=sz)",
|
||||
@ -131,6 +132,9 @@ static int cmd_section(void *data, const char *input) {
|
||||
r_core_cmd_help (core, help_msg);
|
||||
// TODO: add command to resize current section
|
||||
break;
|
||||
case 'f':
|
||||
r_core_cmd0 (core, "S 0 0 $s $s foo mrwx");
|
||||
break;
|
||||
case 'j':
|
||||
r_core_cmd0 (core, "iSj");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user