mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-12 00:36:14 +00:00
Fix #11018 - Add missing C types in C*
This commit is contained in:
parent
a61d80ff9f
commit
1262027b72
@ -450,15 +450,18 @@ R_API RAnalMetaItem *r_meta_find_in(RAnal *a, ut64 at, int type, int where) {
|
||||
R_API const char *r_meta_type_to_string(int type) {
|
||||
// XXX: use type as '%c'
|
||||
switch (type) {
|
||||
case R_META_TYPE_HIDE: return "Ch";
|
||||
case R_META_TYPE_CODE: return "Cc";
|
||||
case R_META_TYPE_DATA: return "Cd";
|
||||
case R_META_TYPE_CODE: return "Cc";
|
||||
case R_META_TYPE_STRING: return "Cs";
|
||||
case R_META_TYPE_FORMAT: return "Cf";
|
||||
case R_META_TYPE_MAGIC: return "Cm";
|
||||
case R_META_TYPE_HIDE: return "Ch";
|
||||
case R_META_TYPE_COMMENT: return "CCu";
|
||||
case R_META_TYPE_RUN: return "Cr"; // not in C? help
|
||||
case R_META_TYPE_HIGHLIGHT: return "CH"; // not in C?
|
||||
case R_META_TYPE_VARTYPE: return "Ct";
|
||||
}
|
||||
return "(...)";
|
||||
return "# unknown meta # ";
|
||||
}
|
||||
|
||||
static bool isFirst = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user