mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 09:00:46 +00:00
Better description for a
signatures
This commit is contained in:
parent
8ef090c017
commit
eaa235a1b1
@ -263,9 +263,6 @@ R_API bool r_sign_deserialize(RAnal *a, RSignItem *it, const char *k, const char
|
||||
}
|
||||
RSignType st = (RSignType)*word;
|
||||
switch (st) {
|
||||
case R_SIGN_ANAL:
|
||||
eprintf ("Unsupported\n");
|
||||
break;
|
||||
case R_SIGN_NAME:
|
||||
DBL_VAL_FAIL (it->realname, R_SIGN_NAME);
|
||||
it->realname = strdup (token);
|
||||
@ -375,7 +372,7 @@ R_API bool r_sign_deserialize(RAnal *a, RSignItem *it, const char *k, const char
|
||||
}
|
||||
break;
|
||||
default:
|
||||
eprintf ("Unsupported (%s)\n", word);
|
||||
eprintf ("Unsupported (%c)\n", st);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -353,7 +353,7 @@ out_case_manual:
|
||||
// TODO #7967 help refactor: move to detail
|
||||
r_cons_printf ("Adding Zignatures (examples and documentation)\n\n"
|
||||
"Zignature types:\n"
|
||||
" a: bytes pattern (anal mask)\n"
|
||||
" a: bytes pattern, r2 creates mask from analysis\n"
|
||||
" b: bytes pattern\n"
|
||||
" c: base64 comment\n"
|
||||
" n: real function name\n"
|
||||
|
@ -19,7 +19,7 @@ typedef enum {
|
||||
R_SIGN_BYTES = 'b', // bytes pattern
|
||||
R_SIGN_BYTES_MASK = 'm', // bytes pattern
|
||||
R_SIGN_BYTES_SIZE = 's', // bytes pattern
|
||||
R_SIGN_ANAL = 'a', // bytes pattern (anal mask) // wtf ?
|
||||
R_SIGN_ANAL = 'a', // bytes pattern, input only, creates mask from byte analysis
|
||||
R_SIGN_COMMENT = 'c', // comment
|
||||
R_SIGN_GRAPH = 'g', // graph metrics
|
||||
R_SIGN_OFFSET = 'o', // addr
|
||||
|
Loading…
Reference in New Issue
Block a user