Commit Graph

238 Commits

Author SHA1 Message Date
pancake
a1f45dbf8a * Add support for static plugins to r_debug
- r_debug_ptrace is now static by default
* Some code cleanup and warnings removal
* Added hg-utils.mk and MKPLUGINS directive in user-config
* Initial implementation of dbg_gdb r_debug plugin
  - Import ERESI's libgdbwrap from r1
* Add some missing files (asm/p/fastcall_mips.h, core/t/ragrep2.c)
* Added r_str_bool helper to get "true"/"false" from int
2009-08-22 01:54:24 +00:00
pancake
ab1c417abb * Some more work for the r_iter API
- Fix some function signatures
  - Disable CPP macros by default
  - Added a separate iterate example in util/t/iter.c
* Initial non-working integration with Vala generics in r_util.vapi
  - Vala does not yet supports non-gobject generic classes/structs
2009-08-21 19:09:48 +00:00
pancake
7fe8e3d40d * Oops. fix build 2009-08-20 12:23:12 +00:00
pancake
c3922f6131 * Fix Vala r_bin VAPI and example
* Added iter.h with simplified r_iter in cpp macros
* Some fixes and enhacements in r_iter
2009-08-20 12:20:14 +00:00
pancake/fluendo
57cb3628fa * Added basic iterator helper functions (help vala integration?) 2009-08-19 18:38:35 +02:00
pancake
c52849b2e5 * Added r_parse vapi file 2009-08-14 02:50:55 +00:00
pancake
66b702069e * Initial working implementation of r_parse_assemble()
- Added test program as a demo
2009-08-14 02:19:54 +00:00
pancake
65da25d4c0 * Implement STATIC PLUGIN support for r_parse
- Use the new 'asm-like' build system for r_parse plugins
  - Added new callback to 'assemble' parseable expressions
    into compilable asm code
  - Refactorize and remove warnings in parse_mreplace
* Added r_str_char_count() in r_util
* Some fixups in the fastcall code in r_asm

--HG--
rename : libr/parse/p/mreplace/mmemory.c => libr/parse/p/parse_mreplace/mmemory.c
rename : libr/parse/p/mreplace/mmemory.h => libr/parse/p/parse_mreplace/mmemory.h
rename : libr/parse/p/mreplace/mreplace.c => libr/parse/p/parse_mreplace/mreplace.c
rename : libr/parse/p/mreplace/mreplace.h => libr/parse/p/parse_mreplace/mreplace.h
2009-08-14 01:44:12 +00:00
pancake
bc1b1b976e * Initial implementation of r_asm_fastcall()
- VAPI sync
  - Used to get register N to call fastcalls (syscalls f.ex)
* Code analysis marked as 8-bit compliant
2009-08-14 00:37:18 +00:00
pancake
99e93816a3 * Oops, fix add_unique method
* Fix r_util vapi
2009-07-27 12:22:08 +00:00
pancake
ce97b40202 * Add r_socket_to_string() function in r_socket API
- R_APIzation of r_socket
* Added r_hex_bin2strdup()
  - Bind it into the VAPI
2009-07-24 13:38:53 +00:00
pancake/fluendo
7e3c696785 * Added r_db_add_unique method to the r_db api
- Reflect the change in the vapi file
* Added offsetof() macro in r_util
2009-07-22 17:30:21 +02:00
pancake
25dceb21a8 * Initial vapi for r_db
- Added vala example using r_db (db.vala)
* Fix segmentation fault in db.c when adding nodes with
  no keys defined. (-1)
* Added vala example
* Added r_db to the default build list
* Added r_th, r_bp and r_db in pkgconfig
2009-07-21 22:59:34 +00:00
pancake
e4f749b1b9 * Initial import of r_th. The simplified and portable threading library 2009-07-21 11:13:24 +00:00
pancake/fluendo
1669979865 * r_vm.pc depends on r_util 2009-07-16 18:42:11 +02:00
pancake/fluendo
57415c2107 * Some code cleanup and add some more checks on r_bin (-15LOC)
* Added new type R_TRUFAE
2009-07-16 14:17:32 +02:00
pancake/fluendo
d1db55e261 * Fix the r_util vapi file
* Some R_APIization in r_util
2009-07-16 13:08:23 +02:00
pancake/fluendo
564e11975a * Fix build and linkage of r_vm
- Added dummy test program for r_vm
2009-07-16 12:38:49 +02:00
pancake
6f0ddc5247 * Fix warnings in cons/input 2009-07-16 09:44:56 +00:00
pancake
233e83323d * Autogenerate libr.pc.acr with 'make pkgcfg'
* Revert elf.h (was partially killed by zeroes)
2009-07-16 09:40:00 +00:00
pancake
d62886064a * Fix memory leak and simplify the code of the CSR disassembler 2009-07-16 09:24:17 +00:00
pancake
1c3a319c53 * Added 'pkgcfg' directory with autogenerated .pc files
- 'make pkgcfg' does that automagically :)
* Implement r_mem_mem function in r_util
2009-07-16 00:30:20 +00:00
pancake/fluendo
a8a661947c * Added Genie examples in the vapi test directory 2009-07-13 19:56:46 +02:00
pancake
1275f31e07 * Upload partial implementation of iterators and tables for r_db 2009-07-08 17:14:19 +00:00
Nibble
8c62412de6 * More type renaming
- s/s64/st64/
2009-07-08 13:56:04 +02:00
Nibble
94445e1540 * Change the name of some types
- s/u64/ut64/
  - s/u32/ut32/
  - s/u16/ut16/
  - s/u8/ut8/
2009-07-08 13:49:55 +02:00
Nibble
e55dbb5858 * r_bin
- More refactoring
  - Remove dupped code from Elf_(get_import_addr)
2009-07-08 02:06:27 +02:00
Nibble
c9501effc9 * r_bin
- minor fixup
2009-07-07 18:33:21 +02:00
Nibble
2b48d630bf * r_bin
- more refactoring
  - r_bin_elf_imports and r_bin_elf_symbols unified into r_bin_elf_symbols
  - removed section_resize (needs to be rewritten)
2009-07-07 18:01:49 +02:00
Nibble
5645531005 * r_bin
- *_open return -1 on fail
2009-07-05 16:57:09 +02:00
Nibble
811f39c833 * r_util
- Add r_str_dup_printf
* r_bin_elf
  - Huge refactoring
    r_bin_elf_get_{imports, symbols} will be modified soon
    r_buf|r_io will be used, so 'swap-endian' and 'malloc-lseek-read' calls will be removed
    Need to rethink section resize (temporary disabled)
* rabin2
  - Refactoring
2009-07-05 16:49:47 +02:00
pancake
b02e61bc01 * Added r_db_delete() method in r_db api 2009-06-18 13:10:26 +00:00
pancake/fluendo
7ab39d1d3b * Initial working version (with test) of r.db
- Ow yeah! (missing r_db_delete and iterators)
2009-06-15 18:31:03 +02:00
pancake
0509263cbd * Initial import of r_db 2009-06-15 02:44:05 +00:00
Nibble
620431982f * Fixed r_bin_pe segfault with .NET PE files
* Added windows 7 syscalls table to r_syscall under win7.c
2009-06-12 19:33:31 +02:00
Nibble
857df2088b * Fixed bug in r_bin_elf resolving imports
* Fixed 'rasm2 -o'
2009-06-11 14:28:35 +02:00
Nibble
b8afe87259 * Fixed Elf64_Xword/Elf32_word bug in r_bin_elf 2009-06-03 12:58:18 +02:00
pancake
5208ebe90e * Minor syntax changes
* USE_BTREE is now optional in r_flags
  - better test case (but im still unable to reproduce the bug)
* Fix build (r_anal.h)
2009-05-28 10:57:30 +00:00
pancake
0f2503f781 * Sync local random changes with public repo
* Forwport of the 'Y' yesno issue of r1
* R_APIize r_util a bit more
* Added r_str_ansi_* helper functions
2009-05-20 12:41:04 +00:00
Nibble
df9e68bf53 * rabin2
- Flags '-x' and '-w' unified into '-o'
  - '-w' is used to open file in rw mode
  - More refactoring
* r_bin
  - Added bin_dummy plugin
  - get_strings works now with unknown formats
2009-05-17 12:01:02 +02:00
Nibble
5cc6b4769c * Fixed resize_section in r_bin 2009-05-05 23:49:40 +02:00
Nibble
f76f81b917 * Merge 2009-05-02 01:08:57 +02:00
Nibble
ff9b4031a1 * Fixed ERR()
* Added flags -x (extract) and -w (write) to rabin
  -w r/<section_name>/<size> resizes a section
  -x d/s[/<length>] dumps symbols
  -x d/S/<section_name> dumps the specified section
2009-05-02 01:04:32 +02:00
pancake
c8c5b4ec87 * Fix rafind2 -x and make it less verbose 2009-05-01 01:25:28 +00:00
Nibble
1ad245a1ee * Fixed bug in r_bin_pe resolving imports 2009-04-30 13:46:29 +02:00
Nibble
3e9714d3f9 * Huge refactoring of r_bin_elf_resize_section 2009-04-29 18:56:30 +02:00
Nibble
438028a7ae * Added mdisassemble into r_asm
* Update r_asm vapi
2009-04-27 00:34:54 +02:00
Nibble
8af1004c04 Added tag 0.2 for changeset b8a299e8cb05 2009-04-25 20:44:27 +02:00
pancake
485e946b3c * Sync changelog for 0.2
* RELEASE=1
2009-04-25 19:43:47 +00:00
pancake
1541a3d11d * Release 0.2 2009-04-25 17:59:52 +00:00