Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | java_field_t |
Typedefs | |
typedef struct java_field_t | Field |
Enumerations | |
enum | FieldAccessFlag { FIELD_ACCESS_FLAG_PUBLIC = 0x0001 , FIELD_ACCESS_FLAG_PRIVATE = 0x0002 , FIELD_ACCESS_FLAG_PROTECTED = 0x0004 , FIELD_ACCESS_FLAG_STATIC = 0x0008 , FIELD_ACCESS_FLAG_FINAL = 0x0010 , FIELD_ACCESS_FLAG_VOLATILE = 0x0040 , FIELD_ACCESS_FLAG_TRANSIENT = 0x0080 , FIELD_ACCESS_FLAG_SYNTHETIC = 0x1000 , FIELD_ACCESS_FLAG_ENUM = 0x4000 } |
Functions | |
Field * | java_field_new (ConstPool **pool, ut32 poolsize, RzBuffer *buf, ut64 offset) |
void | java_field_free (Field *field) |
char * | java_field_access_flags_readable (const Field *field) |
bool | java_field_is_global (const Field *field) |
typedef struct java_field_t Field |
enum FieldAccessFlag |
Definition at line 11 of file class_field.h.
Definition at line 20 of file class_field.c.
References java_field_t::access_flags, access_flags_list, FIELD_ACCESS_FLAGS_SIZE, access_flags_readable_t::flag, i, 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_fields_as_json(), rz_bin_java_class_fields_as_symbols(), and rz_bin_java_class_fields_as_text().
void java_field_free | ( | Field * | field | ) |
Definition at line 78 of file class_field.c.
References java_field_t::attributes, java_field_t::attributes_count, free(), i, and java_attribute_free().
Referenced by rz_bin_java_class_free().
Definition at line 91 of file class_field.c.
References java_field_t::access_flags, FIELD_ACCESS_FLAG_FINAL, FIELD_ACCESS_FLAG_PUBLIC, and FIELD_ACCESS_FLAG_STATIC.
Referenced by rz_bin_java_class_fields_as_symbols().
Definition at line 41 of file class_field.c.
References java_field_t::access_flags, java_field_t::attributes, java_field_t::attributes_count, java_field_t::descriptor_index, free(), i, java_attribute_free(), java_attribute_new(), java_attribute_resolve(), java_field_t::name_index, NULL, java_field_t::offset, rz_buf_read_be16, rz_buf_tell(), RZ_NEW0, RZ_NEWS0, rz_return_val_if_fail, rz_warn_if_reached, and ut64().
Referenced by java_class_parse().