- Update r_bin.vapi
  - Minor fixup in r_core.vapi & r_io.vapi
This commit is contained in:
Nibble 2010-03-19 12:27:43 +01:00
parent 6d6ede7ee6
commit f1928bcd50
3 changed files with 7 additions and 5 deletions

View File

@ -27,6 +27,8 @@ namespace Radare {
public int has_dbg_linenums();
public int has_dbg_syms();
public int has_dbg_relocs();
public int meta_get_line(uint64 addr, ref string file, int len, out int line);
public string meta_get_source_line(uint64 addr);
[CCode (cname="RBinEntry", free_function="", ref_function="", unref_function="")]
public class Entry {

View File

@ -9,8 +9,8 @@ public class Radare.RCore {
public bool loadlibs();
/* commands */
public int prompt();
[CCode (PrintfFormat)]
public int cmdf(...);
//[CCode (PrintfFormat)]
//public int cmdf(...);
public int cmd(string cmd, bool log);
public int cmd0(string cmd);
public int cmd_file(string file);

View File

@ -45,8 +45,8 @@ namespace Radare {
public void cache_enable(bool rd, bool wr);
public void cache_init();
public void cache_write(uint64 addr, weak string buf, int len);
public void cache_read(uint64 addr, ref string buf, int len);
public void cache_write(uint64 addr, ref uint8 *buf, int len);
public void cache_read(uint64 addr, ref uint8 *buf, int len);
/* undo */
// TODO: Implement seek and write undo apis..they must be unified..
@ -104,7 +104,7 @@ namespace Radare {
public uint64 section_get_offset(uint64 addr);
public uint64 section_get_vaddr(uint64 addr);
public int section_get_rwx(uint64 addr);
public bool section_get_overlaps(Section refsec);
public bool section_overlaps(Section refsec);
public uint64 section_vaddr_to_offset(uint64 vaddr);
public uint64 section_offset_to_vaddr(uint64 offset);