Rizin
unix-like reverse engineering framework and cli tools
|
Annotations for the decompiled code are represented using this structure. More...
#include <rz_annotated_code.h>
Public Attributes | |
size_t | start |
size_t | end |
RzCodeAnnotationType | type |
union { | |
struct { | |
ut64 offset | |
} offset | |
struct { | |
RSyntaxHighlightType type | |
} syntax_highlight | |
struct { | |
char * name | |
ut64 offset | |
} reference | |
struct { | |
char * name | |
} variable | |
}; | |
Annotations for the decompiled code are represented using this structure.
Definition at line 39 of file rz_annotated_code.h.
union { ... } |
size_t rz_code_annotation_t::end |
End of the range in the annotation(exclusive).
Definition at line 41 of file rz_annotated_code.h.
Referenced by foreach_offset_annotation(), rz_annotated_code_annotations_range(), rz_core_annotated_code_print(), rz_core_annotated_code_print_comment_cmds(), and rz_core_annotated_code_print_json().
char* rz_code_annotation_t::name |
Definition at line 63 of file rz_annotated_code.h.
Referenced by cmd_descs_generate.Arg::__str__(), cmd_descs_generate.Detail::__str__(), cmd_descs_generate.Arg::_get_choices_cname(), cmd_descs_generate.CmdDesc::_validate(), cmd_descs_generate.Detail::get_detail_entries_cname(), test_group_name.GroupTest::run(), and cmd_descs_generate.CmdDesc::str_tab().
ut64 rz_code_annotation_t::offset |
Definition at line 48 of file rz_annotated_code.h.
Referenced by foreach_offset_annotation(), rz_annotated_code_line_offsets(), rz_core_annotated_code_print_comment_cmds(), and rz_core_annotated_code_print_json().
struct { ... } rz_code_annotation_t::offset |
If the annotation is of type RZ_CODE_ANNOTATION_TYPE_OFFSET, offset should be stored in the struct named offset in this union.
struct { ... } rz_code_annotation_t::reference |
Information in annotations of type RZ_CODE_ANNOTATION_TYPE_FUNCTION_NAME, RZ_CODE_ANNOTATION_TYPE_GLOBAL_VARIABLE, and RZ_CODE_ANNOTATION_TYPE_CONSTANT_VARIABLE will be stored in the struct named reference in this union.
Referenced by rz_annotation_free(), and rz_core_annotated_code_print_json().
size_t rz_code_annotation_t::start |
Start of the range in the annotation(inclusive).
Definition at line 40 of file rz_annotated_code.h.
Referenced by foreach_offset_annotation(), rz_annotated_code_annotations_in(), rz_core_annotated_code_print(), rz_core_annotated_code_print_comment_cmds(), and rz_core_annotated_code_print_json().
struct { ... } rz_code_annotation_t::syntax_highlight |
If the annotation is of type RZ_CODE_ANNOTATION_TYPE_SYNTAX_HIGHLIGHT, type of the syntax highlight will be stored in the struct named syntax_highlight in this union.
Referenced by rz_core_annotated_code_print(), and rz_core_annotated_code_print_json().
RzCodeAnnotationType rz_code_annotation_t::type |
Definition at line 42 of file rz_annotated_code.h.
Referenced by cmd_descs_generate.Arg::__str__(), cmd_descs_generate.Arg::_get_choices_cname(), cmd_descs_generate.Arg::_get_union(), cmd_descs_generate.CmdDesc::_validate(), cmd_descs_generate.Arg::decl(), cmd_descs_generate.Arg::get_cstructure(), cmd_descs_generate.CmdDesc::get_handler_cname(), rz_annotated_code_line_offsets(), rz_annotation_free(), rz_annotation_is_reference(), rz_annotation_is_variable(), rz_core_annotated_code_print(), rz_core_annotated_code_print_comment_cmds(), and rz_core_annotated_code_print_json().
RSyntaxHighlightType rz_code_annotation_t::type |
Definition at line 55 of file rz_annotated_code.h.
Referenced by cmd_descs_generate.Arg::__str__(), cmd_descs_generate.Arg::_get_choices_cname(), cmd_descs_generate.Arg::_get_union(), cmd_descs_generate.CmdDesc::_validate(), cmd_descs_generate.Arg::decl(), cmd_descs_generate.Arg::get_cstructure(), and cmd_descs_generate.CmdDesc::get_handler_cname().
struct { ... } rz_code_annotation_t::variable |
Information in annotations of type RZ_CODE_ANNOTATION_TYPE_LOCAL_VARIABLE and RZ_CODE_ANNOTATION_TYPE_FUNCTION_PARAMETER will be stored in the struct named variable in this union.
Referenced by rz_annotation_free(), and rz_core_annotated_code_print_json().