rizin/librz/bin/format/java/class_module.h
Giovanni 7cfddb1da8
Java rewrite with LGPL license (#804)
* Rewritten RzBin java plugin (LGPL3)
* Rewritten java_core.c (LGPL3)
* Rewritten java RzAsm plugin (LGPL3)
* Rewritten java RzAnalysis plugin (LGPL3)
* Resolve constant_pool.<index> when rzbin is available.
* Updated tests with proper ones
* Support java <1.0.2 (i.e. OAK) file format
* Added constant pool resolver `javar`
* Added tests from java 1.7 to 15
2021-03-19 22:00:19 +08:00

34 lines
675 B
C

// SPDX-FileCopyrightText: 2021 deroad <wargio@libero.it>
// SPDX-License-Identifier: LGPL-3.0-only
#ifndef RZ_BIN_JAVA_CLASS_MODULE_H
#define RZ_BIN_JAVA_CLASS_MODULE_H
#include <rz_types.h>
typedef struct java_module_provide_t {
ut16 index;
ut16 with_count;
ut16 *with_indices;
} ModuleProvide;
typedef struct java_module_open_t {
ut16 index;
ut16 flags;
ut16 to_count;
ut16 *to_indices;
} ModuleOpen;
typedef struct java_module_export_t {
ut16 index;
ut16 flags;
ut16 to_count;
ut16 *to_indices;
} ModuleExport;
typedef struct java_module_require_t {
ut16 index;
ut16 flags;
ut16 version_index;
} ModuleRequire;
#endif /* RZ_BIN_JAVA_CLASS_MODULE_H */