libr: remove some old "mrwx" permissions. m does not exist anymore (#10067)

This commit is contained in:
Riccardo Schirone 2018-05-10 20:35:33 +02:00 committed by GitHub
parent 223232737a
commit 3961a34584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -168,7 +168,7 @@ static RList * sections(RBinFile *bf) {
ptr->vsize = segments[i].size;
ptr->paddr = segments[i].paddr;
ptr->vaddr = segments[i].paddr;
ptr->srwx = r_str_rwx ("mrwx");
ptr->srwx = r_str_rwx ("rwx");
ptr->add = true;
r_list_append (ret, ptr);
}

View File

@ -17,7 +17,7 @@ static const char *help_msg_S[] = {
"S=","","list sections (ascii-art bars) (io.va to display paddr or vaddr)",
"Sa","[-] [A] [B] [[off]]","Specify arch and bits for given section",
"Sd[a]"," [file]","dump current (all) section to a file (see dmd)",
"Sf"," [baddr]","Alias for S 0 0 $s $s foo mrwx",
"Sf"," [baddr]","Alias for S 0 0 $s $s foo rwx",
"Sj","","list sections in JSON (alias for iSj)",
"Sl"," [file]","load contents of file into current section (see dml)",
"Sr"," [name]","rename section on current seek",
@ -342,9 +342,9 @@ static int cmd_section(void *data, const char *input) {
case 'f': // "Sf"
if (input[1] == ' ') {
ut64 n = r_num_math (core->num, input + 1);
r_core_cmdf (core, "S 0x%"PFMT64x" 0x%"PFMT64x" $s $s foo mrwx", n, n);
r_core_cmdf (core, "S 0x%"PFMT64x" 0x%"PFMT64x" $s $s foo rwx", n, n);
} else {
r_core_cmd0 (core, "S 0 0 $s $s foo mrwx");
r_core_cmd0 (core, "S 0 0 $s $s foo rwx");
}
break;
case 'j': // "Sj"