radare2/swig
Nibble 159165fa13 * Add vapi/t/reloc.vala
- Print address for each relocation entry
* Update r_bin.vapi
* Minor fixup in r_bin_elf_get_relocs()
* Update TODO
2010-09-10 11:32:49 +02:00
..
java * Fix creation of ~/.radare2/rdb and r2 -p (Thanks edu!) 2010-07-23 01:15:03 +02:00
lua * Build 2010-03-05 02:03:54 +01:00
perl * r_core_anal 2010-03-05 11:06:07 +01:00
python * Add not-yet-used 'RAnalBlock->type' field 2010-05-21 17:35:05 +02:00
ruby * r_core_anal 2010-03-05 11:06:07 +01:00
vapi * Add vapi/t/reloc.vala 2010-09-10 11:32:49 +02:00
autogen.sh * Add configure script 2010-03-14 21:53:22 +01:00
check-langs.sh * Add initial support for java bindings 2010-07-22 18:54:07 +02:00
config.mk.acr * Do not use version numbering in library names 2010-03-14 22:19:58 +01:00
configure * More fixes on mingw32 build 2010-07-24 12:44:19 +02:00
configure.acr * More fixes on mingw32 build 2010-07-24 12:44:19 +02:00
do-swig.sh * Fix build of r2-swig out of root tarball 2010-03-14 19:49:43 +01:00
do-test.sh * Lot of fixes in the vala/swig wing 2010-02-15 22:59:26 +01:00
Makefile * Apply edu's patch with some fixes for swig and vala support (thanks!) 2010-08-30 00:49:43 +02:00
README * Mental note: %lld/%llx does not exist on windows 2010-04-14 13:02:23 +02:00
rules.mk * Commit initial vala plugin in swig/vapi/t/plugin.vala 2010-05-18 00:20:24 +02:00

r2-swig notes
=============

The valaswig integration forces us to do some changes in the r2 API.

These api changes are for:

  - Avoid keywords in function names

    Every language has its own keywords, r2api should try to workaround
    all those keywords to avoid collisions for bindings.

    Example: use, del, from, continue, etc..

    TODO: we need to review APIs, find better names for functions using
    those keywords, etc..

  - Review basic data structures

    Linked lists, hash tables, r_db, arrays, ... must be reviewed to
    fit with vala and swig basics to be able to use them with simple
    APIs or integrate them with the syntax sugar of the target language.

    Example:
      foreach (var foo in binls.get_symbols ()) {
        print ("%s 0x%08"PFMT64x"\n", foo.name, foo.offset);
      }

  - Unit testing

    Having bindings for python, perl, ruby, .. is good for unit testing
    because it hardly simplifies the way to test APIs, find bugs, ...

    TODO: write unit testing frameworks for perl, ruby, python, etc..

  - API unification for all languages

    All the previous development points are meant to reduce code in r2,
    avoid syntax exceptions, simplify api usage, and much moar ;)

SWIG is not complete, there are still so many bugs to fix and so many
unimplemented stuff. Here's a list of the most anoying things of it:

  - unsigned char * : not implemented