mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-03 19:01:31 +00:00
* r_asm
- Remove dupped function signature from r_asm.h * vapi's - Fix {r_asm, r_bin, r_util}.vapi - Update r_bin.vapi
This commit is contained in:
parent
a83355f0b1
commit
fbf99edafa
@ -100,7 +100,6 @@ R_API RAsm *r_asm_new();
|
||||
R_API const char *r_asm_fastcall(RAsm *a, int idx, int num);
|
||||
|
||||
R_API void r_asm_free(RAsm *a);
|
||||
R_API void* r_asm_code_free(struct r_asm_code_t *acode);
|
||||
R_API int r_asm_modify(RAsm *a, ut8 *buf, int field, ut64 val);
|
||||
R_API void r_asm_set_user_ptr(RAsm *a, void *user);
|
||||
R_API int r_asm_add(RAsm *a, RAsmPlugin *foo);
|
||||
|
@ -28,7 +28,7 @@ public class RAsm {
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cname="RAsmPlugin", destroy_function="", free_function="" )]
|
||||
[CCode (cname="RAsmPlugin", destroy_function="")]
|
||||
public class Plugin {
|
||||
public string name;
|
||||
public string arch;
|
||||
@ -38,7 +38,7 @@ public class RAsm {
|
||||
}
|
||||
|
||||
[Compact]
|
||||
[CCode (cname="struct r_asm_aop_t", destroy_function="" )]
|
||||
[CCode (cname="RAsmAop", destroy_function="")]
|
||||
public struct Aop {
|
||||
public int inst_len;
|
||||
public uint8 *buf;
|
||||
@ -47,7 +47,8 @@ public class RAsm {
|
||||
public string buf_err;
|
||||
}
|
||||
|
||||
[CCode (cname="struct r_asm_code_t", destroy_function="" )]
|
||||
[Compact]
|
||||
[CCode (cname="RAsmCode", destroy_function="")]
|
||||
public struct Code {
|
||||
public int len;
|
||||
public uint8* buf;
|
||||
|
@ -10,6 +10,8 @@ namespace Radare {
|
||||
public RBin();
|
||||
|
||||
public int load(string file, bool dummy);
|
||||
public int set_arch(string arch, int bits, string name);
|
||||
public int set_archidx(int idx);
|
||||
public int list();
|
||||
public uint64 get_baddr();
|
||||
public RBin.Addr get_main();
|
||||
|
@ -46,7 +46,7 @@ public static class Radare.RHex {
|
||||
|
||||
[CCode (cheader_filename="r_util.h", cprefix="r_hex_", free_function="")]
|
||||
public static class RHex {
|
||||
public static int str2bin (string input, out uint8 *buf);
|
||||
public static int str2bin (string input, uint8 *buf);
|
||||
public static int bin2str (uint8 *buf, int len, out string str);
|
||||
public static string bin2strdup (uint8 *buf, int len);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user