Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | java_method_t |
Typedefs | |
typedef struct java_method_t | Method |
Enumerations | |
enum | MethodAccessFlag { METHOD_ACCESS_FLAG_PUBLIC = 0x0001 , METHOD_ACCESS_FLAG_PRIVATE = 0x0002 , METHOD_ACCESS_FLAG_PROTECTED = 0x0004 , METHOD_ACCESS_FLAG_STATIC = 0x0008 , METHOD_ACCESS_FLAG_FINAL = 0x0010 , METHOD_ACCESS_FLAG_SYNCHRONIZED = 0x0020 , METHOD_ACCESS_FLAG_BRIDGE = 0x0040 , METHOD_ACCESS_FLAG_VARARGS = 0x0080 , METHOD_ACCESS_FLAG_NATIVE = 0x0100 , METHOD_ACCESS_FLAG_INTERFACE = 0x0200 , METHOD_ACCESS_FLAG_ABSTRACT = 0x0400 , METHOD_ACCESS_FLAG_STRICT = 0x0800 , METHOD_ACCESS_FLAG_SYNTHETIC = 0x1000 , METHOD_ACCESS_FLAG_ANNOTATION = 0x2000 , METHOD_ACCESS_FLAG_ENUM = 0x4000 } |
Functions | |
Method * | java_method_new (ConstPool **pool, ut32 poolsize, RzBuffer *buf, ut64 offset, bool is_oak) |
void | java_method_free (Method *method) |
char * | java_method_access_flags_readable (const Method *method) |
bool | java_method_is_global (const Method *method) |
typedef struct java_method_t Method |
enum MethodAccessFlag |
Definition at line 11 of file class_method.h.
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().