84 size_t len = strlen(
code->code);
86 char *next = strchr(
code->code + cur,
'\n');
87 size_t next_i = next ? (next -
code->code) + 1 :
len;
RZ_API bool rz_annotation_is_reference(RzCodeAnnotation *annotation)
Checks if the specified annotation is a reference.
RZ_API void rz_annotation_free(void *e, void *user)
Deallocates dynamically allocated memory for the specified annotation.
RZ_API RzAnnotatedCode * rz_annotated_code_new(char *code)
Create and initialize a RzAnnotatedCode structure and returns its pointer.
RZ_API RzVector * rz_annotated_code_line_offsets(RzAnnotatedCode *code)
Returns the offset for every line of decompiled code in the specified RzAnnotatedCode.
RZ_API bool rz_annotation_is_variable(RzCodeAnnotation *annotation)
Checks if the specified annotation is a function variable.
RZ_API RzPVector * rz_annotated_code_annotations_range(RzAnnotatedCode *code, size_t start, size_t end)
Returns all annotations with range that overlap with the specified range.
RZ_API void rz_annotated_code_add_annotation(RzAnnotatedCode *code, RzCodeAnnotation *annotation)
Inserts the specified annotation into the list of annotations in the specified RzAnnotatedCode.
RZ_API void rz_annotated_code_free(RzAnnotatedCode *code)
Deallocates the dynamically allocated memory for the specified RzAnnotatedCode.
RZ_API RzPVector * rz_annotated_code_annotations_in(RzAnnotatedCode *code, size_t offset)
Returns all annotations with range that contains the given offset.
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void start
RZ_API void Ht_() free(HtName_(Ht) *ht)
@ RZ_CODE_ANNOTATION_TYPE_GLOBAL_VARIABLE
@ RZ_CODE_ANNOTATION_TYPE_FUNCTION_PARAMETER
@ RZ_CODE_ANNOTATION_TYPE_CONSTANT_VARIABLE
@ RZ_CODE_ANNOTATION_TYPE_LOCAL_VARIABLE
@ RZ_CODE_ANNOTATION_TYPE_OFFSET
@ RZ_CODE_ANNOTATION_TYPE_FUNCTION_NAME
RZ_API void * rz_vector_push(RzVector *vec, void *x)
RZ_API RzPVector * rz_pvector_new(RzPVectorFree free)
#define rz_vector_foreach(vec, it)
static void ** rz_pvector_push(RzPVector *vec, void *x)
RZ_API void rz_pvector_free(RzPVector *vec)
RZ_API RzVector * rz_vector_new(size_t elem_size, RzVectorFree free, void *free_user)
RZ_API void rz_vector_clear(RzVector *vec)
RZ_API void rz_vector_init(RzVector *vec, size_t elem_size, RzVectorFree free, void *free_user)
#define rz_pvector_foreach(vec, it)
This structure contains the decompiled code and all the annotations for the decompiled code.
Annotations for the decompiled code are represented using this structure.
RzCodeAnnotationType type
struct rz_code_annotation_t::@297::@301 reference
struct rz_code_annotation_t::@297::@302 variable
ut64(WINAPI *w32_GetEnabledXStateFeatures)()