Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | METHOD_ACCESS_FLAGS_SIZE 16 |
Functions | |
char * | java_method_access_flags_readable (const Method *method) |
static bool | java_method_new_aux (RzBuffer *buf, Method *method) |
Method * | java_method_new (ConstPool **pool, ut32 poolsize, RzBuffer *buf, ut64 offset, bool is_oak) |
void | java_method_free (Method *method) |
bool | java_method_is_global (const Method *method) |
Variables | |
static const AccessFlagsReadable | access_flags_list [METHOD_ACCESS_FLAGS_SIZE] |
#define METHOD_ACCESS_FLAGS_SIZE 16 |
Definition at line 7 of file class_method.c.
Definition at line 26 of file class_method.c.
References java_method_t::access_flags, access_flags_list, access_flags_readable_t::flag, i, METHOD_ACCESS_FLAGS_SIZE, NULL, access_flags_readable_t::readable, rz_return_val_if_fail, rz_strbuf_appendf(), rz_strbuf_drain(), rz_strbuf_new(), and sb.
Referenced by rz_bin_java_class_as_source_code(), rz_bin_java_class_methods_as_json(), rz_bin_java_class_methods_as_symbols(), and rz_bin_java_class_methods_as_text().
void java_method_free | ( | Method * | method | ) |
Definition at line 89 of file class_method.c.
References java_method_t::attributes, java_method_t::attributes_count, free(), i, and java_attribute_free().
Referenced by rz_bin_java_class_free().
Definition at line 102 of file class_method.c.
References java_method_t::access_flags, METHOD_ACCESS_FLAG_FINAL, METHOD_ACCESS_FLAG_PUBLIC, and METHOD_ACCESS_FLAG_STATIC.
Referenced by rz_bin_java_class_methods_as_symbols().
Method* java_method_new | ( | ConstPool ** | pool, |
ut32 | poolsize, | ||
RzBuffer * | buf, | ||
ut64 | offset, | ||
bool | is_oak | ||
) |
Definition at line 54 of file class_method.c.
References java_method_t::attributes, java_method_t::attributes_count, free(), i, java_attribute_free(), java_attribute_new(), java_attribute_resolve(), java_method_new_aux(), NULL, java_method_t::offset, rz_buf_tell(), RZ_NEW0, RZ_NEWS0, rz_return_val_if_fail, rz_warn_if_reached, and ut64().
Referenced by java_class_parse().
Definition at line 47 of file class_method.c.
References java_method_t::access_flags, java_method_t::attributes_count, java_method_t::descriptor_index, java_method_t::name_index, and rz_buf_read_be16.
Referenced by java_method_new().
|
static |
Definition at line 8 of file class_method.c.
Referenced by java_method_access_flags_readable().