mirror of
https://github.com/radareorg/radare2
synced 2026-08-22 20:23:32 -04:00
20 lines
584 B
C
20 lines
584 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);
|
|
|
|
#endif
|