mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-18 02:38:37 +00:00
8c80cfe7d9
* io maps are now saved and restored * add an extra test and review/update others * Use omu in om* and run o*;om* in P * Better handling multiple P subcommands and help msg * Use more R_LOG instead of eprintf
23 lines
667 B
C
23 lines
667 B
C
#ifndef _INCLUDE_R_JAVA_H_
|
|
#define _INCLUDE_R_JAVA_H_
|
|
|
|
#include <r_types.h>
|
|
#include "class.h"
|
|
|
|
typedef struct java_op {
|
|
const char *name;
|
|
unsigned char byte;
|
|
int size;
|
|
ut64 op_type;
|
|
} JavaOp;
|
|
|
|
#define JAVA_OPS_COUNT 297
|
|
extern const struct java_op JAVA_OPS[JAVA_OPS_COUNT];
|
|
R_API int java_print_opcode(RBinJavaObj *obj, ut64 addr, int idx, const ut8 *bytes, int len, char *output, int outlen);
|
|
R_API int r_java_disasm(RBinJavaObj *obj, ut64 addr, const ut8 *bytes, int len, char *output, int outlen);
|
|
R_API int r_java_assemble(ut64 addr, ut8 *bytes, const char *string);
|
|
//R_API void r_java_set_obj(RBinJavaObj *obj);
|
|
R_API void r_java_new_method(void);
|
|
|
|
#endif
|