radare2/ChangeLog
pancake c67e0dec3d * Version bumped to 0.3b - development version
* Update ChangeLog
* Fix make dist
2009-09-25 04:13:40 +02:00

4590 lines
207 KiB
Plaintext

===== RELEASE 0.3 =====
changeset: 273:9f7119f4292b
tag: tip
user: pancake@localhost.localdomain
date: Fri Sep 25 04:04:51 2009 +0200
files: TODO config-user.mk.acr config.mk configure configure.acr libr/Makefile libr/anal/README libr/anal/anal.c libr/anal/p/anal_x86_bea.c libr/asm/arch/m68k/m68k_disasm/m68k_disasm.c libr/asm/asm.c libr/asm/p/asm_x86_olly.c libr/asm/t/Makefile libr/asm/t/rasm2.c libr/bin/bin.c libr/bin/t/rabin2.c libr/config/callback.c libr/config/config.c libr/core/cmd.c libr/core/t/Makefile libr/core/t/radare2.c libr/db/db.c libr/debug/p/dbg_ptrace.c libr/debug/reg.c libr/diff/t/Makefile libr/diff/t/radiff2.c libr/diff/t/test.c libr/flags/flags.c libr/flags/name.c libr/hash/calc.c libr/hash/hash.c libr/hash/t/rahash2.c libr/include/r_asm.h libr/include/r_bin.h libr/include/r_db.h libr/include/r_diff.h libr/include/r_hash.h libr/include/r_reg.h libr/include/r_types.h libr/lang/p/dummy.c libr/lang/p/lua.c libr/lang/p/perl.c libr/lang/p/python.c libr/line/dietline.c libr/parse/p/parse_x86_pseudo.c libr/print/date.c libr/print/format.c libr/reg/arena.c libr/reg/reg.c libr/rules.mk libr/search/t/Makefile libr/search/t/rafind2.c libr/sign/t/rasign2.c libr/util/str.c libr/util/t/Makefile libr/util/t/rax2.c
description:
* Release version to 0.3
- Propagate @VERSION@ from ACR
- All *2 apps are now supporting a -V flag to show the version
* Fix .dr* command in r_core debugger
- dr now supports [regtype] [bitsize] arguments
- Check dr? for help
* Added some 8, 16 bit registers to the dbg.ptrace backend
- Just for testing :)
* Check build of the whole source tree
- test programs are now in ${prefix}/bin/libr-test
* Fix lot of warnings and bugs
* Simplify some code
* Some rapification
* Fix segfault in r_reg related to unallocated arenas
- New function r_reg_type_by_name() resolves string->id
* Fix help of rax2
changeset: 272:94d0adb95a58
user: pancake@localhost.localdomain
date: Thu Sep 24 19:46:32 2009 +0200
files: TODO libr/core/cmd.c libr/core/file.c libr/core/t/radare2.c libr/debug/handle.c libr/debug/p/dbg_gdb.c libr/debug/p/dbg_ptrace.c libr/debug/t/main.c libr/include/r_core.h libr/include/r_search.h libr/io/t/map.c libr/reg/README libr/search/search.c libr/util/mem.c libr/vapi/r_diff.vapi libr/vapi/r_parse.vapi libr/vapi/r_search.vapi libr/vapi/t/Makefile libr/vapi/t/io.vala
description:
* Drop PFX in debug plugin names
* Minor cosmetic fixups
* Handle binmask==NULL in all _add methods of r_search
- Added empty declarations of reset() and kw_reset()
* Various random fixes in some vapis
changeset: 271:3cfabe247f0c
user: pancake@localhost.localdomain
date: Thu Sep 24 12:29:05 2009 +0200
files: TODO libr/asm/asm.c libr/asm/p/asm_arm.c libr/asm/p/asm_bf.c libr/asm/p/asm_csr.c libr/asm/p/asm_dummy.c libr/asm/p/asm_java.c libr/asm/p/asm_m68k.c libr/asm/p/asm_mips.c libr/asm/p/asm_ppc.c libr/asm/p/asm_psosvm.c libr/asm/p/asm_sparc.c libr/asm/p/asm_x86.c libr/asm/p/asm_x86_bea.c libr/asm/p/asm_x86_nasm.c libr/asm/p/asm_x86_olly.c libr/asm/t/fastcall.c libr/asm/t/rasm2.c libr/bin/bin.c libr/bin/p/bin_dummy.c libr/bin/p/bin_elf.c libr/bin/p/bin_elf64.c libr/bin/p/bin_java.c libr/bin/p/bin_mach0.c libr/bin/p/bin_pe.c libr/bin/p/bin_pe64.c libr/bin/t/rabin2.c libr/bininfo/README libr/bp/handle.c libr/bp/p/bp_arm.c libr/bp/p/bp_x86.c libr/core/cmd.c libr/core/config.c libr/core/core.c libr/core/io.c libr/include/r_asm.h libr/include/r_bin.h libr/include/r_parse.h libr/include/r_search.h libr/include/r_types.h libr/parse/p/parse_dummy.c libr/parse/p/parse_mreplace.c libr/parse/p/parse_x86_pseudo.c libr/parse/parse.c libr/parse/t/parse.c libr/reg/reg.c libr/search/TODO libr/search/aes-find.c libr/search/binparse.c libr/search/bytepat.c libr/search/regexp.c libr/search/search.c libr/search/stripstr.c libr/search/xrefs.c libr/syscall/TODO libr/vapi/r_asm.vapi libr/vapi/r_search.vapi libr/vapi/r_util.vapi libr/vapi/t/asm.vala libr/vapi/t/search.vala
description:
* Major refactoring patch
- Remove plugin prefixes
- It was unnecessary complicated
- Remove unused code
- Some RAPIfication
- Rename _set( methods into _use(
- Simplify some string processing
- r_parse is working again
- Sync all those api changes in r_core
- External static plugin lists moved to .c
- Fix some cast-related segfaults in core
* Review the r_search API
- RAPIfication
- Allow to pass NULL as binmask
- Added TODO with some more ideas
changeset: 270:d8271dc3c288
user: pancake@flubox
date: Tue Sep 22 19:23:49 2009 +0200
files: libr/include/r_types.h libr/vapi/r_bin.vapi libr/vapi/r_util.vapi libr/vapi/t/Makefile libr/vapi/t/array.vala libr/vapi/t/bin.vala libr/vapi/t/list.vapi
description:
* Fixed ralist and rarray interfaces and macros
- No clean free or checks done yet, but they are
now both working
* Use classes with no ref/unref to make vala code nicer
* Fix build of some test programs (fixed -L)
* Remove dummy Foo from r_util (moved to t/list.vapi)
changeset: 269:cc95d506741f
user: pancake@localhost.localdomain
date: Tue Sep 22 15:02:50 2009 +0200
files: libr/Makefile libr/reg/t/Makefile libr/vapi/r_reg.vapi
description:
* Added 'reg' into the default module list
- Fixed a syntax error in r_reg
* Fixes build
changeset: 268:4095d9c3596d
user: pancake@localhost.localdomain
date: Tue Sep 22 13:27:33 2009 +0200
files: TODO libr/bin/bin.c libr/bin/t/rabin2.c libr/bininfo/bininfo.c libr/bininfo/p/bininfo_addr2line.c libr/db/TODO libr/debug/debug.c libr/debug/handle.c libr/include/r_bin.h libr/include/r_bininfo.h libr/include/r_debug.h libr/include/r_diff.h libr/include/r_types.h libr/include/r_util.h libr/util/Makefile libr/util/pool.c libr/util/t/Makefile libr/util/t/pool.c libr/vapi/r_bin.vapi libr/vapi/r_bininfo.vapi libr/vapi/r_diff.vapi libr/vapi/r_util.vapi libr/vapi/t/Makefile libr/vapi/t/array.vala libr/vapi/t/bin.vala
description:
* Fix build of r_debug
* Some random warning fixups
* extern plugins defined in handle.c for asm, bin, .. cleaner
* RAPIfy the r_bininfo
* Initial implementation of Rarray Iterator
- Needs some tuning in core Vala..but it is ok for demos
- r_bin API is now using the Rarray iterator
- Added Vala test program for it
* Fix build of some test programs
* Added r_diff and r_bininfo VAPI files
- The APIs are inconsistent and untested. Proposals welcome
- Fix possible overflow in r_bininfo
* Initial implementation of pool.c
- Implements Memory.Pool class (Extracted from 'alt')
- Added test program
changeset: 267:8d07c24fe30b
user: pancake@localhost.localdomain
date: Mon Sep 21 15:39:10 2009 +0200
files: Makefile libr/bininfo/bininfo.c libr/debug/handle.c libr/debug/p/dbg_ptrace.c libr/debug/reg.c libr/debug/t/main.c libr/depgraph.pl libr/include/r_debug.h libr/include/r_reg.h libr/reg/p/x86-linux.regs libr/reg/reg.c libr/vapi/r_debug.vapi libr/vapi/r_reg.vapi
description:
* Single valadoc by default
* Added SEGment register types (r_reg+vapi)
* depgraph.pl is now generating .gml output
changeset: 266:da135026b257
user: pancake@localhost.localdomain
date: Sun Sep 20 02:16:14 2009 +0200
files: libr/bin/bin.c libr/bp/handle.c libr/core/cmd.c libr/core/core.c libr/core/t/radare2.c libr/debug/debug.c libr/debug/handle.c libr/debug/p/dbg_ptrace.c libr/debug/reg.c libr/debug/t/main.c libr/include/r_bp.h libr/include/r_debug.h libr/include/r_lib.h libr/include/r_reg.h libr/io/io.c libr/lang/README libr/lib/t/test-plugin.c libr/macro/macro.c libr/print/t/fmt.c libr/util/mem.c libr/vapi/r_debug.vapi
description:
* Rename some handle_set into _use() new syntax
* Make radare2 debugger interact with r_reg
- Register profile is now provided by the r_debug plugin
- |reg and dr works fine now
- Fix reg_sync and reg_read for dbg_ptrace
* Clean some warnings
* Fix build
changeset: 265:ffc1dc2c7e27
user: pancake@localhost.localdomain
date: Sun Sep 20 01:03:57 2009 +0200
files: configure configure.acr libr/core/libs.c libr/include/r_lang.h libr/include/r_lib.h libr/lang/README libr/lang/lang.c libr/lang/p/lua.c libr/lang/p/perl.c libr/lang/p/python.c libr/lang/p/tcc.c libr/vapi/r_lang.vapi libr/vapi/t/Makefile libr/vapi/t/lang.vala
description:
* Initial implementation of the r_lang VAPI
- Added test program in Vala
* Added r_lang_define and r_lang_undef
- They are global on the module
- Each plugin should use lang_t
- *user must be deprecated
changeset: 264:a73e016a8c8e
user: pancake@localhost.localdomain
date: Sun Sep 20 00:28:06 2009 +0200
files: configure configure.acr libr/debug/p/dbg_gdb.c libr/debug/p/dbg_ptrace.c libr/debug/reg.c libr/include/r_reg.h libr/libr.pc.acr libr/reg/reg.c libr/vapi/r_reg.vapi libr/vapi/t/Makefile libr/vapi/t/regs.vala pkgcfg/r_debug.pc.acr
description:
* Added r_reg pkgconfig file
* Some fixes in the r_reg VAPI
- Added vala test program
* r_debug is now broken because the new r_reg
* Add r_free_internal to reduce leaks in r_reg
changeset: 263:3c98f1a38c54
user: pancake@localhost.localdomain
date: Sat Sep 19 23:41:25 2009 +0200
files: Makefile libr/include/r_reg.h libr/reg/arena.c libr/reg/p/x86-linux.regs libr/reg/reg.c libr/reg/t/Makefile libr/reg/t/p.c libr/reg/t/test.c libr/reg/value.c libr/util/mem.c libr/vapi/r_reg.vapi
description:
* Implementate r_reg.vapi (register vala api)
* Fix x86-linux using sys/user.h and getoffset() macro
* Some more work on r_mem_copybits
- Bit level registers are now working (get/set)
- reg/t test example is now getting/settings bit flags
* Added support for full serialization of all registers
changeset: 262:c82c74966f47
user: pancake@localhost.localdomain
date: Sat Sep 19 21:54:22 2009 +0200
files: libr/include/r_reg.h libr/include/r_types.h libr/include/r_util.h libr/reg/README libr/reg/arena.c libr/reg/p/reg_x86.c libr/reg/p/x86-linux.regs libr/reg/reg.c libr/reg/t/Makefile libr/reg/t/test.c libr/reg/value.c libr/util/mem.c
description:
* Initial working version of r_reg
- Does not yet supports bitlevel registers
- Added test program modifying and showing regs
- Added dummy x86-linux.regs register layout
* Added r_mem_copybits() in r_util
- Bitlevel precission for a memcpy
changeset: 261:2cb7cbe5bb76
user: pancake@localhost.localdomain
date: Fri Sep 18 20:11:42 2009 +0200
files: libr/core/core.c libr/debug/p/dbg_ptrace.c libr/include/r_reg.h libr/reg/Makefile libr/reg/README libr/reg/arena.c libr/reg/handle.c libr/reg/p/x86-linux.regs libr/reg/reg.c libr/reg/regset.c libr/reg/value.c
description:
* Fix build of r_debug/r_core (little api changes)
* Initial import of the new design or r_reg
- Needs to be implemented at all, but the big
picture is here :)
changeset: 260:018a6e4cce27
user: pancake@localhost.localdomain
date: Thu Sep 17 14:02:44 2009 +0200
files: libr/include/r_util.h libr/util/file.c libr/util/t/Makefile libr/util/t/hexpairs.txt libr/util/t/test_file_slurp_hexpairs.c
description:
* Apply 'whats' fix for r_file_slurp_hexpairs()
- Fixes segfault
- Added test program
* RAPIfy the r_util/file.c
changeset: 259:99737da81583
user: pancake@localhost.localdomain
date: Thu Sep 17 11:48:36 2009 +0200
files: config-user.mk.acr libr/debug/debug.c libr/include/r_debug.h libr/include/r_io.h libr/include/r_lang.h libr/include/r_lib.h libr/include/r_reg.h libr/include/r_types.h libr/io/cache.c libr/io/io.c libr/lang/README libr/lang/lang.c libr/lib/lib.c libr/reg/Makefile libr/util/file.c libr/vapi/r_lib.vapi libr/var/README mk/stat-make.pl mk/stat.mk
description:
* Added 'mk/stat' tools
- Perform statistics about XXX and TODOs
* Change signature of r_debug_mmu_
* Added io->cached_reads
* RAPIfy the r_lang
* Reviewing of the r_lib API
- Write the vapi file
- Check for null mallocs
* Fix build of r_reg
changeset: 258:6c2aee379958
user: pancake@localhost.localdomain
date: Tue Sep 15 13:24:28 2009 +0200
files: doc/oo libr/crypto/crypto.c libr/crypto/t/racrypt.vala libr/debug/debug.c libr/include/r_crypto.h libr/include/r_debug.h libr/vapi/r_bin.vapi libr/vapi/r_debug.vapi libr/vapi/r_util.vapi libr/vapi/t/Makefile libr/vapi/t/bin.vala
description:
* Added doc/oo: describes the object dis-orientation of libr
- Plugins should be singletons across object instances
* Added hard/soft initializer for r_crypto
- Needed for the as_new()
- Added stupid vala example for r_crypto vapi
* Implement r_debug->mmu methods
changeset: 257:76988936e7cc
user: pancake@localhost.localdomain
date: Tue Sep 15 02:18:19 2009 +0200
files: libr/include/r_types.h libr/vapi/r_crypto.vapi libr/vapi/r_hash.vapi libr/vapi/r_util.vapi libr/vapi/t/list_c.h
description:
* Added initial vapi file for r_crypto
* Fix r_util List interface for list.h
- Test program is now working. Thanks juergbi!
- Needs vala>=20091115
changeset: 256:ad5eda04f8b7
user: pancake@localhost.localdomain
date: Tue Sep 15 01:51:28 2009 +0200
files: libr/include/r_crypto.h
description:
* Add missing r_crypto.h
changeset: 255:b3f63be304c2
user: pancake@localhost.localdomain
date: Tue Sep 15 01:45:58 2009 +0200
files: libr/config.h libr/config.mk libr/crypto/Makefile libr/crypto/crypto.c libr/crypto/p/Makefile libr/crypto/p/aes.c libr/crypto/p/aes.h libr/crypto/p/aes.mk libr/crypto/p/crypto_aes.c libr/crypto/p/crypto_aes_algo.c libr/crypto/p/crypto_aes_algo.h libr/include/r_lib.h
description:
* Initial implementation of the r_crypto API
- Thanks skurz0 for the design tips
- Needs to implement some plugins
- Not yet working/tested
changeset: 254:e197cbfd72f5
user: pancake@localhost.localdomain
date: Tue Sep 15 00:06:37 2009 +0200
files: libr/anal/anal.c libr/config.h libr/debug/Makefile libr/debug/bp.c libr/debug/p/dbg_ptrace.c libr/debug/reg.c libr/debug/regset.c libr/hash/Makefile libr/hash/calc.c libr/hash/hash.c libr/hash/state.c libr/hash/t/rahash2.c libr/include/r_hash.h libr/include/r_reg.h libr/reg/README libr/reg/handle.c libr/reg/reg.c libr/vapi/r_util.vapi libr/vapi/t/list.vala libr/vapi/t/list_c.h libr/vm/reg.c
description:
* Some more random refactoring on r_debug and r_reg
* Added support for bit level hash algorithm selection
- Integrate it with rahash2
- Needs some cleanup of spagheti mess
- All hash algorithms are now supported in a shot :)
- R_APIfy r_hash
changeset: 253:0ea8b7c62138
user: pancake@localhost.localdomain
date: Mon Sep 14 00:37:28 2009 +0200
files: libr/bp/Makefile libr/bp/bp.c libr/bp/handle.c libr/bp/io.c libr/bp/parser.c libr/bp/parser.h libr/bp/traptrace.c libr/core/Makefile libr/core/cmd.c libr/core/core.c libr/core/libs.c libr/core/t/Makefile libr/debug/Makefile libr/debug/debug.c libr/debug/p/dbg_ptrace.c libr/debug/reg.c libr/debug/t/main.c libr/include/r_asm.h libr/include/r_bp.h libr/include/r_debug.h libr/include/r_reg.h libr/io/p/io_ptrace.c libr/lang/p/Makefile libr/reg/Makefile libr/reg/p/reg_x86.c libr/reg/reg.c libr/reg/regset.c libr/vapi/r_bp.vapi libr/vapi/r_debug.vapi libr/vapi/t/Makefile pkgcfg/r_core.pc.acr pkgcfg/r_debug.pc.acr pkgcfg/r_io.pc.acr pkgcfg/r_parse.pc.acr
description:
* Major unfinished refactoring for r_debug and r_bp
- radare2 debugger is now broken
- r_reg has grown a bit more
- Better separation of debugger elements
* r_bp now has r_bp_add_hw and r_bp_add_sw() calls
- Added minimal support for breakpoint handlers
- Import th0rpe's watchpoint expression parser engine
* iob moved from r_debug to r_bp
* Arch types has been moved into r_asm
- Soft compile time dependency
* Update pkg-config .pc files
changeset: 252:59fc93fe33f5
user: pancake@localhost.localdomain
date: Thu Sep 10 20:51:34 2009 +0000
files: libr/bin/bin.c libr/core/core.c libr/debug/bp.c libr/debug/debug.c libr/debug/p/ptrace.mk libr/debug/pid.c libr/debug/reg.c libr/debug/regset.c libr/hash/t/rahash2.c libr/include/r_bin.h libr/include/r_debug.h libr/include/r_io.h libr/io/Makefile libr/io/bind.c libr/io/io.c libr/util/mem.c libr/vapi/r_debug.vapi
description:
* Initial r_io_bind'ization of r_bin .. not yet working
- Meld bind.c into io.c
* Some review in many r_debug code
* Added vapi for r_debug
changeset: 251:be482834eec3
user: pancake@localhost.localdomain
date: Wed Sep 09 00:35:00 2009 +0000
files: libr/TODO libr/anal/anal.c libr/anal/ctx.c libr/anal/p/anal_dummy.c libr/anal/p/anal_x86.c libr/anal/p/anal_x86_bea.c libr/asm/t/fastcall.c libr/core/t/radare2.c libr/debug/debug.c libr/debug/t/main.c libr/hash/hash.c libr/include/r_anal.h libr/include/r_io.h libr/include/r_lib.h libr/io/README libr/io/io.c libr/io/undo.c libr/sign/t/Makefile libr/sign/t/rasign.c libr/sign/t/rasign2.c libr/util/mem.c
description:
* Some malloc checks in _new() class constructors
- Fix warnings in many places
* R_APIfication of r_anal
- Fix probable segfault in x86_bea
* Use macros to define plugin names
* Fix build of radare2, rasign2 and debug/t/main
* Call sundo_push() when io_seek
* Added toggles for seek and write undo levels
changeset: 250:ce952050145f
user: pancake@localhost.localdomain
date: Tue Sep 08 18:16:52 2009 +0000
files: TODO libr/include/r_io.h libr/io/Makefile libr/io/bind.c libr/io/cache.c libr/io/io.c libr/io/section.c libr/io/undo.c libr/vapi/r_io.vapi
description:
* Add 'r_io_undo'
* Added deinitializators for r_io_cache
changeset: 249:19d492cfc6e2
user: pancake@localhost.localdomain
date: Tue Sep 08 02:14:19 2009 +0000
files: libr/include/r_io.h libr/io/Makefile libr/io/bind.c libr/io/cache.c libr/io/io.c libr/io/section.c libr/vapi/r_util.vapi libr/vm/TODO libr/vm/mmu.c
description:
* Added R_IO_EXEC, Removed R_IO_RDWR.
- Promote the use of binary ORs
* Make r_io support cached IO
* Enforce rwx/seek by section information
- Optional by configuring io->enforce*
- Add cache.c
* section->comment => name
* Added resize callback on io pluings (not yet implemented)
changeset: 248:468c1fc44ba9
user: pancake@localhost.localdomain
date: Tue Sep 08 01:08:46 2009 +0000
files: libr/asm/t/Makefile libr/core/cmd.c libr/core/io.c libr/db/table.c libr/hash/hash.c libr/hash/t/Makefile libr/hash/t/hello.c libr/hash/t/rahash2.c libr/include/r_hash.h libr/include/r_io.h libr/include/r_util.h libr/io/Makefile libr/io/bind.c libr/io/io.c libr/macro/macro.c libr/search/t/Makefile libr/search/t/rafind2.c libr/util/Makefile libr/util/buf.c libr/util/str.c
description:
* Do not pass CFLAGS when linking asm/t/fastcall
* Populate r_io_lseek -> r_io_seek refactoring
* R_APIfy a bit the r_hash
* Also build hash/t/hello program
* Fix some warnings and build blockers
* Make rahash2 read from files (using slurp)
* Added r_buf API in r_util (interacts with r_io)
* Add initial template for r_io_bind
- Needs some more work
changeset: 247:3347651ff799
user: pancake@localhost.localdomain
date: Mon Sep 07 20:01:34 2009 +0000
files: Makefile TODO autogen.sh libr/include/r_io.h libr/io/io.c libr/io/map.c libr/io/p/io_ptrace.c libr/io/t/Makefile libr/io/t/cat.c libr/io/t/map.c libr/io/t/read4.c libr/vapi/r_io.vapi libr/vapi/t/io.vala
description:
* Fixtures for the r_io API (breaking ABI and so :)
- Standalone test program is now able to debug a process and read mapped memory
- Fixes in the r_io and ptrace plugin sides
* Added 'make vdoc' target
changeset: 246:6ce2161f77d6
user: pancake@localhost.localdomain
date: Sat Sep 05 23:58:02 2009 +0000
files: libr/include/r_io.h libr/io/Makefile libr/io/README libr/io/desc.c libr/io/handle.c libr/io/io.c libr/io/map.c libr/io/p/io_dbg.c libr/io/p/io_malloc.c libr/io/p/io_ptrace.c libr/io/p/io_shm.c libr/io/section.c libr/io/t/Makefile libr/io/t/cat.c libr/io/t/map.c libr/io/t/read4.c libr/vapi/r_io.vapi libr/vapi/r_range.vapi libr/vapi/r_util.vapi libr/vapi/t/Makefile libr/vapi/t/io.vala libr/vapi/t/iter.vala libr/vapi/t/list.vala libr/vapi/t/list_c.c libr/vapi/t/list_c.h
description:
* Lot of work on refactoring r_io
- Added desc.c to handle file descriptors (avoid dupped, register handlers, ..)
- Fix some bugs and optimize io paths
- Added resolution methods
- Maps are incomplete but better interfaced. Needs more work
- Added io/t/map.c test program (not yet working)
* Some fixups in many vapi files
- Fix broken ones (syntax parsing error)
- Complete them a bit more
* Initial working version of a demo of list.h vala interface
- Implemented as a Generic class
- Designed as an Iterator, so 'foreach' can be used to iterate
- Added example program iterating from vala and generating a list in C
changeset: 245:f704291c9d34
user: pancake@localhost.localdomain
date: Thu Sep 03 11:17:00 2009 +0000
files: libr/anal/ctx.c libr/include/iter.h libr/vapi/r_util.vapi libr/vapi/t/iter.vala
description:
* Initial working version of the r_iter for Vala
- pointers is the answer
changeset: 244:aae397649709
user: pancake@localhost.localdomain
date: Wed Sep 02 00:10:51 2009 +0000
files: libr/TODO libr/bin/format/java/java.c libr/bin/format/pe/pe.c libr/config.mk libr/core/cmd.c libr/core/io.c libr/debug/p/dbg_ptrace.c libr/debug/t/main.c libr/include/r_io.h libr/io/README libr/io/handle.c libr/io/io.c libr/io/map.c libr/io/p/dbg.mk libr/io/p/malloc.mk libr/io/p/ptrace.mk libr/io/p/shm.mk libr/io/t/cat.c libr/io/t/read4.c libr/util/mem.c libr/vapi/r_db.vapi libr/vapi/t/iter.vala
description:
* Major refactoring of r_io (api has changed)
- filedescriptor is only defined by r_io_set()
- the rest of functions just take one argument less
- there are not enought filedescriptor changes to force fd resolution all the time
* Fix memory leak in r_io_open
- Better error management
- Fix Makefile warnings in libr/io/p
* Added read_at and write_at helper functions
* Random indentation fixups
* Added shm.mk and malloc.mk
* More useless work for r_iter
changeset: 243:dcf7ab25128b
user: pancake@localhost.localdomain
date: Mon Aug 24 12:03:37 2009 +0000
files: libr/anal/README libr/include/iter.h libr/util/iter.c libr/vapi/r_syscall.vapi libr/vapi/r_util.vapi libr/vapi/t/Makefile libr/vapi/t/iter.vala mk/hg-utils.mk
description:
* Some ideas for the code analysis module
* Fix r_iter_last()
- Some more work on the Vala integration
* Grep for README and TODO for hg-miss
changeset: 242:0b8589548eba
user: pancake@localhost.localdomain
date: Sat Aug 22 05:29:58 2009 +0000
files: libr/core/cmd.c libr/core/config.c libr/core/core.c libr/include/r_io.h libr/io/handle.c libr/io/p/io_ptrace.c libr/io/t/Makefile libr/line/dietline.c
description:
* Return "" instead of NULL when possible in core input
- myfgets returns length(str)+1
- r_line fix for empty lines interpreted as EOF
* RAPIfication in io.c
* Fix the way to build the tests programs in io/t/{cat|read4}
changeset: 241:907c1e61f55d
user: pancake@localhost.localdomain
date: Sat Aug 22 05:04:29 2009 +0000
files: libr/util/num.c libr/util/str.c
description:
* Fix build of r_util
* Added r_bprintf helper for buffering printfs
- Can be used to capture the output of r_io_handle_list()
without having to use r_cons
changeset: 240:e9cbeb2ca3cb
user: pancake@localhost.localdomain
date: Sat Aug 22 04:54:41 2009 +0000
files: TODO doc/rgraph libr/core/cmd.c libr/core/core.c libr/debug/p/Makefile libr/debug/p/dbg_ptrace.c libr/debug/t/main.c libr/include/r_io.h libr/io/Makefile libr/io/handle.c libr/io/io.c libr/io/p/Makefile libr/io/p/dbg.mk libr/io/p/io_ptrace.c libr/io/t/Makefile libr/io/t/read4.c libr/lib/lib.c libr/util/num.c libr/vapi/r_io.vapi mk/hg-utils.mk
description:
* Fix build of core
* Fix non-static plugins build in r_debug and r_io
* Fix debug_ptrace - working with example but not in r2
* debug/t/main.c is now working correctly
* Massive R_APIfication in r_io and r_util
* Added r_io_read_i to read from memory as a ut64 in any endian
- read4.c example uses this new function
* Fix build of r_io static plugins
* Some more checks at random places in r_io (more stable)
- r_io_set_fd() simplifies fd and plugin setup
* Added |pid command for ptrace io plugin
* Added io->printf to avoid use of forced 'printf'
* Add more lib_types names. fixes probable segfault
* Added hg-ci hg-utils makefile target
changeset: 239:6d8a55775068
user: pancake@localhost.localdomain
date: Sat Aug 22 03:11:33 2009 +0000
files: libr/asm/Makefile libr/config.h libr/config.mk libr/debug/debug.c libr/debug/t/main.c libr/include/r_debug.h libr/include/r_io.h libr/io/Makefile libr/io/handle.c libr/io/io.c libr/io/p/Makefile libr/io/p/dbg.c libr/io/p/dbg.mk libr/io/p/ewf.c libr/io/p/io_dbg.c libr/io/p/io_ewf.c libr/io/p/io_malloc.c libr/io/p/io_ptrace.c libr/io/p/io_shm.c libr/io/p/malloc.c libr/io/p/malloc.mk libr/io/p/ptrace.c libr/io/p/ptrace.mk libr/io/p/shm.c libr/io/p/shm.mk libr/vapi/r_debug.vapi mk/hg-utils.mk
description:
* Implement static plugins for r_io
- Prefix all plugins with 'io_' (like in the rest of libs)
- Statify io_dbg and io_ptrace IO plugins
* Added _free methods for r_io and r_debug. Oops
* Initial dummy version of r_debug.vapi
* More stuff in the debug/t/main.c (not yet working)
* Better hg-miss missing file detection checks
changeset: 238:d5ccf639d6d5
user: pancake@localhost.localdomain
date: Sat Aug 22 02:03:58 2009 +0000
files: config-user.mk.acr libr/debug/p/dbg_libgdbwrap/client.c.orig libr/debug/p/dbg_libgdbwrap/gdbwrapper.c.orig mk/hg-utils.mk
description:
* Remove .orig files
* Add MKPLUGINS=mk/hg-utils.mk in the default .acr template
* Added hg-locdiff and hg-help, enhaced hg-miss
changeset: 237:2cfa7355a473
user: pancake@localhost.localdomain
date: Sat Aug 22 01:54:24 2009 +0000
files: Makefile libr/asm/Makefile libr/asm/asm.c libr/asm/p/fastcall_mips.h libr/asm/p/x86.mk libr/config.h libr/config.mk libr/core/cmd.c libr/core/t/ragrep2.c libr/debug/Makefile libr/debug/debug.c libr/debug/handle.c libr/debug/p/Makefile libr/debug/p/dbg_gdb.c libr/debug/p/dbg_libgdbwrap/Makefile libr/debug/p/dbg_libgdbwrap/README libr/debug/p/dbg_libgdbwrap/client.c libr/debug/p/dbg_libgdbwrap/client.c.orig libr/debug/p/dbg_libgdbwrap/gdbwrapper.c libr/debug/p/dbg_libgdbwrap/gdbwrapper.c.orig libr/debug/p/dbg_libgdbwrap/include/gdbwrapper-internals.h libr/debug/p/dbg_libgdbwrap/include/gdbwrapper-stddef.h libr/debug/p/dbg_libgdbwrap/include/gdbwrapper.h libr/debug/p/dbg_libgdbwrap/include/libaspect.h libr/debug/p/dbg_libgdbwrap/include/libe2dbg.h libr/debug/p/dbg_libgdbwrap/include/revm.h libr/debug/p/dbg_libgdbwrap/interface.c libr/debug/p/dbg_ptrace.c libr/debug/p/gdb.mk libr/debug/p/ptrace.mk libr/debug/t/main.c libr/include/r_debug.h libr/include/r_io.h libr/include/r_util.h libr/io/io.c libr/io/p/ptrace.c libr/util/str.c mk/hg-utils.mk
description:
* 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
changeset: 236:8e9c1ea44114
user: pancake@localhost.localdomain
date: Fri Aug 21 19:09:48 2009 +0000
files: libr/include/iter.h libr/include/r_util.h libr/util/iter.c libr/util/t/Makefile libr/util/t/iter.c libr/vapi/r_util.vapi libr/vapi/t/iter.vala
description:
* 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
changeset: 235:64dd1cc915e4
user: pancake@localhost.localdomain
date: Thu Aug 20 12:23:12 2009 +0000
files: libr/util/iter.c
description:
* Oops. fix build
changeset: 234:765ff7640b5d
user: pancake@localhost.localdomain
date: Thu Aug 20 12:20:14 2009 +0000
files: libr/include/iter.h libr/include/r_syscall.h libr/util/iter.c libr/vapi/r_bin.vapi libr/vapi/t/bin.vala
description:
* Fix Vala r_bin VAPI and example
* Added iter.h with simplified r_iter in cpp macros
* Some fixes and enhacements in r_iter
changeset: 233:22944cd30784
user: pancake@flubox
date: Wed Aug 19 18:38:35 2009 +0200
files: libr/anal/anal.c libr/include/r_anal.h libr/util/Makefile libr/util/iter.c
description:
* Added basic iterator helper functions (help vala integration?)
changeset: 232:4d95021c45ee
user: pancake@localhost.localdomain
date: Fri Aug 14 02:50:55 2009 +0000
files: libr/vapi/r_parse.vapi
description:
* Added r_parse vapi file
changeset: 231:735bd5148099
user: pancake@localhost.localdomain
date: Fri Aug 14 02:19:54 2009 +0000
files: libr/README libr/include/r_parse.h libr/parse/Makefile libr/parse/p/parse_x86_pseudo.c libr/parse/parse.c libr/parse/t/parse.c
description:
* Initial working implementation of r_parse_assemble()
- Added test program as a demo
changeset: 230:60bb13568d3c
user: pancake@localhost.localdomain
date: Fri Aug 14 01:44:12 2009 +0000
files: libr/asm/p/asm_mips.c libr/asm/p/asm_x86.c libr/asm/p/asm_x86_bea.c libr/asm/p/asm_x86_olly.c libr/asm/p/fastcall_x86.h libr/asm/t/Makefile libr/config.h libr/config.mk libr/include/r_parse.h libr/include/r_util.h libr/parse/Makefile libr/parse/p/Makefile libr/parse/p/dummy.mk libr/parse/p/mreplace.mk libr/parse/p/mreplace/mmemory.c libr/parse/p/mreplace/mmemory.h libr/parse/p/mreplace/mreplace.c libr/parse/p/mreplace/mreplace.h libr/parse/p/parse_dummy.c libr/parse/p/parse_mreplace.c libr/parse/p/parse_mreplace/mmemory.c libr/parse/p/parse_mreplace/mmemory.h libr/parse/p/parse_mreplace/mreplace.c libr/parse/p/parse_mreplace/mreplace.h libr/parse/p/parse_x86_pseudo.c libr/parse/p/x86_pseudo.mk libr/parse/parse.c libr/parse/t/Makefile libr/parse/t/parse.c libr/util/str.c
description:
* 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
changeset: 229:31d81e3d14e0
user: pancake@localhost.localdomain
date: Fri Aug 14 00:37:18 2009 +0000
files: TODO libr/anal/anal.c libr/asm/Makefile libr/asm/asm.c libr/asm/p/Makefile libr/asm/p/asm_dummy.c libr/asm/p/asm_x86.c libr/asm/p/asm_x86_bea.c libr/asm/p/asm_x86_nasm.c libr/asm/p/asm_x86_olly.c libr/asm/p/fastcall_x86.h libr/asm/t/Makefile libr/asm/t/fastcall.c libr/db/db.c libr/debug/debug.c libr/debug/p/dbg_ptrace.c libr/debug/regset.c libr/debug/t/main.c libr/include/r_asm.h libr/include/r_debug.h libr/include/r_lib.h libr/include/r_syscall.h libr/print/print.c libr/syscall/freebsd.c libr/vapi/r_asm.vapi libr/vapi/t/asm.vala
description:
* 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
changeset: 228:7ce47ab49b30
user: pancake@localhost.localdomain
date: Mon Jul 27 12:22:08 2009 +0000
files: libr/db/db.c libr/vapi/r_util.vapi
description:
* Oops, fix add_unique method
* Fix r_util vapi
changeset: 227:78ce534defe4
user: pancake@localhost.localdomain
date: Fri Jul 24 13:38:53 2009 +0000
files: libr/include/r_socket.h libr/include/r_util.h libr/socket/socket.c libr/util/hex.c libr/vapi/r_socket.vapi libr/vapi/r_util.vapi
description:
* Add r_socket_to_string() function in r_socket API
- R_APIzation of r_socket
* Added r_hex_bin2strdup()
- Bind it into the VAPI
changeset: 226:406e2f5ff825
user: pancake@flubox
date: Wed Jul 22 17:30:21 2009 +0200
files: libr/db/db.c libr/include/r_db.h libr/include/r_util.h libr/vapi/r_db.vapi libr/vapi/r_util.vapi
description:
* Added r_db_add_unique method to the r_db api
- Reflect the change in the vapi file
* Added offsetof() macro in r_util
changeset: 225:e11446a0632b
user: pancake@localhost.localdomain
date: Tue Jul 21 22:59:34 2009 +0000
files: configure configure.acr libr/Makefile libr/db/Makefile libr/db/TODO libr/db/db.c libr/pkgconfig/libr.pc.acr libr/vapi/r_asm.vapi libr/vapi/r_db.vapi libr/vapi/t/Makefile libr/vapi/t/db.vala pkgcfg/libr.pc.acr pkgcfg/r_bp.pc.acr pkgcfg/r_db.pc.acr pkgcfg/r_th.pc.acr
description:
* 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
changeset: 224:1bf1ce8d9363
user: pancake@localhost.localdomain
date: Tue Jul 21 11:13:24 2009 +0000
files: libr/Makefile libr/include/r_bin.h libr/include/r_th.h libr/rules.mk libr/th/Makefile libr/th/TODO libr/th/lock.c libr/th/t/Makefile libr/th/t/test.c libr/th/th.c libr/vapi/r_util.vapi
description:
* Initial import of r_th. The simplified and portable threading library
changeset: 223:285bc76b9e21
user: pancake@flubox
date: Thu Jul 16 18:42:11 2009 +0200
files: pkgcfg/r_vm.pc.acr
description:
* r_vm.pc depends on r_util
changeset: 222:2540ec20d19f
user: pancake@flubox
date: Thu Jul 16 14:17:32 2009 +0200
files: libr/bin/bin.c libr/core/cmd.c libr/include/r_types.h libr/trace/trace.c
description:
* Some code cleanup and add some more checks on r_bin (-15LOC)
* Added new type R_TRUFAE
changeset: 221:a37b8b31c861
user: pancake@flubox
date: Thu Jul 16 13:08:23 2009 +0200
files: libr/util/num.c libr/util/str.c libr/vapi/r_util.vapi
description:
* Fix the r_util vapi file
* Some R_APIization in r_util
changeset: 220:e79979f6e2e9
user: pancake@flubox
date: Thu Jul 16 12:38:49 2009 +0200
files: libr/include/r_util.h libr/include/r_vm.h libr/util/str.c libr/vm/Makefile libr/vm/mmu.c libr/vm/op.c libr/vm/reg.c libr/vm/stack.c libr/vm/t/Makefile libr/vm/t/test.c libr/vm/vm.c
description:
* Fix build and linkage of r_vm
- Added dummy test program for r_vm
changeset: 219:9f533925501a
user: pancake@localhost.localdomain
date: Thu Jul 16 09:44:56 2009 +0000
files: libr/cons/input.c
description:
* Fix warnings in cons/input
changeset: 218:40eda2c9dfac
user: pancake@localhost.localdomain
date: Thu Jul 16 09:40:00 2009 +0000
files: configure configure.acr libr/Makefile libr/bin/format/elf/elf.h libr/rules.mk pkgcfg/libr.pc.acr pkgcfg/r_anal.pc.acr pkgcfg/r_asm.pc.acr pkgcfg/r_bin.pc.acr pkgcfg/r_bininfo.pc.acr pkgcfg/r_cmd.pc.acr pkgcfg/r_config.pc.acr pkgcfg/r_cons.pc.acr pkgcfg/r_core.pc.acr pkgcfg/r_debug.pc.acr pkgcfg/r_diff.pc.acr pkgcfg/r_flags.pc.acr pkgcfg/r_hash.pc.acr pkgcfg/r_io.pc.acr pkgcfg/r_lang.pc.acr pkgcfg/r_lib.pc.acr pkgcfg/r_line.pc.acr pkgcfg/r_macro.pc.acr pkgcfg/r_meta.pc.acr pkgcfg/r_parse.pc.acr pkgcfg/r_print.pc.acr pkgcfg/r_range.pc.acr pkgcfg/r_reg.pc.acr pkgcfg/r_search.pc.acr pkgcfg/r_sign.pc.acr pkgcfg/r_socket.pc.acr pkgcfg/r_syscall.pc.acr pkgcfg/r_trace.pc.acr pkgcfg/r_util.pc.acr pkgcfg/r_var.pc.acr pkgcfg/r_vm.pc.acr
description:
* Autogenerate libr.pc.acr with 'make pkgcfg'
* Revert elf.h (was partially killed by zeroes)
changeset: 217:b05e9c22d7fa
user: pancake@localhost.localdomain
date: Thu Jul 16 09:24:17 2009 +0000
files: libr/Makefile libr/asm/Makefile libr/asm/arch/csr/csr_disasm/dis.c
description:
* Fix memory leak and simplify the code of the CSR disassembler
changeset: 216:20919062a006
user: pancake@localhost.localdomain
date: Thu Jul 16 00:30:20 2009 +0000
files: Makefile TODO config-user.mk.acr configure configure.acr env.sh libr/Makefile libr/bin/format/elf/elf.h libr/hash/crca.c libr/include/r_util.h libr/rules.mk libr/util/mem.c libr/vapi/r_util.vapi pkgcfg/Makefile pkgcfg/libr.pc.acr pkgcfg/r_anal.pc.acr pkgcfg/r_asm.pc.acr pkgcfg/r_bin.pc.acr pkgcfg/r_bininfo.pc.acr pkgcfg/r_cmd.pc.acr pkgcfg/r_config.pc.acr pkgcfg/r_cons.pc.acr pkgcfg/r_core.pc.acr pkgcfg/r_debug.pc.acr pkgcfg/r_diff.pc.acr pkgcfg/r_flags.pc.acr pkgcfg/r_hash.pc.acr pkgcfg/r_io.pc.acr pkgcfg/r_lang.pc.acr pkgcfg/r_lib.pc.acr pkgcfg/r_line.pc.acr pkgcfg/r_macro.pc.acr pkgcfg/r_meta.pc.acr pkgcfg/r_parse.pc.acr pkgcfg/r_print.pc.acr pkgcfg/r_range.pc.acr pkgcfg/r_reg.pc.acr pkgcfg/r_search.pc.acr pkgcfg/r_sign.pc.acr pkgcfg/r_socket.pc.acr pkgcfg/r_syscall.pc.acr pkgcfg/r_trace.pc.acr pkgcfg/r_util.pc.acr pkgcfg/r_var.pc.acr pkgcfg/r_vm.pc.acr
description:
* Added 'pkgcfg' directory with autogenerated .pc files
- 'make pkgcfg' does that automagically :)
* Implement r_mem_mem function in r_util
changeset: 215:62e7280a78c4
user: pancake@flubox
date: Mon Jul 13 19:56:46 2009 +0200
files: libr/vapi/r_search.vapi libr/vapi/t/Makefile libr/vapi/t/asm.gs libr/vapi/t/search.gs libr/vapi/t/search.vala
description:
* Added Genie examples in the vapi test directory
changeset: 214:bf817406ea97
user: pancake@localhost.localdomain
date: Wed Jul 08 17:14:19 2009 +0000
files: libr/db/Makefile libr/db/db.c libr/db/t/test.c libr/db/table.c libr/include/r_db.h
description:
* Upload partial implementation of iterators and tables for r_db
changeset: 213:47062240fe1b
user: nibble
date: Wed Jul 08 13:56:04 2009 +0200
files: libr/core/core.c libr/include/r_core.h libr/include/r_types.h
description:
* More type renaming
- s/s64/st64/
changeset: 212:f802be2bcb43
user: nibble
date: Wed Jul 08 13:49:55 2009 +0200
files: ChangeLog doc/lang-plugins libr/anal/anal.c libr/anal/p/anal_x86.c libr/asm/arch/csr/csr_disasm/dis.c libr/asm/arch/csr/csr_disasm/dis.h libr/asm/arch/java/javasm/javasm.c libr/asm/arch/java/javasm/javasm.h libr/asm/arch/psosvm/vmas/vmas.c libr/asm/arch/psosvm/vmas/vmas.h libr/asm/asm.c libr/asm/p/asm_arm.c libr/asm/p/asm_bf.c libr/asm/p/asm_csr.c libr/asm/p/asm_dummy.c libr/asm/p/asm_java.c libr/asm/p/asm_m68k.c libr/asm/p/asm_mips.c libr/asm/p/asm_ppc.c libr/asm/p/asm_psosvm.c libr/asm/p/asm_sparc.c libr/asm/p/asm_x86.c libr/asm/p/asm_x86_bea.c libr/asm/p/asm_x86_nasm.c libr/asm/p/asm_x86_olly.c libr/asm/t/rasm2.c libr/bin/bin.c libr/bin/format/elf/elf.c libr/bin/format/elf/elf.h libr/bin/format/java/java.c libr/bin/format/java/java.h libr/bin/format/pe/pe.c libr/bin/format/pe/pe.h libr/bin/format/pe/pe_specs.h libr/bin/p/bin_elf.c libr/bin/p/bin_elf64.c libr/bin/p/bin_java.c libr/bin/p/bin_mach0.c libr/bin/p/bin_pe.c libr/bin/p/bin_pe64.c libr/bin/t/rabin2.c libr/bininfo/bininfo.c libr/bininfo/p/bininfo_addr2line.c libr/bp/bp.c libr/bp/p/bp_arm.c libr/bp/p/bp_x86.c libr/cmd/cmd.c libr/config/callback.c libr/config/config.c libr/cons/README libr/cons/print.c libr/core/cmd.c libr/core/core.c libr/core/file.c libr/core/io.c libr/core/visual.c libr/core/yank.c libr/db/TODO libr/db/db.c libr/debug/bp.c libr/debug/debug.c libr/debug/p/dbg_ptrace.c libr/debug/reg.c libr/debug/regset.c libr/diff/diff.c libr/diff/t/radiff2.c libr/diff/t/test.c libr/flags/flags.c libr/flags/old_flags.c libr/flags/old_flags.h libr/hash/crc16.c libr/hash/crc32.c libr/hash/entropy.c libr/hash/hamdist.c libr/hash/hash.c libr/hash/hash.h libr/hash/md4.c libr/hash/sha2.h libr/hash/state.c libr/hash/t/hello.c libr/hash/t/rahash2.c libr/include/r_anal.h libr/include/r_asm.h libr/include/r_bin.h libr/include/r_bininfo.h libr/include/r_bp.h libr/include/r_config.h libr/include/r_core.h libr/include/r_db.h libr/include/r_debug.h libr/include/r_diff.h libr/include/r_flags.h libr/include/r_hash.h libr/include/r_io.h libr/include/r_macro.h libr/include/r_meta.h libr/include/r_print.h libr/include/r_range.h libr/include/r_search.h libr/include/r_sign.h libr/include/r_trace.h libr/include/r_types.h libr/include/r_util.h libr/include/r_var.h libr/include/r_vm.h libr/io/io.c libr/io/map.c libr/io/p/dbg.c libr/io/p/ewf.c libr/io/p/malloc.c libr/io/p/ptrace.c libr/io/p/shm.c libr/io/section.c libr/io/undo.c libr/io/undo.h libr/line/dietline.c libr/macro/macro.c libr/meta/meta.c libr/meta/tmp/data.c libr/print/date.c libr/print/format.c libr/print/print.c libr/print/t/fmt.c libr/print/t/hex.c libr/range/range.c libr/search/aes-find.c libr/search/binparse.c libr/search/bytepat.c libr/search/old_xrefs.c libr/search/regexp.c libr/search/search.c libr/search/stripstr.c libr/search/t/rafind2.c libr/search/t/test-regexp.c libr/search/t/test-str.c libr/search/t/test.c libr/search/xrefs.c libr/socket/socket.c libr/trace/trace.c libr/util/alloca.c libr/util/cache.c libr/util/file.c libr/util/hex.c libr/util/mem.c libr/util/num.c libr/util/t/rax2.c libr/util/t/test.c libr/vapi/r_io.vapi libr/var/var.c libr/vm/mmu.c libr/vm/reg.c libr/vm/stack.c libr/vm/vm.c
description:
* Change the name of some types
- s/u64/ut64/
- s/u32/ut32/
- s/u16/ut16/
- s/u8/ut8/
changeset: 211:85b2ec7b9f10
user: nibble
date: Wed Jul 08 02:06:27 2009 +0200
files: libr/bin/format/elf/elf.c
description:
* r_bin
- More refactoring
- Remove dupped code from Elf_(get_import_addr)
changeset: 210:b1efa59dc3aa
user: nibble
date: Tue Jul 07 18:33:21 2009 +0200
files: libr/bin/p/bin_elf.c
description:
* r_bin
- minor fixup
changeset: 209:8888c1995ee9
user: nibble
date: Tue Jul 07 18:01:49 2009 +0200
files: libr/bin/bin.c libr/bin/format/elf/elf.c libr/bin/format/elf/elf.h libr/bin/p/bin_dummy.c libr/bin/p/bin_elf.c libr/bin/p/bin_elf64.c libr/bin/p/bin_java.c libr/bin/p/bin_mach0.c libr/bin/p/bin_pe.c libr/bin/p/bin_pe64.c libr/bin/t/rabin2.c libr/include/r_bin.h
description:
* 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)
changeset: 208:80080a3c9e16
user: nibble
date: Sun Jul 05 16:57:09 2009 +0200
files: libr/bin/p/bin_java.c libr/bin/p/bin_pe.c libr/bin/t/rabin2.c
description:
* r_bin
- *_open return -1 on fail
changeset: 207:ff053aedbf65
user: nibble
date: Sun Jul 05 16:49:47 2009 +0200
files: libr/bin/bin.c libr/bin/format/elf/elf.c libr/bin/format/elf/elf.h libr/bin/format/elf/elf_specs.h libr/bin/p/bin_elf.c libr/bin/p/bin_elf64.c libr/bin/p/bin_java.c libr/bin/p/bin_pe.c libr/bin/t/rabin2.c libr/include/r_bin.h libr/include/r_util.h libr/util/mem.c libr/util/str.c
description:
* 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
changeset: 206:abdc8c442447
user: pancake@localhost.localdomain
date: Thu Jun 18 13:10:26 2009 +0000
files: libr/db/README libr/db/db.c libr/db/t/test.c libr/include/r_db.h
description:
* Added r_db_delete() method in r_db api
changeset: 205:f13861629b56
user: pancake@flubox
date: Mon Jun 15 18:31:03 2009 +0200
files: libr/db/README libr/db/TODO libr/db/db.c libr/db/t/test.c
description:
* Initial working version (with test) of r.db
- Ow yeah! (missing r_db_delete and iterators)
changeset: 204:b0c91d804a9b
user: pancake@localhost.localdomain
date: Mon Jun 15 02:44:05 2009 +0000
files: Makefile TODO libr/Makefile libr/core/cmd.c libr/db/Makefile libr/db/db.c libr/db/t/Makefile libr/db/t/test.c libr/flags/flags.c libr/include/r_db.h libr/include/r_flags.h libr/util/file.c libr/util/str.c
description:
* Initial import of r_db
changeset: 203:4ecc3daa3b9d
user: nibble
date: Fri Jun 12 19:33:31 2009 +0200
files: libr/bin/p/bin_pe.c libr/syscall/win7.c
description:
* Fixed r_bin_pe segfault with .NET PE files
* Added windows 7 syscalls table to r_syscall under win7.c
changeset: 202:ea0f5cce4672
user: nibble
date: Thu Jun 11 14:28:35 2009 +0200
files: libr/asm/p/asm_x86_olly.c libr/asm/t/rasm2.c libr/bin/format/elf/elf.c
description:
* Fixed bug in r_bin_elf resolving imports
* Fixed 'rasm2 -o'
changeset: 201:262e2784901d
user: nibble
date: Wed Jun 03 12:58:18 2009 +0200
files: libr/bin/format/elf/elf.c libr/bin/format/elf/elf_specs.h
description:
* Fixed Elf64_Xword/Elf32_word bug in r_bin_elf
changeset: 200:94ef1998aaff
user: pancake@localhost.localdomain
date: Thu May 28 10:57:30 2009 +0000
files: libr/TODO libr/bin/format/elf/elf.c libr/bin/p/bin_elf.c libr/core/cmd.c libr/debug/debug.c libr/flags/flags.c libr/flags/spaces.c libr/flags/t/test.c libr/include/r_anal.h libr/include/r_debug.h libr/socket/socket.c
description:
* 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)
changeset: 199:8c1a1e3eacaf
user: pancake@localhost.localdomain
date: Wed May 20 12:41:04 2009 +0000
files: libr/asm/asm.c libr/bin/p/bin_elf.c libr/bin/p/bin_mach0.c libr/cons/cons.c libr/include/r_util.h libr/util/str.c libr/vm/vm.c
description:
* 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
changeset: 198:6a582129be2e
user: nibble
date: Sun May 17 12:01:02 2009 +0200
files: libr/bin/bin.c libr/bin/p/Makefile libr/bin/p/bin_dummy.c libr/bin/p/dummy.mk libr/bin/t/rabin2.c libr/config.h libr/config.mk libr/include/r_bin.h
description:
* 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
changeset: 197:fc627822e206
user: nibble
date: Tue May 05 23:49:40 2009 +0200
files: libr/bin/format/elf/elf.c
description:
* Fixed resize_section in r_bin
changeset: 196:e9f612772da4
parent: 195:242aca513fc7
parent: 194:d00ba5d2e17c
user: nibble
date: Sat May 02 01:08:57 2009 +0200
files: libr/anal/anal.c libr/include/r_anal.h libr/io/p/Makefile
description:
* Merge
changeset: 195:242aca513fc7
parent: 193:77d0ca6e6db5
user: nibble
date: Sat May 02 01:04:32 2009 +0200
files: libr/bin/t/rabin2.c libr/include/r_types.h
description:
* 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
changeset: 194:d00ba5d2e17c
user: pancake@localhost.localdomain
date: Fri May 01 01:25:28 2009 +0000
files: libr/cons/README libr/search/t/rafind2.c libr/socket/socket.c
description:
* Fix rafind2 -x and make it less verbose
changeset: 193:77d0ca6e6db5
user: nibble
date: Thu Apr 30 13:46:29 2009 +0200
files: libr/bin/format/pe/pe.c
description:
* Fixed bug in r_bin_pe resolving imports
changeset: 192:edc19e4ead40
user: nibble
date: Wed Apr 29 18:56:30 2009 +0200
files: libr/bin/format/elf/elf.c
description:
* Huge refactoring of r_bin_elf_resize_section
changeset: 191:4fafa57fba8d
user: nibble
date: Mon Apr 27 00:34:54 2009 +0200
files: libr/asm/asm.c libr/asm/t/rasm2.c libr/include/r_asm.h libr/vapi/r_asm.vapi
description:
* Added mdisassemble into r_asm
* Update r_asm vapi
changeset: 190:82a70d755b5e
user: nibble
date: Sat Apr 25 20:44:27 2009 +0200
files: .hgtags
description:
Added tag 0.2 for changeset b8a299e8cb05
changeset: 189:b8a299e8cb05
tag: 0.2
user: pancake@localhost.localdomain
date: Sat Apr 25 19:43:47 2009 +0000
files: ChangeLog Makefile config.mk
description:
* Sync changelog for 0.2
* RELEASE=1
changeset: 188:3bb39cbae540
user: pancake@localhost.localdomain
date: Sat Apr 25 17:59:52 2009 +0000
files: Makefile config.mk
description:
* Release 0.2
===== RELEASE 0.2 =====
changeset: 187:d1db102f267b
tag: tip
user: pancake@localhost.localdomain
date: Sat Apr 25 11:29:39 2009 +0000
files: Makefile
description:
* Fix make dist
* Added make shot target
changeset: 186:6c70a4d4b40e
user: nibble
date: Fri Apr 24 12:12:15 2009 +0200
files: libr/bin/bin.c libr/bin/format/elf/elf.c libr/bin/format/elf/elf.h libr/bin/p/bin_elf.c libr/bin/p/bin_elf64.c libr/bin/p/bin_java.c libr/bin/p/bin_pe.c libr/bin/p/bin_pe64.c libr/bin/t/rabin2.c libr/include/r_bin.h
description:
* r_bin
- Added r_bin_get_fields
- Added flag -H to rabin2 to list header fields
changeset: 185:30e176797a0f
user: pancake@localhost.localdomain
date: Thu Apr 23 10:31:55 2009 +0000
files: libr/asm/arch/psosvm/vmas/vmas.c libr/asm/arch/psosvm/vmas/vmas.h libr/asm/asm.c libr/include/r_asm.h libr/search/search.c
description:
* Fix vmas assembler plugin license header
* Added set_subarch() method for r_asm plugins
- Not yet used by any plugin
changeset: 184:33052f341aeb
user: nibble
date: Thu Apr 23 00:09:55 2009 +0200
files: libr/asm/asm.c libr/asm/p/asm_java.c libr/asm/p/asm_psosvm.c libr/asm/p/asm_x86_nasm.c libr/asm/p/asm_x86_olly.c libr/include/r_asm.h
description:
r_asm
- Remove some warnings from r_asm
- Redefine parameters in several functions
changeset: 183:7e8fb351dbde
user: pancake@flubox
date: Wed Apr 22 20:17:49 2009 +0200
files: libr/asm/arch/psosvm/vmas/vmas.c libr/asm/arch/psosvm/vmas/vmas.h libr/asm/p/Makefile libr/asm/p/asm_psosvm.c libr/asm/p/psosvm.mk
description:
* Apply skurz0's patch implementing psosvm architecture for r_asm
changeset: 182:c7919d910a2c
user: nibble
date: Wed Apr 22 16:29:30 2009 +0200
files: configure libr/asm/asm.c libr/config.h libr/config.mk libr/include/r_asm.h
description:
* r_asm
- Added pseudo-instruction .bits
- Added asm_x86_nasm as static plugin
* r_bin
- Added pe, pe64, elf64 and java as static plugins
changeset: 181:e1a02b7f6547
user: nibble
date: Wed Apr 22 00:42:18 2009 +0200
files: libr/asm/asm.c libr/core/file.c
description:
* r_asm
- Added pseudo-instruction .org
- .asciz renamed to .string
* r_core
- Fixed r_bin format detection at opening
changeset: 180:c14d9357a5c5
user: nibble
date: Tue Apr 21 13:39:33 2009 +0200
files: libr/asm/asm.c
description:
* r_asm
- Now instructions are splitted by '\n' '\r' and ';'
changeset: 179:de573ee72aa3
user: nibble
date: Tue Apr 21 12:11:07 2009 +0200
files: libr/asm/asm.c libr/bin/format/elf/elf.c libr/include/r_util.h
description:
* r_bin
- Minor fixups in r_bin_elf
* r_asm
- Added multiline support to massemble
- Fixed buf_hex generation in massemble
changeset: 178:3cdd3b1a6c6e
user: pancake@flubox
date: Mon Apr 20 17:54:18 2009 +0200
files: configure configure.acr libr/Makefile
description:
* Fix generation of libr.pc from ACR instead of the hacky makefile way
changeset: 177:9e54aa9cc1e8
user: nibble
date: Mon Apr 20 13:26:29 2009 +0200
files: libr/asm/asm.c
description:
* Fixed labels bug in r_asm
changeset: 176:a23ef008ca7e
user: nibble
date: Mon Apr 20 13:11:50 2009 +0200
files: Makefile
description:
* Fixed build
changeset: 175:11281b1d48ee
user: pancake@flubox
date: Mon Apr 20 13:02:04 2009 +0200
files: Makefile config-user.mk.acr libr/Makefile
description:
* Apply elektranox patch for the makefiles
- replace mkdir with INSTALL_.. thanks!
changeset: 174:11b1e2e270e6
user: pancake@flubox
date: Mon Apr 20 12:31:12 2009 +0200
files: libr/Makefile libr/util/file.c
description:
* Fix segfault in r_file_slurp_random()
- Thanks elektranox
changeset: 173:c2377e0abfbe
user: pancake@flubox
date: Mon Apr 20 11:57:36 2009 +0200
files: libr/debug/p/dbg_ptrace.c libr/io/p/ptrace.c
description:
* Fix --without-debugger usage O:)
changeset: 172:97abaa1584ff
user: pancake@flubox
date: Mon Apr 20 11:42:05 2009 +0200
files: config-user.mk.acr libr/Makefile
description:
* Apply elektranox patch using INSTALL instead of cp
- Fixes installation permissions
changeset: 171:ec4a4f6b794d
user: nibble
date: Mon Apr 20 11:37:54 2009 +0200
files: libr/asm/p/asm_x86_olly.c
description:
* Fixed infinite loop in asm_x86_olly when str == ""
changeset: 170:671643644519
parent: 168:5a721649b38b
parent: 169:a43c5271a1d6
user: pancake@localhost.localdomain
date: Sun Apr 19 23:30:15 2009 +0000
description:
* Oops merge
changeset: 169:a43c5271a1d6
parent: 167:5b2ab379e3c1
user: nibble
date: Sun Apr 19 23:43:43 2009 +0200
files: libr/core/config.c libr/include/r_userconf.h.acr
description:
* Fix build O:)
changeset: 168:5a721649b38b
user: pancake@localhost.localdomain
date: Sun Apr 19 23:30:01 2009 +0000
files: libr/Makefile
description:
* Fix plugin perms (thanks elektranox)
changeset: 167:5b2ab379e3c1
user: pancake@localhost.localdomain
date: Sun Apr 19 20:55:25 2009 +0000
files: configure configure.acr libr/core/config.c libr/debug/p/dbg_ptrace.c libr/include/r_types.h libr/include/r_userconf.h.acr libr/io/p/ptrace.c
description:
* Added --without-debugger configure flag to disable the build of
io/p/ptrace and debug/p/dbg_ptrace plugins
* Added a global include/r_userconf.h generated by ./configure
to use options defined at cpp level
changeset: 166:adf9fbbb9731
user: nibble
date: Sun Apr 19 20:09:07 2009 +0200
files: libr/asm/Makefile libr/asm/asm.c libr/asm/t/Makefile libr/bin/bin.c libr/bin/format/elf/elf_specs.h libr/include/r_asm.h libr/include/r_util.h
description:
* r_asm
- Added pseudo-instruction .arch
- Improve label parsing
- Dropped r_cmd dependency
* r_bin
- Fixed string address issue
- Minor fixup in elf_specs.h
* r_util
- Removed '.' from isseparator
changeset: 165:b7a7e52e2ff8
user: pancake@localhost.localdomain
date: Sat Apr 18 21:49:17 2009 +0000
files: libr/core/cmd.c libr/core/config.c libr/core/visual.c libr/flags/flags.c
description:
* Do not force 's eip' in so many places
- '.' key makes
* Use workaround in r_flag_get_i() using the slow foreach loop
- we need to fix the btree algo
changeset: 164:b09401b925ef
user: pancake@localhost.localdomain
date: Fri Apr 17 11:42:45 2009 +0000
files: TODO libr/core/config.c libr/core/t/radare2.c libr/core/visual.c libr/debug/bp.c libr/debug/handle.c libr/debug/p/dbg_gdb.c libr/debug/p/dbg_ptrace.c libr/include/r_debug.h
description:
* cleanup the TODO file
* Added cfg.debug config variable
* Fix the basic stuff for r.dbg.reg api integrated with core
* Failover into the plugin breakpoint implementation to support
non memory breakpoints like API ones or hardware ones
* Added initial non-working version of the gdbwrap debug plugin
- We need to design an IO plugin for gdbwrap too (or a way to
change the IO based on the debug plugin)
changeset: 163:f2e301cd80f3
user: pancake@localhost.localdomain
date: Thu Apr 16 23:42:31 2009 +0000
files: libr/core/cmd.c libr/core/t/radare2.c libr/debug/regset.c
description:
* Fix bugs in regset debug module
- Make radare2 core use the new register api
- Needs more work, but it is at least usable :)
changeset: 162:6af3ad7eb90e
user: pancake@localhost.localdomain
date: Thu Apr 16 20:49:18 2009 +0000
files: libr/anal/p/anal_x86.c libr/core/cmd.c libr/core/config.c libr/core/core.c libr/core/file.c libr/core/t/radare2.c libr/debug/debug.c libr/debug/reg.c libr/include/r_debug.h libr/reg/README
description:
* Sync x86 code analysis fixups from r1
* Fix some segfaults on the not-yet-used dbg.reg api
* Now uses .radare2rc
* Some R_APIzation in r_debug
changeset: 161:a7917b877da3
user: nibble
date: Thu Apr 16 19:20:03 2009 +0200
files: libr/asm/asm.c libr/asm/p/asm_arm.c libr/asm/p/asm_m68k.c libr/asm/p/asm_mips.c libr/asm/p/asm_ppc.c libr/asm/p/asm_sparc.c libr/asm/p/asm_x86.c libr/asm/p/asm_x86_bea.c libr/asm/p/asm_x86_nasm.c libr/asm/p/asm_x86_olly.c libr/asm/t/rasm2.c libr/include/r_asm.h libr/vapi/r_asm.vapi libr/vapi/t/asm.vala
description:
* r_asm
- Fixed binary output of rasm2
- Added R_ASM_BUFSIZE
- vapi update
- Added assemble test into asm.vala
changeset: 160:f29ee39a7af7
user: nibble
date: Thu Apr 16 18:03:51 2009 +0200
files: libr/asm/Makefile libr/asm/arch/x86/bea/Includes/Routines_ModRM.c libr/asm/asm.c libr/asm/t/Makefile
description:
* r_asm
- Added full label support (fixed bug with postdefined labels)
- Removed some warnings in bea
- Removed r_flags dependency
changeset: 159:6246f2cda01d
user: pancake@localhost.localdomain
date: Wed Apr 15 21:19:42 2009 +0000
files: libr/hash/hash.c libr/hash/hash.h libr/hash/t/Makefile libr/hash/t/rahash2.c libr/include/r_hash.h libr/vapi/t/asm.vala
description:
* Added r_hash_name_to_bits
* Initial implementation of rahash2 with md4 and md5 :)
- No block bases hashing support yet. Just a POC
* Make asm.vala example work
changeset: 158:d26b6a494e8e
user: pancake@flubox
date: Wed Apr 15 20:24:19 2009 +0200
files: libr/core/cmd.c libr/core/core.c libr/include/r_core.h libr/include/r_util.h libr/util/file.c
description:
* Added 'yt' command (yank to)
* Fix help for ?$ -> ???
- New variables (sync with r1 are available)
- $$, $$$, $e, $j, $f, $r and ${..}
* Implement wf, wF and wt (but not wtf :P)
* Fix some minor warnings
* Added new slurp_hexpairs helper
changeset: 157:ca296e854e2c
user: nibble
date: Wed Apr 15 14:37:18 2009 +0200
files: libr/asm/Makefile libr/asm/asm.c libr/asm/t/Makefile libr/include/r_util.h libr/util/str.c
description:
* r_asm
- Added label support using r_flags
* r_util_str
- Added macro isseparator
- r_str_word_* functions use isseparator now
changeset: 156:3334f3f3ae84
user: pancake@localhost.localdomain
date: Wed Apr 15 11:09:36 2009 +0000
files: libr/debug/Makefile libr/debug/debug.c libr/debug/p/dbg_ptrace.c libr/debug/reg.c libr/debug/regset.c libr/include/r_debug.h libr/include/r_types.h man/rabin2.1 man/radare2.1 man/radiff2.1 man/rahash2.1 man/rasm2.1 man/rax2.1
description:
* Initial work on the register API for r_debug
- r_debug_reg and r_debug_regset
- Handles dbg->newstate to force register sync
- Only dbg.reg.read() for x86-32 and 64
* Added dummy copy of manpages (from old radare1)
changeset: 155:ee35c2bfc3cf
user: pancake@fluendo-build
date: Wed Apr 15 12:01:12 2009 +0200
files: libr/bp/bp.c libr/core/cmd.c libr/core/core.c libr/debug/bp.c libr/debug/pid.c libr/include/r_bp.h libr/include/r_debug.h
description:
* Fix breakpoint management issues in r_bp
- Make r_bp_enable return bp_item
- dbh: breakpoint handler plugins can now be listed and selected
- Added 'dbe' and 'dbd' commands to enable and disable breakpoints
changeset: 154:e05233a45279
user: pancake@fluendo-build
date: Wed Apr 15 01:34:59 2009 +0200
files: libr/debug/debug.c
description:
* Oops fix build
changeset: 153:891f442ff8aa
user: pancake@localhost.localdomain
date: Wed Apr 15 00:29:01 2009 +0000
files: libr/core/cmd.c libr/core/core.c libr/core/t/Makefile libr/debug/debug.c libr/io/p/ptrace.c libr/rules.mk
description:
* Added fixture for rules.mk library build
* Added $s for filesize (like in r1)
* Added ? $? for help and ?$ alias
* Add r_bp as dependency for r_core in test programs (fix build)
* Use limits.h in io-ptrace to determine x86-32 or 64
* Fix a building bug in rules.mk
changeset: 152:91d9fb6ac7f3
user: nibble
date: Wed Apr 15 01:19:42 2009 +0200
files: doc/fortunes libr/asm/asm.c libr/asm/p/asm_x86_olly.c libr/asm/t/rasm2.c
description:
* r_asm
- Added pseudoinstruction .asciz
- asm_x86_olly assembles the shorter opcode
* rasm2
- Minor fixups and refactoring
* Misc
- Added new quote into fortunes
changeset: 151:ed4325e6e4ff
user: nibble
date: Tue Apr 14 15:21:19 2009 +0200
files: libr/asm/asm.c libr/asm/p/asm_arm.c libr/asm/p/asm_bf.c libr/asm/p/asm_csr.c libr/asm/p/asm_java.c libr/asm/p/asm_m68k.c libr/asm/p/asm_mips.c libr/asm/p/asm_ppc.c libr/asm/p/asm_sparc.c libr/asm/p/asm_x86.c libr/asm/p/asm_x86_bea.c libr/asm/p/asm_x86_nasm.c libr/asm/p/asm_x86_olly.c libr/asm/t/rasm2.c libr/bin/t/rabin2.c libr/util/sys.c
description:
* r_asm
- Fixed initialization
- Fixed assembly fallbacks
- Removed dupped memcpy's in disassembly functions
- Added the directive ORG to asm_x86_nasm
- Refactoring
* rabin2
- Added -L to list supported plugins
changeset: 150:e4d7b761b1b5
user: pancake@localhost.localdomain
date: Mon Apr 13 22:47:02 2009 +0000
files: TODO libr/asm/asm.c libr/asm/p/Makefile libr/asm/p/asm_java.c libr/asm/p/asm_x86_nasm.c libr/asm/p/x86nasm.mk libr/asm/t/rasm2.c libr/bp/Makefile libr/bp/bp.c libr/bp/p/bp_arm.c libr/bp/p/bp_x86.c libr/config.h libr/config.mk libr/hash/t/rahash2.c libr/include/r_bp.h libr/include/r_util.h libr/util/sys.c
description:
* Move buf_hex memcpy in r_asm instead of dupped code in every plugin
- Plugins needs to be synced
* Added x86nasm assembler backend to handle x86-64
- Not yet working. Pretty buggy :)
* Fix support of building static plugins for r_bp
- Statically link r_bp_x86 by default
* Implement ugly r_sys_cmd_str() command in r_util
changeset: 149:31d4fcd17d11
user: pancake@localhost.localdomain
date: Sun Apr 12 23:10:22 2009 +0000
files: libr/asm/t/rasm2.c libr/bp/bp.c libr/core/core.c libr/debug/bp.c libr/debug/debug.c libr/include/r_debug.h
description:
* rasm2 -h does not list plugins (use -L)
* Fix div0 bug in r_bp_getbytes()
* Show 'enabled' / 'disabled' attribute of breakpoints
* Implement dbg_read and dbg_write callbacks for r_debug
- Added r_debug_set_io() to setup the IO for r_debug
* 'db' command can now add and remove breakpoints
- Not yet written into memory. only managed
changeset: 148:6694fe2a82db
user: pancake@localhost.localdomain
date: Sun Apr 12 22:46:44 2009 +0000
files: libr/asm/asm.c libr/bp/bp.c libr/bp/p/Makefile libr/bp/p/arm.mk libr/bp/p/bp_arm.c libr/bp/p/bp_x86.c libr/bp/p/x86.mk libr/core/cmd.c libr/core/libs.c libr/debug/Makefile libr/debug/bp.c libr/debug/debug.c libr/include/r_bp.h libr/include/r_debug.h libr/include/r_lib.h
description:
* Initial pseudo-working implementation of the r_bp library
- Integrated with r_debug module
- Hardware breakpoints will be handled by the debug backend
- Breakpoints support software/hardware, lil/big endian, trace, enable/disable
- Plugin infrastructure adding software breakpoint templates
- Added x86 and arm software breakpoint plugins
* Some work on the 'db' command to manage debugger breakpoint
* Added empty dH to transplant process between debugger backends
changeset: 147:13f56e50301f
user: pancake@localhost.localdomain
date: Sat Apr 11 21:24:37 2009 +0000
files: libr/asm/t/rasm2.c libr/config/config.c
description:
* Add rasm2 -L flag to list loaded asm plugins
* Make r_config_set_i restore old value if callback fails
changeset: 146:b6023669a2ad
user: pancake@localhost.localdomain
date: Sat Apr 11 21:22:20 2009 +0000
files: doc/releases doc/syntax libr/Makefile libr/anal/Makefile libr/anal/anal.c libr/anal/ctx.c libr/asm/asm.c libr/asm/p/asm_arm.c libr/asm/p/asm_bf.c libr/asm/p/asm_csr.c libr/asm/p/asm_dummy.c libr/asm/p/asm_java.c libr/asm/p/asm_m68k.c libr/asm/p/asm_mips.c libr/asm/p/asm_ppc.c libr/asm/p/asm_sparc.c libr/asm/p/asm_x86.c libr/asm/p/asm_x86_bea.c libr/asm/p/asm_x86_olly.c libr/bp/bp.c libr/config.h libr/config/config.c libr/core/Makefile libr/core/config.c libr/core/core.c libr/debug/p/dbg_ptrace.c libr/flags/t/Makefile libr/include/r_anal.h libr/include/r_asm.h libr/include/r_bp.h libr/include/r_config.h libr/include/r_debug.h
description:
* Initial dummy implementation of r_bp
- Managing breakpoints for the core
- Initial work on the support for breakpoints
for the r_debug plugins
* Adding some dummy work for context support in r_anal
* Make asm_set_bits check per-plugin supported bit sizes
- Now asm plugins have 'arch' and 'bits' attributes
- Used to setup default callbacks for undefined 'assemble' callback
- Also used to avoid setting asm.bits eval variable to invalid values
- We need a way to display all this data
* Added DEFAULT_ARCH in config.h to setup default arch to asm and anal
* Added r_config_set_i_cb()
- Make r_config_set restore value when callback is called and fails
- asm.bits now has a config callback
* Added _LAST in some r_anal enums
changeset: 145:de6ccc04013a
user: nibble
date: Sat Apr 11 18:49:09 2009 +0200
files: libr/asm/Makefile libr/asm/asm.c libr/bin/format/elf/elf.c libr/include/r_asm.h libr/include/r_cmd.h libr/include/r_util.h libr/util/str.c
description:
* r_asm
- Added pseudo-instruction support using r_cmd
- Added .byte
* r_util_str
- Added r_str_trim
* r_cmd
- Fixed r_cmd.h
changeset: 144:ac30bb05896a
user: nibble
date: Thu Apr 09 01:03:49 2009 +0200
files: libr/asm/asm.c libr/asm/t/rasm2.c libr/bin/bin.c libr/bin/format/elf/elf.c libr/core/cmd.c libr/include/r_asm.h
description:
* r_bin_elf
- Fixed error opening "sstripped" elfs
* r_asm
- Added r_asm_massemble
Assemble several instructions separated by ';'
* rasm2
- Updated assembly using r_asm_massemble
* core
- Updated 'wa' cmd using r_asm_massemble
changeset: 143:22b17d5e7d4e
user: nibble
date: Wed Apr 08 00:47:40 2009 +0200
files: libr/bin/format/elf/elf.c
description:
* Fixed resize_section for ELF64
changeset: 142:6aec19b28e36
user: nibble
date: Tue Apr 07 22:46:36 2009 +0200
files: libr/bin/format/elf/elf.c libr/bin/format/elf/elf_specs.h
description:
* r_bin_elf
- Fixed "imports bug" in ELF64
(needs more love ;)
- More fixups in section_resize for ELF64
changeset: 141:c60b576bb0a6
user: pancake@localhost.localdomain
date: Tue Apr 07 11:28:22 2009 +0000
files: libr/Makefile libr/cons/Makefile libr/cons/cons.c libr/cons/input.c libr/core/cmd.c libr/core/core.c libr/core/io.c libr/core/t/radare2.c libr/core/visual.c libr/core/yank.c libr/include/r_cons.h libr/include/r_core.h libr/print/print.c libr/sysproxy/README libr/sysproxy/listeners/getsock.S libr/sysproxy/listeners/lis_socket_tcp.S libr/sysproxy/listeners/lis_socket_udp.S libr/sysproxy/rpc.c libr/sysproxy/sp.h libr/sysproxy/syscall-linux.c libr/sysproxy/syscall.S libr/sysproxy/syscall.c libr/sysproxy/test_sp.c libr/sysproxy/test_srv.c libr/sysproxy/test_srv1.c libr/util/sys.c libr/vm/vm.c
description:
* Make r_cons independent from r_line
- r_cons_user_fgets() is a configurable function pointer
- Simplify build
* Initial import of r_sysproxy
- Directly copied from r1 (no api or anything working yet)
* R_APIze r_vm and r_print
* Make r_core_seek more consistent
* Move r_cons_progressbar() to r_print
* Rename visual 'x' -> 'w' (oops)
- 'a' and 'w' are now compatible with cursor mode
* Implement r_sys_usleep() on w32 and fix r_sys_sleep()
changeset: 140:9d5ade1b62c4
user: pancake@localhost.localdomain
date: Tue Apr 07 00:26:41 2009 +0000
files: libr/asm/asm.c libr/asm/p/asm_x86_olly.c libr/core/cmd.c libr/core/visual.c libr/include/r_asm.h libr/include/r_var.h libr/io/p/ptrace.c libr/lang/p/Makefile libr/var/var.c
description:
* R_APIize r_asm and r_var
* Implement write support to r_io plugin dbg_ptrace
* Fix libtcc lang plugin compilation problem
* Use r_core_write_at instead of r_io_seek+r_io_write
* Implement 'wa' command.
- Integrated with visual mode (bind to 'a' key)
- Added 'x' key in visual to write hexpair strings
* Fix signature of 'assemble' function in r_asm (const ut8 *)
changeset: 139:57f265321c90
user: pancake@localhost.localdomain
date: Mon Apr 06 22:53:25 2009 +0000
files: config-user.mk.acr configure configure.acr doc/syntax libr/config/config.c libr/cons/cons.c libr/core/cmd.c libr/core/config.c libr/core/visual.c libr/flags/t/Makefile libr/include/r_config.h libr/include/r_meta.h libr/include/r_util.h libr/lang/p/Makefile libr/util/str.c
description:
* Check for libtcc in acr to build or not r_lang_plugin_tcc
* R_APIze r_config
- Added r_config_swap
- Fix a bug in r_config_set for bool types
* Some more rules in doc/syntax
* Some integration from r_core to r_meta
- CC command is now working to add and remove comments
- Make 'C' show help and 'C*' list metadata
- CF is semi working
* Show comments in disassembly 'asm.comments'
* Added 'e!' command to toggle a eval variable value
- e!asm.bytes ; for example
* Drop arrow-debugging in r_core_visual
- Added key ';' to add comments
- Do not 's eip' on debug
* Fix build of flags test program (thanks graz!)
* Added r_str_chop_ro (read-only string chopping)
changeset: 138:a5530046db6a
user: nibble
date: Mon Apr 06 17:11:37 2009 +0200
files: libr/anal/anal.c libr/core/cmd.c
description:
* More r_anal_reflines fixups
changeset: 137:71aefe508a93
user: nibble
date: Mon Apr 06 14:48:46 2009 +0200
files: libr/anal/anal.c
description:
* Oops, type error in anal O:-)
changeset: 136:91ee71bb3d48
user: nibble
date: Mon Apr 06 14:01:56 2009 +0200
files: libr/anal/anal.c libr/include/r_util.h libr/util/str.c
description:
* Added r_str_concatch
* Fixed reflines libc issue
changeset: 135:a02a750c3036
user: pancake@localhost.localdomain
date: Mon Apr 06 10:57:37 2009 +0000
files: doc/syntax libr/include/btree.h libr/include/list.h libr/util/btree.c
description:
* Added few coding style rules
* Added btree_optimize and btree_hittest() incomplete functions
- Just a PoC of the idea..with few test
changeset: 134:a2b2483a63e5
user: nibble
date: Sun Apr 05 16:02:17 2009 +0200
files: libr/asm/t/rasm2.c
description:
* rasm2
- If '-l' value is greater than output length,
output is padded with nops
changeset: 133:d931da8a7d69
user: nibble
date: Sun Apr 05 15:23:36 2009 +0200
files: libr/asm/p/asm_x86_olly.c libr/asm/t/rasm2.c
description:
* rasm2
- Added -B and -l flags for binary input/output
- Added support for assembling several instructions (separated by ;)
e.g.: $ rasm2 "push eax; push ebx"
* r_asm
- Fixed bug in asm_x86_olly
changeset: 132:188e66191e88
parent: 130:95b1ea72d34b
parent: 131:56b00cf1481c
user: pancake@localhost.localdomain
date: Sat Apr 04 19:39:29 2009 +0000
files: libr/core/cmd.c
description:
* Merge heads
changeset: 131:56b00cf1481c
parent: 129:76a703107d83
user: nibble
date: Fri Apr 03 13:01:58 2009 +0200
files: libr/Makefile libr/anal/anal.c libr/core/cmd.c libr/include/r_anal.h libr/line/Makefile
description:
* r_anal
- Dropped param addr in r_anal_reflines_str
Use r_anal_set_pc instead
- Fixed asm.reflinesout behavior
* Fixed r_line build
* Fixed 'make install'
changeset: 130:95b1ea72d34b
user: pancake@localhost.localdomain
date: Sat Apr 04 19:38:59 2009 +0000
files: libr/core/cmd.c libr/flags/flags.c libr/flags/spaces.c libr/flags/t/Makefile libr/flags/t/test.c libr/include/btree.h libr/include/r_flags.h libr/include/r_util.h libr/util/Makefile libr/util/btree.c
description:
* Initial import of the binary tree search algorithm
- ATM lives in r_util, but should be moved to btree.h at some point
Like the kernel's list.h does.
- No node tree path find optimization yet
* Integrate btree with r_flag API
- Accelerates the resolution of flags per offset
- At some point we will need to use paralel tree's to store all the
nodes optimized by different fields (name, offset, ...)
* Added test program for flags and btree algorithm
* Change the print format of flags in the disassembly
changeset: 129:76a703107d83
user: pancake@localhost.localdomain
date: Fri Apr 03 11:11:17 2009 +0000
files: Makefile TODO autogen.sh config-user.mk.acr config.mk configure configure.acr libr/Makefile libr/config/config.c libr/cons/Makefile libr/cons/cons.c libr/cons/t/hello.c libr/core/cmd.c libr/core/t/radare2.c libr/core/visual.c libr/diff/bdiff.c libr/diff/t/test.c libr/flags/flags.c libr/hash/t/hello.c libr/include/r_cons.h libr/include/r_flags.h libr/include/r_types.h libr/include/r_util.h libr/io/handle.c libr/lang/p/Makefile libr/lang/p/radare.lua libr/lang/p/radare.py libr/lang/p/radare.rb libr/lang/p/ruby.c libr/line/dietline.c libr/rules.mk libr/stripsyms.sh libr/util/re.c libr/util/str.c libr/util/sys.c mk/gcc.mk mk/i486-mingw32-gcc.mk
description:
* Remove documentation in the uninstall target
* Add 'autogen.sh' to ease the use of 'acr'
- Added USERCC and USEROSTYPE configuration flags
--with-compiler : select a compiler from mk/
--with-ostype : select a target OS (not required for ming32 f.ex)
* Add language bindings APIs from radare1
- Fix some issues from the ruby language binding
- Checks if file exists before slurping and causing a ruby segfault
- Added language destructor (.fini pointer)
* Rename str_clean into r_str_chop
* Initial work on the port for ming-w32
* Show flags instead of bytes in disassembly (smart disasm)
* New r_sys_{get|set}env (for portability issues
* Added flags -i and -l to radare2
* Fix warnings and random code cleanup
* Added r_flag_get_i
changeset: 128:f000dda8fabe
user: nibble
date: Thu Apr 02 15:15:16 2009 +0200
files: libr/core/cmd.c
description:
* Fixed bug in cmd.c O:-)
changeset: 127:03a7c1547bfa
user: nibble
date: Thu Apr 02 15:07:26 2009 +0200
files: libr/anal/anal.c libr/config/config.c libr/core/cmd.c libr/core/config.c libr/core/core.c libr/include/r_anal.h libr/line/dietline.c
description:
* Removed expand option from reflines
* Added function spacer
* Fixed fortunes bug
* Fixed history bug
* Fixed r_line_hist_add
* Fixed eval list bug
changeset: 126:20f65d45384e
user: nibble
date: Thu Apr 02 11:36:34 2009 +0200
files: libr/anal/anal.c libr/core/cmd.c libr/core/config.c libr/include/r_anal.h
description:
* Fixed r_anal reflines
* Added config vars for configuring it
changeset: 125:f974142e88d2
user: pancake@flubox
date: Thu Apr 02 12:15:04 2009 +0200
files: libr/include/r_cmd.h libr/include/r_core.h libr/macro/macro.c
description:
* Fix build (fix r_core_cmd_foreach signature)
* Fix use of uninitialized variable in r_macro
changeset: 124:491c3d9e0a66
user: pancake@localhost.localdomain
date: Thu Apr 02 10:23:32 2009 +0000
files: libr/TODO libr/anal/p/anal_x86_bea.c libr/core/cmd.c libr/core/config.c libr/core/core.c libr/core/io.c libr/core/visual.c libr/include/r_anal.h libr/include/r_cmd.h libr/include/r_core.h libr/include/r_search.h libr/include/r_util.h libr/print/print.c libr/search/search.c
description:
* Another 700-LOC train-based commit
* Initial work on integrating the anal_x86_bea plugin
* Adds the concept of 'opcode families'
* Added 'cmdhit' from e cmd.hit
* Fix r_print_hexdump ascii column
* More R_APIziation
* Cleanup some warnings
* Added keyword index attribute to the keyword structure
changeset: 123:a64df275b92e
user: pancake@localhost.localdomain
date: Thu Apr 02 01:23:45 2009 +0000
files: libr/core/visual.c
description:
* Import Ve command (visual configuration, 'e')
changeset: 122:c63828155157
user: nibble
date: Thu Apr 02 01:09:38 2009 +0200
files: libr/anal/anal.c libr/core/cmd.c libr/include/r_anal.h
description:
* reflines partial fix
changeset: 121:6dd2409549c5
user: pancake@localhost.localdomain
date: Thu Apr 02 00:44:24 2009 +0000
files: libr/cons/cons.c libr/core/visual.c libr/flags/spaces.c libr/lib/lib.c
description:
* Implement r_core_visual_trackflags
- Directly ported from radare1 code
- Fixes a bug in r_cons
- Define 'noname' flagspace by default
* Fix a segfault in r_flag_spaces
* Change prop values order in radare2 -L
changeset: 120:4c26ef595c69
user: nibble
date: Thu Apr 02 00:41:10 2009 +0200
files: libr/anal/anal.c libr/anal/p/anal_x86.c libr/bininfo/Makefile libr/core/cmd.c libr/include/r_anal.h
description:
* More work on r_anal_reflines
* Fixed r_bininfo build
changeset: 119:037fd8c99f10
user: pancake@localhost.localdomain
date: Thu Apr 02 00:07:58 2009 +0000
files: TODO libr/TODO libr/core/cmd.c libr/lib/lib.c libr/stripsyms.sh libr/util/str.c
description:
* Fix segfault when using '&&'. Lost allocated pointer
* Fix some valgrind warnings
- The debugger+visual is now working more stable
* Comment 'strip -s' command in stripsyms.sh
- We need a better way to configure all this stuff (spp?)
changeset: 118:c9aab4bc0d2a
user: pancake@localhost.localdomain
date: Wed Apr 01 22:44:43 2009 +0000
files: TODO doc/releases libr/core/Makefile libr/core/cmd.c libr/core/file.c libr/core/libs.c libr/debug/Makefile libr/debug/debug.c libr/debug/pid.c libr/flags/spaces.c libr/include/r_debug.h libr/include/r_line.h libr/line/dietline.c
description:
* More R_API-zation
* More stuff in doc/release
* Added 'dk' for sending signals to processes in the debugger
- A bit hacky, but funny enought for testing
* Initial draft of the process-related API
- For handling tree's of processes with threads
* Fix a bug in dietline ('supr' key is working now
changeset: 117:8f3595b89f23
user: pancake@localhost.localdomain
date: Wed Apr 01 10:41:42 2009 +0000
files: doc/releases libr/bin/Makefile libr/bin/t/Makefile libr/bin/t/rabin2.c libr/config.h libr/core/cmd.c libr/diff/Makefile libr/diff/bdiff.c libr/diff/diff.c libr/diff/t/radiff2.c libr/diff/t/test.c libr/include/r_diff.h libr/line/TODO
description:
* Fix LIBDIR path issue for r_bin
- Properly load all LIBR_PLUGINS from rabin2 too
- Maybe we will have to add a common stub for this
* Add r_bin_plugin_elf in the STATIC_PLUGINS list
* Add ii, iI, ie, is, iS, iz commands (accepts a * at the end)
- Wrappers to run rabin2 over the opened file
* Add -l flag to radiff2 (line diffing)
- Added -s flag to radiff2 (string distance)
- Move linediff test program into the test.c
- Use R_API for r_diff
- Use double for buffers_distance
- Fix -c flag (now we have modes and 'showcount' toggles)
changeset: 116:f9062076e0f8
user: pancake@localhost.localdomain
date: Wed Apr 01 01:46:37 2009 +0000
files: libr/lib/lib.c
description:
* Fix getter for r_lib_types strings
- zzZZzZ sleepy bug!
changeset: 115:e4699455f61d
user: pancake@localhost.localdomain
date: Wed Apr 01 01:40:04 2009 +0000
files: config-user.mk.acr libr/include/r_lib.h libr/lib/lib.c libr/util/cache.c libr/util/sys.c
description:
* Fix build again O:)
- Remove config.mk includes from config-user.mk
- Fix sys.c missing include
* Added R_LIB_TYPE_LAST and implement a getter
* Add some missing license headers
changeset: 114:50a6ca4f8a83
user: pancake@localhost.localdomain
date: Wed Apr 01 01:30:36 2009 +0000
files: config-user.mk.acr configure configure.acr libr/util/Makefile libr/util/sys.c
description:
* Fix recursive include issue in build
- Oops O:)
* Some fixups at ACR level for allowing --without-vala flag properly
* Added empty r_sys_cmd() APIs for r_util
changeset: 113:c26f57fbdb5d
user: pancake@localhost.localdomain
date: Wed Apr 01 00:51:02 2009 +0000
files: libr/core/cmd.c libr/core/core.c libr/core/t/radare2.c
description:
* Applied minimalistic version of the Graz's patch adding history load/save
functionalities to radare2 command
* Set 'asm_x86' disassembler after loading the plugins
* Remove 'No file specified' message
changeset: 112:fb7eb80a7c16
user: nibble
date: Wed Apr 01 00:32:26 2009 +0200
files: libr/anal/anal.c libr/anal/arch/x86/dislen.c libr/anal/arch/x86/dislen.h libr/anal/p/Makefile libr/anal/p/anal_x86.c libr/anal/p/anal_x86_bea.c libr/core/cmd.c libr/include/r_anal.h
description:
* r_anal
- Added reflines support
- Fixed anal_x86 code
- Refactoring (removed r_asm dependency)
changeset: 111:42e8c0088a93
user: pancake@localhost.localdomain
date: Wed Apr 01 00:28:13 2009 +0000
files: Makefile config-user.mk.acr config.mk libr/Makefile libr/asm/p/arm.mk libr/bin/Makefile libr/bininfo/Makefile libr/config.mk libr/cons/cons.c libr/core/Makefile libr/core/config.c libr/core/core.c libr/core/libs.c libr/core/t/Makefile libr/core/t/radare2.c libr/debug/debug.c libr/debug/p/Makefile libr/debug/p/dbg-ptrace.c libr/debug/p/dbg_ptrace.c libr/include/r_core.h libr/include/r_lib.h libr/include/r_types.h libr/lib/lib.c libr/rules.mk mk/gcc.mk
description:
* Huge build system refactoring
- Make proper use of the config-user.mk
- Accelerate build by manually checking timestamps of bin/lib to objs/srcs
- Use '-MD' by default
- Lot of minor fixups done in multiple places
- Fix PREFIX/LIBDIR installation/loading problems for plugins
- Some segfaults has been fixed
- Use R_API in r_core and r_lib
* Add 'vm' to be build by libr by default
* Add 'libs.c' in core/ to manage plugins from core
- Added 'dir.plugins'
- Make '-e' and '-L' radare2 flags work
- Plugins are not loaded multiple times now
* Added r_lib_types string array containing plugin types strings
* Minor fixups in r_debug
- Properly check 'contsc' delegate
- Separate r_debug_wait()
* Rename dbg-ptrace into dbg_ptrace
changeset: 110:1f42132c6dd9
user: nibble
date: Tue Mar 31 22:05:18 2009 +0200
files: libr/Makefile libr/anal/anal.c libr/anal/p/anal_x86.c libr/anal/p/anal_x86_bea.c libr/include/r_anal.h
description:
* Some changes in r_anal
* Fixed build
changeset: 109:b42454435c93
user: pancake@flubox
date: Tue Mar 31 17:19:31 2009 +0200
files: libr/config.h libr/config.mk libr/rules.mk
description:
* Do not enable static debug by default
changeset: 108:b28b709c482c
user: nibble
date: Tue Mar 31 16:52:58 2009 +0200
files: libr/diff/diff.c libr/diff/t/test.c libr/include/r_diff.h
description:
* Added Levenshtein distance algorithm in r_diff
* Added corresponding test case
changeset: 107:0787d3b6f875
user: pancake@localhost.localdomain
date: Tue Mar 31 10:55:26 2009 +0000
files: config.mk libr/config.mk libr/core/cmd.c libr/vapi/r_asm.vapi libr/vapi/r_bin.vapi libr/vapi/t/asm.vala libr/vapi/t/bin.vala libr/vapi/t/hash.vala libr/vapi/t/search.vala
description:
* set STATIC DEBUG to 0
* Make p/elf.mk STATIC_BIN_PLUGIN
* Add dummy 'undowrite' command
* Some random unuseful work on vapi's for bin+asm
- Still not usable, but compiles at least
changeset: 106:72621e5bdec9
user: pancake@localhost.localdomain
date: Tue Mar 31 00:57:39 2009 +0000
files: config-user.mk.acr config.mk configure configure.acr
description:
* Integrate acr configure script with the makefiles
- Check for libewf and valac
* include config-user.mk from config.mk overriding config.mk options
changeset: 105:a412c19cc08d
user: pancake@localhost.localdomain
date: Tue Mar 31 00:50:36 2009 +0000
files: libr/core/t/radare2.c
description:
* Oops in getopt
changeset: 104:95fa8032dadb
user: pancake@localhost.localdomain
date: Tue Mar 31 00:50:02 2009 +0000
files: Makefile config.mk libr/config.h libr/core/t/radare2.c libr/crypto/crypto.c libr/crypto/p/aes.c libr/crypto/p/aes.h libr/diff/Makefile libr/diff/bdiff.c libr/diff/t/file1 libr/diff/t/file2 libr/hash/hash.c libr/include/r_types.h libr/io/p/Makefile libr/io/p/dbg.c libr/io/p/ewf.c libr/io/p/shm.c libr/lang/p/Makefile libr/lang/p/mkruby.rb libr/lib/lib.c libr/rules.mk
description:
* Fix 'install' target (missing double '$')
* Add STATIC_DEBUG and RUNTIME_DEBUG config.mk variables
- Mirrored in C as R_DEBUG and R_RTDEBUG
- Defines IFDBG and IFRTDBG macros
- used in r_lib, checks for RLIB_RTDEBUG environment variable
* Added -f and -L flags to radare2
* Added initial dummy work on r_crypto module
- Added 'aes' algorithm
* Added EXTRA_TARGETS and EXTRA_CLEAN targets in makefiles
to build extra programs or libraries in a single directory
* Initial working stuff with hg's bdiff.c
- Working as a line based diffing tool. 'linediff'
- Added 2 files for testing linediff
* Prefix io plugins with io_
- Added ewf and shm io plugins
* Prefix lang plugins with lang_
changeset: 103:4b4c32afb181
user: pancake@flubox
date: Fri Mar 27 13:55:59 2009 +0100
files: libr/diff/bdiff.c
description:
* Import 'dummy' mercurial's bdiff (needs to be plugged)
changeset: 102:0c5286b122b7
user: pancake@localhost.localdomain
date: Fri Mar 27 11:28:25 2009 +0000
files: Makefile config.mk libr/TODO libr/include/r_util.h libr/sign/README libr/util/Makefile libr/util/cache.c
description:
* Fix doc installation path
* Up config.mk version to 0.2b
* Cleanup TODO
* Initial implementation of r_cache (optimization for disassembler)
* Add readme for r_sign (some randome notes and ideas)
changeset: 101:39509b39332f
user: pancake@localhost.localdomain
date: Fri Mar 27 09:47:19 2009 +0000
files: libr/TODO libr/core/cmd.c libr/lang/p/Makefile libr/lang/p/lua.c libr/lang/p/tcc.c
description:
* Add 'tcc' lang plugin
* Implement lua lang plugin
* Rename 'CD' command to 'CL' (code lines takes more sense)
changeset: 100:aa017dcd2712
user: pancake@localhost.localdomain
date: Fri Mar 27 00:16:27 2009 +0000
files: Makefile libr/bininfo/p/bininfo_addr2line.c libr/core/Makefile libr/core/cmd.c libr/core/config.c libr/core/core.c libr/core/file.c libr/core/t/Makefile libr/core/t/radare2.c libr/core/visual.c libr/include/r_core.h
description:
* Fix installation of documentation
* Fix popen() fread-related bug in addr2line plugin for bininfo
* Add 'fo' command.
- Installs the 'fortunes' file
* Add 'CD' command (show debug information of file using bininfo)
* Add scr.seek and cfg.fortunes config keys
- scr.seek works in visual mode (cleanup debug visual mode)
- cfg.fortunes runs 'fo' command at startup
changeset: 99:c24937ca870f
user: pancake@flubox
date: Wed Mar 25 20:53:26 2009 +0100
files: Makefile config-user.mk.acr configure configure.acr doc/fortunes
description:
* Import fortunes from radare1
- Add dummy ACR configure script
changeset: 98:67b9dacca08e
user: nibble
date: Wed Mar 25 20:51:26 2009 +0100
files: libr/bin/bin.c libr/bin/p/bin_elf.c libr/bin/p/bin_elf64.c libr/bin/p/bin_java.c libr/bin/p/bin_pe.c libr/bin/p/bin_pe64.c libr/bin/t/rabin2.c libr/bininfo/bininfo.c libr/bininfo/p/bininfo_addr2line.c libr/include/r_bin.h libr/include/r_bininfo.h
description:
* r_bin & r_bininfo
- Added "check" function to plugins
(used by _open for auto setting)
- Removed hardcoded format autodetection
changeset: 97:7b390db25654
user: nibble
date: Wed Mar 25 15:52:17 2009 +0100
files: libr/bin/bin.c libr/bin/t/rabin2.c libr/bininfo/bininfo.c libr/bininfo/p/bininfo_addr2line.c libr/bininfo/t/Makefile libr/bininfo/t/rabini.c libr/include/r_bin.h libr/include/r_bininfo.h
description:
* r_bin & r_bininfo
- Removed _set and _autoset functions
- _open (auto)sets the plugin now
- Refactoring
changeset: 96:6d50190ce76a
user: nibble
date: Mon Mar 23 23:07:31 2009 +0100
files: libr/bin/bin.c libr/bin/t/rabin2.c libr/bininfo/bininfo.c libr/include/r_bin.h libr/include/r_bininfo.h
description:
* r_bin & r_bininfo
- Minor refactoring
changeset: 95:7628bc8a0aeb
user: pancake@localhost.localdomain
date: Mon Mar 23 13:22:23 2009 +0000
files: TODO config.mk libr/bininfo/bininfo.c libr/bininfo/p/bininfo_addr2line.c libr/bininfo/t/rabini.c libr/config.h libr/include/r_bininfo.h
description:
* Fix build (use gcc)
- Fix issues in r_bininfo (now the test program works)
- Properly add the static r_bininfo plugin
changeset: 94:01c5e38841a1
user: pancake@localhost.localdomain
date: Sun Mar 22 04:37:46 2009 +0000
files: TODO config.mk libr/asm/p/arm.mk libr/bininfo/README libr/bininfo/bininfo.c libr/bininfo/p/Makefile libr/bininfo/p/addr2line.mk libr/bininfo/p/bininfo_addr2line.c libr/bininfo/t/Makefile libr/bininfo/t/rabini.c libr/config.mk libr/include/r_bininfo.h libr/include/r_util.h libr/rules.mk libr/util/file.c libr/util/re.c mk/gcc.mk mk/tcc.mk
description:
* Some work for r_bininfo library
- Extend API to get file and line numbers from a virtual address
- Added addr2line-like test program 'rabini'
- Added 'addr2line' plugin
* Add r_file_slurp_line helper in r_util
* Added initial work to support multiple compilers (gcc only atm)
- tcc support under development
- Make HAVE_REGEXP be optional
changeset: 93:c7076bf8632a
user: pancake@localhost.localdomain
date: Sun Mar 22 02:36:00 2009 +0000
files: libr/core/cmd.c libr/debug/debug.c libr/io/p/dbg.c
description:
* Tricky implementation of 'dm' command
* Fix 'dp' command
* Use execvp to run the program
- Some changes in the parser for argv and so
changeset: 92:bee12104944f
user: pancake@localhost.localdomain
date: Sat Mar 21 22:59:35 2009 +0000
files: TODO libr/cons/cons.c libr/core/cmd.c
description:
* Fix lot of bugs with cons+grep for @@=`` or stuff like that
* The grepping algorithm in r_cons has been rewritten from scratch
- Grepped at memcat() which is the root entrypoint for console IO
- Faster than before (200 less LOC)
- Not yet working at all, but it is quite better than before
* Fix history bug when using @@
* Use return value of filtercmd function to not invoke children core_cmd
* Fix some random segfaults
changeset: 91:394ed53bdf91
user: pancake@localhost.localdomain
date: Sat Mar 21 02:17:43 2009 +0000
files: libr/core/cmd.c
description:
* Minor fixups
changeset: 90:3b4333140bee
user: pancake@localhost.localdomain
date: Fri Mar 20 21:05:12 2009 +0000
files: TODO libr/Makefile libr/cons/cons.c libr/core/cmd.c libr/core/visual.c libr/include/r_core.h libr/include/r_macro.h libr/macro/macro.c libr/sign/sign.c
description:
* Bug identified in cons with r_core_cmd_str identified
- We have to grep stuff when inserting it, not when flushing
* Fix 'pd' command (initialize base address
* Initial import of the foreach @@ syntax sugar
- Basic flag support, allows @@= for lists and @@.() for macros
* Add 'g' and 'G' keys in visual
* Fix issues in the macro engine and usage
- Proper identification of dupped commands
- Split macro name and arguments in internal structures
- Chop last ')' to make () and (,) macros work happily
* Fix build of r_sign and a segfault in _free() method
changeset: 89:eceeaf629a7a
user: nibble
date: Thu Mar 19 23:58:57 2009 +0100
files: libr/Makefile libr/bininfo/Makefile libr/bininfo/bininfo.c libr/config.h libr/config.mk libr/include/r_bininfo.h libr/include/r_lib.h
description:
* Added bininfo code base
changeset: 88:6f9f2fbaf994
user: nibble
date: Thu Mar 19 23:22:14 2009 +0100
files: libr/bin/format/pe/pe.c libr/bin/format/pe/pe.h libr/bin/format/pe/pe_specs.h
description:
* r_bin_pe
- Fixed exports bug
- Little refactoring
changeset: 87:0b52eecde162
user: nibble
date: Thu Mar 19 22:04:50 2009 +0100
files: libr/bin/bin.c libr/bin/format/elf/elf.c libr/bin/format/java/java.c libr/bin/format/java/java.h libr/bin/format/pe/pe.c libr/bin/format/pe/pe.h libr/bin/format/pe/pe64.c libr/bin/format/pe/pe64.h libr/bin/format/pe/pe_specs.h libr/bin/p/Makefile libr/bin/p/bin_elf.c libr/bin/p/bin_elf64.c libr/bin/p/bin_java.c libr/bin/p/bin_pe.c libr/bin/p/bin_pe64.c libr/bin/p/pe64.mk libr/include/r_bin.h libr/include/r_types.h
description:
* r_bin_elf
- Huge refactoring
* r_bin_pe
- Initial work on pe32+ plugin
* r_bin_java
- Use macro instead of ntohs
- Minor fixups
- Added dummy show_info function
* r_types
- Types fixup
changeset: 86:106204796939
user: pancake@localhost.localdomain
date: Tue Mar 17 22:06:50 2009 +0000
files: libr/config/config.c libr/core/cmd.c libr/core/config.c libr/core/core.c
description:
* Run callback when defining keys in config
- Add asm_arch and asm_parser callbacks
* Run config_init at the end of core init
* Do not force disassembler to be x86-only
- Add the disassembler initialization in config
- Detect invalid disassembling
- Only parse when asm.pseudo is enabled
changeset: 85:b7ed74e69c77
user: nibble
date: Tue Mar 17 00:34:45 2009 +0100
files: libr/bin/bin.c libr/bin/format/java/java.c libr/bin/format/java/java.h libr/bin/p/Makefile libr/bin/p/bin_java.c libr/bin/t/rabin2.c
description:
* r_bin
- Added generic string search support
- Added class format autodetection
- Minor fixup
changeset: 84:04bdea1f0bda
user: nibble
date: Mon Mar 16 21:07:31 2009 +0100
files: libr/bin/bin.c libr/bin/format/elf/elf.c libr/bin/format/elf/elf_specs.h libr/bin/format/java/java.c libr/bin/format/java/java.h libr/bin/format/pe/pe.c libr/bin/format/pe/pe_specs.h libr/bin/p/Makefile libr/bin/p/bin_elf.c libr/bin/p/bin_elf64.c libr/bin/p/bin_java.c libr/bin/p/bin_pe.c libr/bin/p/elf/elf.c libr/bin/p/elf/elf.h libr/bin/p/elf/elf64.c libr/bin/p/elf/elf64.h libr/bin/p/elf/elf_specs.h libr/bin/p/mach0/mach0.c libr/bin/p/mach0/mach0.h libr/bin/p/pe/pe.c libr/bin/p/pe/pe.h libr/bin/p/pe/pe_specs.h libr/bin/t/rabin2.c libr/include/r_bin.h
description:
* r_bin
- Removed unnecessary files
- Added initial java support (baddr, entry, syms, strings)
- Minor fixups in r_bin_{elf, pe}
- Added rabin2 -z for strings (not working yet)
changeset: 83:13739dfa55e9
user: nibble
date: Mon Mar 16 08:51:20 2009 +0100
files: libr/bin/format/java/java.c libr/bin/format/java/java.h
description:
* More work on r_bin_java
changeset: 82:06e105df1c9b
user: pancake@localhost.localdomain
date: Sun Mar 15 13:14:09 2009 +0000
files: libr/cons/cons.c
description:
* Add support for multiple grep keywords
pd~call!jmp!jne ; (split with '!')
changeset: 81:325cdf3041ba
user: pancake@localhost.localdomain
date: Sat Mar 14 11:39:37 2009 +0000
files: TODO libr/anal/anal.c libr/cons/color.c libr/cons/cons.c libr/cons/input.c libr/core/cmd.c libr/include/r_anal.h libr/reg/README libr/reg/reg.c libr/search/xrefs.c libr/sign/sign.c libr/sign/t/Makefile libr/sign/t/rasign.c
description:
* Add constructor/destructor for r_anal and r_sign
- Add rasign test program for r_sign
* Minor code cleanup in cons
* Cleanup and sort commands in help message
* Make oobi input work as command interpreter
- Add r_core_cmd_buffer
* Some basic design workup for xrefs search engine
changeset: 80:6efe36530766
user: pancake@flubox
date: Fri Mar 13 12:28:36 2009 +0100
files: libr/core/cmd.c libr/include/r_util.h libr/macro/macro.c libr/print/print.c libr/util/Makefile libr/util/prof.c
description:
* Add ?z and ?t commands in r2
- ?z stands for strlen (zero length is true)
- ?t stands for 'time profiling' for commands
> ?t.(run-profiled-macro)
> ?tpd 20
> ?t33x 128
...
* Add r_prof stuff inside r_util
* Fix hexdump when color is disabled
changeset: 79:529f81f96be8
user: pancake@localhost.localdomain
date: Fri Mar 13 10:39:54 2009 +0000
files: libr/Makefile libr/include/r_trace.h libr/include/r_types.h libr/include/r_util.h libr/trace/Makefile libr/trace/trace.c
description:
* Major refactoring work done for r_trace
- Now build by default with the rest of libr
- drop read_at dependency for r_trace
* Some stuff has been moved from r_util to r_types
- max/min int values and so on
- eprintf lives there now
changeset: 78:c40889ff52cb
user: pancake@localhost.localdomain
date: Thu Mar 12 22:19:58 2009 +0000
files: TODO libr/core/cmd.c libr/core/config.c libr/core/core.c libr/include/r_lang.h
description:
* Initial implementation of 'sa' command
- Accepts a 2nd blocksize argument
- Fix algorithm used in r_core_seek_align to work with 'sa'
* Fix issue with 's+' and 's +' expressions
* Clean up some warnings + minor bugs
changeset: 77:c9e1a57279d2
user: pancake@localhost.localdomain
date: Thu Mar 12 12:34:57 2009 +0000
files: libr/core/cmd.c
description:
* Remove '<' and '>' commands.
Just will use 'sa' in the future..must think, but atm keep it clean
changeset: 76:70beafb30a7e
user: pancake@localhost.localdomain
date: Thu Mar 12 12:30:32 2009 +0000
files: TODO libr/core/cmd.c libr/core/core.c libr/core/visual.c libr/include/r_core.h libr/print/print.c libr/print/t/hex.c libr/util/Makefile libr/util/float.c libr/util/num.c
description:
* Added '>' and '<' keys in visual
- implemented core_seek_align function
* Added '<' and '>' commands, but they are not yet working
- Should be renamed to 'sa' (seek aligned)
* Fix hexdump ascii column color issue
* Fix print/t/hex hexample
* Add some dummy floating stuff for r_util
* Use IFDBG instead of custom 'D' in util/num.c
changeset: 75:278a8dbe6259
user: pancake@localhost.localdomain
date: Thu Mar 12 02:03:18 2009 +0000
files: env.sh libr/core/cmd.c libr/core/config.c libr/core/core.c libr/core/t/radare2.c libr/core/visual.c
description:
* Fix scrolling in visual (drop s eip in cmd.vprompt)
* Add cmd.visual that runs when entering in visual mode
changeset: 74:3bdcf4408842
user: pancake@localhost.localdomain
date: Thu Mar 12 01:42:35 2009 +0000
files: TODO libr/config/config.c libr/config/t/test.c libr/core/cmd.c libr/core/config.c libr/include/r_config.h libr/include/r_flags.h libr/include/r_print.h libr/print/print.c libr/print/t/fmt.c
description:
* Fix api for config_set_cb
- Now every callback gets a *user pointer
- Define full api in r_config.h with R_API
- Added scr.color in radare2
- Added po, pu, pU and pS print modes in r2
* Add r_print_unset_flags helper
* Fix urlencoding print mode
* Add test program for r_print_format
* Fix build O:)
changeset: 73:3d2cf803ace9
user: pancake@localhost.localdomain
date: Thu Mar 12 00:42:32 2009 +0000
files: TODO libr/config.h libr/include/r_print.h libr/include/r_types.h libr/include/r_util.h libr/print/Makefile libr/print/date.c libr/print/format.c libr/print/print.c
description:
* Add R_INLINE in config.h
* Add R_API directive in r_types
* Huge refactoring for r_print
- C code format
- formatted memory structures also working (not finished)
- unix, dos and w32 timestamps
- Added p->interrupt to break loong loops (should we think in a limit?)
- print formats that need processing returns the number of bytes processed
- if they return 0 is because they failed
- Much more simplified code than the one in r1
- Use p->printf instead of r_cons_printf (aim to independize from r_cons)
- Some basic support for color output
changeset: 72:ef8bfd19b7b5
user: pancake@localhost.localdomain
date: Wed Mar 11 11:42:11 2009 +0000
files: libr/core/cmd.c libr/core/core.c libr/core/visual.c libr/include/r_core.h libr/include/r_print.h libr/print/format.c libr/print/print.c libr/print/t/Makefile libr/print/t/hex.c
description:
* Refactoring of the r_print module
- State-aware now
- Sync examples and r_core
changeset: 71:614116e4f481
user: nibble
date: Wed Mar 11 01:11:50 2009 +0100
files: libr/bin/Makefile libr/bin/format/elf/elf.c libr/bin/format/elf/elf.h libr/bin/format/elf/elf64.c libr/bin/format/elf/elf64.h libr/bin/format/elf/elf_specs.h libr/bin/format/java/java.c libr/bin/format/java/java.h libr/bin/format/mach0/mach0.c libr/bin/format/mach0/mach0.h libr/bin/format/pe/pe.c libr/bin/format/pe/pe.h libr/bin/format/pe/pe_specs.h libr/bin/p/Makefile libr/bin/p/bin_java.c libr/bin/p/elf.mk libr/bin/p/elf64.mk libr/bin/p/java.mk libr/bin/p/pe.mk libr/bin/t/rabin2.c libr/include/r_bin.h
description:
* r_bin
- rabin2 -p replaced by -f
- Changed folder structure
- Initial work in java plugin
- Minor fixups
changeset: 70:b03ddb44e518
user: pancake@localhost.localdomain
date: Tue Mar 10 21:58:00 2009 +0000
files: Makefile config.mk libr/TODO libr/config.mk libr/lib/Makefile libr/lib/lib.c libr/rules.mk libr/util/file.c
description:
* Initial fixup for default LIBR_PLUGINS on installed r_lib
* Initial work to simplify build porting for OSX and W32
changeset: 69:15c6b63629df
user: nibble
date: Tue Mar 10 12:21:46 2009 +0100
files: libr/Makefile libr/asm/p/Makefile libr/asm/p/asm_bf.c libr/asm/p/asm_dummy.c libr/asm/p/asm_ppc.c libr/asm/p/asm_sparc.c libr/bin/bin.c libr/bin/p/Makefile libr/bin/p/bin_elf.c libr/bin/p/bin_elf64.c libr/bin/p/bin_pe.c libr/include/r_asm.h libr/search/t/Makefile
description:
* Several fixups
changeset: 68:fffb8ebbbf2e
user: pancake@localhost.localdomain
date: Tue Mar 10 01:49:24 2009 +0000
files: doc/lang-plugins libr/Makefile libr/README libr/asm/asm.c libr/asm/p/asm_arm.c libr/asm/p/asm_csr.c libr/asm/p/asm_m68k.c libr/asm/p/asm_ppc.c libr/asm/p/asm_sparc.c libr/asm/p/asm_x86.c libr/asm/p/asm_x86_bea.c libr/asm/p/asm_x86_olly.c libr/config.h libr/config.mk libr/include/r_asm.h libr/lib/lib.c libr/libr.pc.acr libr/sign/sign.c libr/syscall/TODO libr/vapi/libr.deps libr/vapi/libr.vapi libr/vapi/r_asm.vapi libr/vapi/r_util.vapi
description:
* Add random documentation for dynamic language plugins
* Properly installation of vapi files
- Lot of fixtures to build a external hello world in gtk+vala+r_asm
- default staticplugins for r_asm are:
mips, java and x86_olly by default
- Add r_util.vapi and make .pc file point to -lr_util
- Use .deps to generate dependencies between vapi files
- Fix r_asm.vapi (Added Asm.Aop struct)
- add set(string) method
- asm/disasm -> assemble/disassemble
* Fix warning + build in sign.c
- Included in default build
* Fix segfault in r_lib with NULL in opendir()
* More fixtures for r_asm_plugin_*
- use #ifndef CORELIB
- drop 'static'
* Update README
changeset: 67:887b9eb2b8d6
user: pancake@flubox
date: Mon Mar 09 16:54:57 2009 +0100
files: libr/socket/socket.c
description:
* Add non-block socket support for Windows(R) platform
changeset: 66:6e1f9ca028f2
parent: 65:969dfa49be39
parent: 64:19831e98c217
user: pancake@localhost.localdomain
date: Mon Mar 09 13:13:44 2009 +0000
description:
* Merge heads
changeset: 65:969dfa49be39
parent: 63:43c8fd060651
user: pancake@localhost.localdomain
date: Mon Mar 09 13:08:53 2009 +0000
files: libr/Makefile libr/core/cmd.c libr/flags/flags.c libr/libr.pc libr/libr.pc.acr
description:
* Fix generation and installation of the libr.pc pkg-config file
* Fix parsing of 'f' command as help specifies (already done in r1)
- get size and offset as 2nd and 3rd args
* Do not hardcode flag size to '1' (use argument given)
changeset: 64:19831e98c217
user: nibble
date: Mon Mar 09 13:03:42 2009 +0100
files: libr/asm/asm.c libr/asm/p/Makefile libr/asm/p/x86bea.mk libr/bin/Makefile libr/bin/bin.c libr/bin/p/Makefile libr/bin/p/elf.mk libr/bin/p/elf64.mk libr/bin/p/pe.mk libr/config.h libr/config.mk libr/include/r_bin.h libr/lib/lib.c
description:
* Added 'static-plugin' feature to r_bin module
* Minor fixups in r_asm build
* Added missing IFDBG in lib.c
changeset: 63:43c8fd060651
user: pancake@localhost.localdomain
date: Mon Mar 09 02:03:32 2009 +0000
files: README TODO libr/asm/arch/java/javasm/javasm.c libr/asm/p/Makefile libr/asm/p/x86bea.mk libr/config.h libr/core/cmd.c libr/core/config.c
description:
* Fix warn in javasm.c
* Fix asm_x86 makefile rule dup
* Fix build of x86_bea plugin
* Add asm.offset and asm.bytes in r_core
changeset: 62:c33fb5c337d3
user: pancake@localhost.localdomain
date: Mon Mar 09 01:14:50 2009 +0000
files: Makefile doc/rgraph libr/Makefile libr/bin/bin.c libr/search/t/Makefile libr/search/t/rafind2.c
description:
* Add rafind2 utility
- Commandline utility to perform searchs on multiple files
* Fix build or r_bin
* Add doc/rgraph
* Show prefix in 'install'
* Fix 'install' inside libr/
changeset: 61:a246015b4954
parent: 59:d06f7ca5587d
parent: 60:33f5cad098fb
user: pancake@localhost.localdomain
date: Sun Mar 08 23:49:49 2009 +0000
description:
* Oops merge!
changeset: 60:33f5cad098fb
parent: 58:bde79be74874
user: nibble
date: Sun Mar 08 21:41:02 2009 +0100
files: libr/include/r_types.h libr/lib/lib.c
description:
* Fixed IFDBG Macro
* r_lib debug messages enabled through -DR_DEBUG
changeset: 59:d06f7ca5587d
user: pancake@localhost.localdomain
date: Sun Mar 08 23:49:15 2009 +0000
files: doc/static-plugins libr/asm/Makefile libr/asm/asm.c libr/asm/p/Makefile libr/asm/p/arm.mk libr/asm/p/asm_bf.c libr/asm/p/asm_java.c libr/asm/p/asm_mips.c libr/asm/p/bf.mk libr/asm/p/csr.mk libr/asm/p/dummy.mk libr/asm/p/java.mk libr/asm/p/m68k.mk libr/asm/p/mips.mk libr/asm/p/ppc.mk libr/asm/p/sparc.mk libr/asm/p/x86.mk libr/asm/p/x86bea.mk libr/asm/p/x86olly.mk libr/asm/t/rasm2.c libr/bin/bin.c libr/config.h libr/config.mk libr/include/r_asm.h
description:
* Add 'static-plugin' feature to r_asm module
* Make rabin2 support 'arm' instead of 'asm_arm' for -a (autoprefix 'asm_')
* Some build fixtures
* Static plugins are configurable in libr/config.mk and libr/config.h
changeset: 58:bde79be74874
user: nibble
date: Sun Mar 08 18:29:21 2009 +0100
files: libr/bin/bin.c libr/bin/t/rabin2.c libr/core/core.c libr/include/r_bin.h libr/include/r_core.h libr/lib/lib.c libr/parse/p/Makefile
description:
* r_bin
- r_bin_init splitted in r_bin_init and r_bin_set_file
* r_core
- Fixed radare2
* r_parse
- Fixed parse_mreplace build
* r_lib
- Lazy dlopen by default
changeset: 57:b0aebe30a3ea
user: nibble
date: Sun Mar 08 16:49:15 2009 +0100
files: libr/bin/Makefile libr/bin/bin.c libr/bin/elf.c libr/bin/elf64.c libr/bin/mach0.c libr/bin/p/Makefile libr/bin/p/bin_elf.c libr/bin/p/bin_elf64.c libr/bin/p/bin_pe.c libr/bin/p/elf/elf.c libr/bin/p/elf/elf.h libr/bin/p/elf/elf64.c libr/bin/p/elf/elf64.h libr/bin/p/elf/elf_specs.h libr/bin/p/mach0/mach0.c libr/bin/p/mach0/mach0.h libr/bin/p/pe/pe.c libr/bin/p/pe/pe.h libr/bin/p/pe/pe_specs.h libr/bin/pe.c libr/bin/t/Makefile libr/bin/t/baddr.c libr/bin/t/data_resize.c libr/bin/t/entry.c libr/bin/t/imports.c libr/bin/t/info.c libr/bin/t/rabin2.c libr/bin/t/rsz_test.sh libr/bin/t/sections.c libr/bin/t/symbols.c libr/include/r_bin.h libr/include/r_bin_elf.h libr/include/r_bin_elf64.h libr/include/r_bin_elf_specs.h libr/include/r_bin_mach0.h libr/include/r_bin_pe.h libr/include/r_bin_pe_specs.h libr/include/r_lib.h
description:
* r_bin
- Major refactoring (using r_lib infrastructure)
- Removed outdated test programs
- Updated rabin2
changeset: 56:77692d484912
user: nibble
date: Sun Mar 08 10:37:28 2009 +0100
files: .hgtags
description:
Added tag 0.1 for changeset ae3b6b66b9de
changeset: 55:63d804f8eba3
user: pancake@localhost.localdomain
date: Sat Mar 07 17:58:17 2009 +0000
files: ChangeLog Makefile
description:
* Sync changelog and drop RELEASE mark
===== RELEASE 0.1 =====
changeset: 54:ae3b6b66b9de
tag: tip
user: pancake@localhost.localdomain
date: Sat Mar 07 17:47:59 2009 +0000
files: Makefile TODO libr/Makefile
description:
* Cut release for r2-0.1
* Merge dist+shot make targets
.PHONY them all
* (Un)Install include files in $pfx/include/libr/
changeset: 53:5e68aeb4a0b0
user: nibble
date: Fri Mar 06 12:53:19 2009 +0100
files: Makefile libr/asm/arch/x86/bea/BeaEngine.h libr/asm/p/Makefile libr/parse/p/Makefile libr/search/bytepat.c
description:
* Removed several warnings
changeset: 52:d78c76f1ab77
user: pancake@localhost.localdomain
date: Fri Mar 06 00:38:23 2009 +0000
files: Makefile libr/Makefile
description:
* Added DESTDIR and 'uninstall' make targets
changeset: 51:64f1fcb6980e
user: pancake@localhost.localdomain
date: Fri Mar 06 00:00:41 2009 +0000
files: libr/cmd/TODO libr/cmd/t/test.c libr/config/config.c libr/core/cmd.c libr/core/file.c libr/core/io.c libr/debug/p/dbg-ptrace.c libr/diff/t/Makefile libr/diff/t/radiff2.c libr/hash/t/hello.c libr/include/r_cmd.h libr/include/r_core.h libr/include/r_debug.h libr/include/r_hash.h libr/include/r_io.h libr/include/r_line.h libr/include/r_search.h libr/include/r_util.h libr/lang/p/perl.c libr/line/dietline.c libr/line/t/hello.c libr/print/print.c libr/print/t/hex.c libr/rules.mk libr/search/bytepat.c libr/search/regexp.c libr/search/t/Makefile libr/search/t/test-regexp.c libr/search/t/test-str.c libr/search/xrefs.c libr/util/alloca.c libr/util/file.c libr/var/var.c
description:
* Fix lot of warning messages
changeset: 50:7468cf143a90
user: nibble
date: Thu Mar 05 16:58:13 2009 +0100
files: libr/asm/arch/java/javasm/javasm.c libr/asm/arch/java/javasm/javasm.h libr/asm/p/Makefile libr/asm/p/asm_java.c libr/asm/t/rasm2.c
description:
* Added java plugin for r_asm
* Added java assembly support in rasm2
changeset: 49:b4cf9824741d
user: pancake@flubox
date: Thu Mar 05 13:15:28 2009 +0100
files: Makefile libr/cons/cons.c
description:
* Add 'dist' and 'shot' make targets
* Bigger console buffer by default
changeset: 48:cc1aca5b4b00
user: nibble
date: Wed Mar 04 14:14:49 2009 +0100
files: libr/parse/p/mreplace/mmemory.c libr/parse/p/mreplace/mmemory.h libr/parse/p/mreplace/mreplace.c libr/parse/p/mreplace/mreplace.h
description:
* Updated mreplace
changeset: 47:94d8f408c058
user: pancake@localhost.localdomain
date: Wed Mar 04 12:39:51 2009 +0000
files: libr/anal/Makefile libr/asm/Makefile libr/depgraph.pl libr/include/r_types.h
description:
* fix r_asm and r_anal deps
* Initial import of depgraph.pl helper script to get the libr
internal library dependencies graph with graphviz
changeset: 46:09e4372e9d09
user: pancake@localhost.localdomain
date: Fri Feb 27 01:06:37 2009 +0000
files: libr/bin/elf.c libr/include/r_types.h libr/util/num.c
description:
* Add 'A' (singlechar) values for math expressions
- Stripped down version based on the r1 implementation (ow yeah)
* Fix build of r_bin (oops)
- Now ERR() is a static inline function instead of a macro
changeset: 45:d4b2d4b202fe
user: pancake@localhost.localdomain
date: Fri Feb 27 00:54:26 2009 +0000
files: libr/bin/elf.c libr/bin/mach0.c libr/bin/pe.c libr/include/r_bin_mach0.h libr/include/r_types.h
description:
* Add IS_PRINTABLE in r_types
* Add ERR() macro in r_types
- r_bin uses now ERR() instead of nonportable fprintf(stderr,
* Initial dummy work on r_bin_mach0
changeset: 44:b0999471dbed
user: pancake@localhost.localdomain
date: Fri Feb 27 00:18:19 2009 +0000
files: libr/cons/cons.c libr/include/r_cons.h
description:
* Import the cons_interactive functionality of r1 cons
changeset: 43:be79171200c6
user: nibble
date: Thu Feb 26 15:15:19 2009 +0100
files: libr/anal/anal.c libr/anal/p/Makefile libr/anal/p/anal_dummy.c libr/anal/p/anal_x86.c libr/anal/p/anal_x86_bea.c libr/asm/p/asm_arm.c libr/asm/p/asm_bf.c libr/asm/p/asm_csr.c libr/asm/p/asm_m68k.c libr/asm/p/asm_mips.c libr/asm/p/asm_ppc.c libr/asm/p/asm_sparc.c libr/asm/p/asm_x86.c libr/asm/p/asm_x86_bea.c libr/asm/p/asm_x86_olly.c libr/core/cmd.c libr/include/r_anal.h libr/include/r_asm.h libr/parse/p/mreplace/mmemory.c libr/parse/p/mreplace/mreplace.c libr/parse/p/parse_dummy.c libr/parse/p/parse_mreplace.c libr/parse/p/parse_x86_pseudo.c
description:
* r_anal
- Added initial anal_x86_bea plugin (op analysis using bea engine)
'ao' command in radare2
- Minor fixups
* r_asm
- Modified r_asm_aop_t to fit r_anal requirements
- Updated r_asm plugins
* r_parse
- Removed several warnings from mreplace
- Removed unnecessary includes
changeset: 42:f1c7311fc459
user: nibble
date: Thu Feb 26 02:31:03 2009 +0100
files: libr/include/r_parse.h libr/parse/p/Makefile libr/parse/p/mreplace/mmemory.c libr/parse/p/mreplace/mmemory.h libr/parse/p/mreplace/mreplace.c libr/parse/p/mreplace/mreplace.h libr/parse/p/parse_mreplace.c
description:
* Added r_parse plugin for mandingo's mreplace
changeset: 41:387a5ca6074f
user: nibble
date: Tue Feb 24 15:58:21 2009 +0100
files: libr/Makefile libr/core/Makefile libr/core/cmd.c libr/core/config.c libr/core/core.c libr/core/t/Makefile libr/include/r_core.h libr/include/r_lib.h libr/include/r_parse.h libr/parse/Makefile libr/parse/p/Makefile libr/parse/p/parse_dummy.c libr/parse/p/parse_x86_pseudo.c libr/parse/parse.c libr/parse/pseudo.c
description:
* Added r_parse lib
* Added pseudo syntax poc to radare2 (asm.pseudo)
changeset: 40:56cf25d517a4
user: nibble
date: Fri Feb 20 16:29:12 2009 +0100
files: libr/asm/p/asm_x86_bea.c libr/include/r_core.h
description:
* Fixed build O:)
* Removed warning from asm_x86_bea plugin
changeset: 39:92b20e2994a8
user: nibble
date: Fri Feb 20 14:43:59 2009 +0100
files: libr/include/r_reg.h libr/io/p/ptrace.c libr/reg/reg.c
description:
* Fixed r_reg build
* Fixed ptrace io plugin build (64bits)
changeset: 38:db5c6b1d9e12
user: nibble
date: Thu Feb 19 18:13:34 2009 +0100
files: libr/asm/arch/m68k/m68k_disasm/m68k_disasm.c libr/asm/arch/x86/bea/BeaEngine.h libr/asm/p/Makefile libr/asm/t/rasm2.c libr/lang/lang.c libr/lang/p/dummy.c libr/lang/p/lua.c
description:
* r_asm
- Removed warnings
- Added error handling to rasm2
* r_lang
- Fixed "print help" bug
changeset: 37:6bee013c885e
user: nibble
date: Thu Feb 19 16:41:51 2009 +0100
files: libr/anal/anal.c libr/asm/asm.c libr/asm/p/Makefile libr/asm/p/asm_bea.c libr/asm/p/asm_olly.c libr/asm/p/asm_x86_bea.c libr/asm/p/asm_x86_olly.c libr/asm/t/rasm2.c libr/debug/debug.c libr/include/r_anal.h libr/include/r_asm.h libr/include/r_debug.h libr/lang/lang.c
description:
* Fixed plugin name length error in r_{asm, anal, lang}
* r_asm
- asm_bea renamed to asm_x86_bea
- asm_olly renamed to asm_x86_olly
- Minor fixups in rasm2
* r_debug
- R_ASM_ARCH_ renamed to R_DBG_ARCH_
changeset: 36:f4a026ed73dc
user: nibble
date: Thu Feb 19 14:34:06 2009 +0100
files: libr/asm/t/rasm2.c
description:
* Fixed rasm2 init O:-)
changeset: 35:c762b4fdbf89
user: nibble
date: Thu Feb 19 14:24:51 2009 +0100
files: libr/asm/arch/x86/bea/makeStaticLib32.bat libr/asm/arch/x86/bea/makeStaticLib64.bat libr/asm/arch/x86/bea/makedll32.bat libr/asm/arch/x86/bea/makedll64.bat libr/asm/arch/x86/ollyasm/disasm.h libr/asm/p/Makefile libr/asm/p/asm_bea.c libr/asm/p/asm_olly.c libr/asm/t/rasm2.c
description:
* r_asm
- Fixed asm_bea
- More refactoring on rasm2
changeset: 34:abe8f2c269d9
user: nibble
date: Wed Feb 18 22:10:47 2009 +0100
files: libr/asm/arch/x86/bea/BeaEngine.c libr/asm/arch/x86/bea/BeaEngine.h libr/asm/arch/x86/bea/COPYING.LESSER.txt libr/asm/arch/x86/bea/COPYING.txt libr/asm/arch/x86/bea/Includes/Routines_Disasm.c libr/asm/arch/x86/bea/Includes/Routines_ModRM.c libr/asm/arch/x86/bea/Includes/instr_set/Data_opcode.h libr/asm/arch/x86/bea/Includes/instr_set/opcodes_A_M.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_FPU.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp1.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp12.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp13.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp14.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp15.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp16.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp2.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp3.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp4.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp5.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp6.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp7.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp8.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_Grp9.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_MMX.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_N_Z.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_SSE.c libr/asm/arch/x86/bea/Includes/instr_set/opcodes_prefixes.c libr/asm/arch/x86/bea/Includes/internal_datas.h libr/asm/arch/x86/bea/Includes/protos.h libr/asm/arch/x86/bea/README.txt libr/asm/arch/x86/bea/makeStaticLib32.bat libr/asm/arch/x86/bea/makeStaticLib64.bat libr/asm/arch/x86/bea/makedll32.bat libr/asm/arch/x86/bea/makedll64.bat libr/asm/asm.c libr/asm/p/Makefile libr/asm/p/asm_arm.c libr/asm/p/asm_bea.c libr/asm/p/asm_bf.c libr/asm/p/asm_csr.c libr/asm/p/asm_dummy.c libr/asm/p/asm_m68k.c libr/asm/p/asm_mips.c libr/asm/p/asm_olly.c libr/asm/p/asm_ppc.c libr/asm/p/asm_sparc.c libr/asm/p/asm_x86.c libr/asm/t/rasm2.c libr/include/r_asm.h
description:
* r_asm
- Initial import of bea engine
- asm_x86 splited in asm_x86, asm_olly and asm_bea
- More refactoring
changeset: 33:6ed35d713b28
user: nibble
date: Wed Feb 18 16:20:14 2009 +0100
files: libr/asm/t/rasm2.c libr/include/r_core.h libr/lib/lib.c
description:
* rasm2 refactoring
* Fixed r_lib null handler issue
* Default blocksize of 64B
changeset: 32:ed355ef99683
user: nibble
date: Wed Feb 18 13:59:57 2009 +0100
files: libr/asm/t/rasm2.c
description:
* rasm2
- Fixed
- All the language plugins are now supported
changeset: 31:8a18000d0286
user: pancake<@nopcode.org>
date: Wed Feb 18 13:10:59 2009 +0100
files: doc/changes-from-1.x libr/core/Makefile libr/core/cmd.c libr/core/core.c libr/core/t/radare2.c libr/core/yank.c libr/include/r_core.h libr/print/print.c
description:
* Added doc/changes-from-1.x
* Added r_core_yank* methods and 'y' command
- Update help message
* radare2 is now handling -s and -b cmdline flags
* Fix r_print_hexdump
changeset: 30:397d7cdebe99
user: nibble
date: Wed Feb 18 03:47:40 2009 +0100
files: libr/asm/arch/arm/asm.c libr/asm/arch/bf/asm.c libr/asm/arch/csr/asm.c libr/asm/arch/m68k/asm.c libr/asm/arch/mips/asm.c libr/asm/arch/ppc/asm.c libr/asm/arch/sparc/asm.c libr/asm/arch/x86/pseudo.c libr/asm/arch/x86/realloc.c libr/asm/p/Makefile libr/asm/p/asm_arm.c libr/asm/p/asm_bf.c libr/asm/p/asm_csr.c libr/asm/p/asm_dummy.c libr/asm/p/asm_m68k.c libr/asm/p/asm_mips.c libr/asm/p/asm_ppc.c libr/asm/p/asm_sparc.c libr/asm/p/asm_x86.c libr/asm/t/Makefile libr/asm/t/asm_x86.c libr/asm/t/disasm_arm.c libr/asm/t/disasm_bf.c libr/asm/t/disasm_csr.c libr/asm/t/disasm_m68k.c libr/asm/t/disasm_mips.c libr/asm/t/disasm_ppc.c libr/asm/t/disasm_sparc.c libr/asm/t/disasm_x86.c libr/asm/t/rasm2.c libr/asm/t/realloc_x86.c libr/parse/pseudo.c
description:
* r_asm
- Added arm plugin
- Added bf plugin
- Added csr plugin
- Added m68k plugin
- Added mips plugin
- Added ppc plugin
- Added sparc plugin
- Removed deprecated test programs
- Updated rasm2 (not working)
* r_parse
- Initial import
changeset: 29:30abcfb8e709
user: nibble
date: Wed Feb 18 01:49:26 2009 +0100
files: libr/anal/p/anal_x86.c libr/asm/Makefile libr/asm/arch/x86/asm.c libr/asm/asm.c libr/asm/p/Makefile libr/asm/p/asm_dummy.c libr/asm/p/asm_x86.c libr/asm/t/Makefile libr/core/cmd.c libr/core/core.c libr/include/r_anal.h libr/include/r_asm.h libr/include/r_core.h libr/include/r_lib.h
description:
* r_asm
- Used plugin infrastructure
- Huge refactoring
- Added x86 plugin
changeset: 28:b53a7ded4de3
user: pancake<@nopcode.org>
date: Wed Feb 18 01:43:57 2009 +0100
files: libr/core/cmd.c libr/core/config.c libr/core/core.c libr/core/file.c libr/core/t/radare2.c libr/core/visual.c libr/debug/debug.c libr/debug/handle.c libr/debug/p/Makefile libr/debug/p/dbg-ptrace.c libr/debug/p/ptrace.c libr/flags/flags.c libr/include/r_core.h libr/include/r_debug.h libr/include/r_flags.h libr/include/r_io.h libr/include/r_types.h libr/io/io.c libr/io/p/dbg.c libr/io/p/ptrace.c
description:
* Initial working implementation of the debugger mode
- Some minor hacks everywhere to glue
- 'dr' command runs '|reg' io-ptrace command (reg dbg stuff needs more work)
- '|reg' is a temporal command that prints x86-ptrace-linux registers
* Added debug visual print mode using && :)
- 's' key steps in debugger
* Added m and ' keys in visual (mark and goto mark) like in vim or r1 :)
- store/use seek addresses
* Make use of the cmd.prompt and cmd.vprompt magic
* Added debug handlers list with 'dh'
- dh ptrace called at init
- dp pid called at init too (hacky style)
* Added debug->wait method for the debug handlers
* Add 'fb' command to set base for flags
* Fix flag redefinition (f foo && f foo @ 33) now works
* Added s64 type (signed 64 bit integer)
* Fixed && and '"' special chars in commnad parsing
changeset: 27:dc5b46849d40
parent: 26:f09b987ec0b7
parent: 25:67a5f5bd9efa
user: pancake<@nopcode.org>
date: Tue Feb 17 11:06:42 2009 +0100
description:
* Merge train vs head
changeset: 26:f09b987ec0b7
parent: 24:547924df2f72
user: pancake<@nopcode.org>
date: Tue Feb 17 10:59:26 2009 +0100
files: libr/TODO libr/core/cmd.c libr/flags/Makefile libr/flags/flags.c libr/flags/spaces.c libr/include/r_flags.h libr/include/r_var.h libr/io/io.c libr/var/var.c
description:
* Add initial 'fs' command to handle flag spaces
- Added the necessary stuff in r_flags
- Flag size is now 64 bit size
* Some random and useless fixups for r_var
changeset: 25:67a5f5bd9efa
user: nibble
date: Tue Feb 17 02:46:52 2009 +0100
files: libr/asm/Makefile libr/asm/arch/csr/asm.c libr/asm/arch/csr/csr_disasm/dis.c libr/asm/arch/csr/csr_disasm/dis.h libr/asm/arch/m68k/asm.c libr/asm/arch/m68k/m68k_disasm/m68k_disasm.c libr/asm/arch/m68k/m68k_disasm/m68k_disasm.h libr/asm/arch/ppc/asm.c libr/asm/asm.c libr/asm/t/Makefile libr/asm/t/disasm_csr.c libr/asm/t/disasm_m68k.c libr/include/r_asm.h
description:
* r_asm
- Added csr and m68k support
- Added csr and m68k test programs
- Fixed Makefile
changeset: 24:547924df2f72
user: pancake<@nopcode.org>
date: Tue Feb 17 00:10:32 2009 +0100
files: libr/cons/cons.c libr/search/search.c
description:
* Remove debug printf
changeset: 23:c9ee42105aa0
user: pancake<@nopcode.org>
date: Tue Feb 17 00:09:40 2009 +0100
files: libr/Makefile libr/cons/cons.c libr/core/cmd.c libr/core/config.c libr/debug/README libr/debug/debug.c libr/debug/p/ptrace.c libr/include/r_cons.h libr/include/r_debug.h libr/include/r_io.h libr/include/r_reg.h libr/io/undo.c libr/reg/reg.c libr/search/regexp.c libr/search/search.c libr/util/hex.c libr/util/str.c libr/vm/vm.c
description:
* Lot of random work on multiple fronts
* Add 'var' in build liblist and 'vapi/t' for make clean
* Add ^C handler for r_cons. support for callbacks
* Add support for ./m ELF for example to interpret the output of commands
* Fix a bug in the regexp algorithm that can get into infinite loop
* Binmask can now contain non hexpair values
* Add '/m' search regexp matches using the new R_SEARCH_REGEXP algorithm
- Handle ^C in search loop..needs to use callback method
* Properly cleanup the flag names
* Added asm.bits and asm.os eval vars
* Added some random tips for debug in README
- Stupid snippets for import/export data between modules
- Register support requires a rethink
* Initial work on the integration of r_io_undo() api
changeset: 22:d5f1a547d106
user: pancake@flubox
date: Mon Feb 16 19:59:54 2009 +0100
files: libr/Makefile libr/core/cmd.c libr/libr.pc libr/search/t/test.c libr/search/xrefs.c libr/vapi/r_search.vapi libr/vapi/t/Makefile libr/vapi/t/search.vala
description:
* Fix build and some minor fixups
changeset: 21:c3ce7f59551d
user: pancake<@nopcode.org>
date: Mon Feb 16 11:24:45 2009 +0100
files: README libr/core/cmd.c libr/core/core.c libr/core/t/Makefile libr/include/r_core.h libr/include/r_debug.h libr/include/r_search.h libr/include/r_util.h libr/lang/p/perl.c libr/meta/meta.c libr/range/range.c libr/search/Makefile libr/search/old_xrefs.c libr/search/search.c libr/search/xrefs.c libr/util/mem.c libr/vapi/t/Makefile
description:
* Added dummy xrefs
* Added cmd_meta in r_core->cmd
* Cleanup data type range before adding new one in r_meta
- mix idea for meta+ranges (commented)
* Search -> initialize renamed to begin()
* Added memcmp_mask for r_util
* Fix crash issue in perl module
changeset: 20:5cea89ae9aec
parent: 19:1e634987cc7b
parent: 18:5fcc9680921c
user: pancake<@nopcode.org>
date: Mon Feb 16 03:16:35 2009 +0100
description:
* Merge local commits with head
changeset: 19:1e634987cc7b
parent: 16:b1d795bf526e
user: pancake<@nopcode.org>
date: Mon Feb 16 03:14:19 2009 +0100
files: libr/include/r_meta.h libr/include/r_util.h libr/meta/Makefile libr/meta/README libr/meta/meta.c libr/meta/t/Makefile libr/meta/t/test.c libr/meta/tmp/data.c libr/meta/tmp/data.h libr/util/str.c
description:
* Initial working implementation of r_meta
- Added test program that sets and gets metadata.
- It needs much more features and stuff
- Integration with r_core is mandatory! :)
- Hard simplification from the old r1 code
* Added r_str_concat and r_str_concatf in r_util
changeset: 18:5fcc9680921c
user: nibble
date: Mon Feb 16 03:13:51 2009 +0100
files: libr/anal/anal.c libr/anal/p/anal_dummy.c libr/anal/p/anal_x86.c libr/core/cmd.c libr/core/core.c libr/include/r_anal.h
description:
* Minor fixups in r_anal
changeset: 17:0a7217fd3bdc
user: nibble
date: Mon Feb 16 02:12:02 2009 +0100
files: libr/anal/anal.c libr/anal/p/anal_dummy.c libr/anal/p/anal_x86.c libr/core/cmd.c libr/include/r_anal.h libr/search/t/Makefile
description:
* r_anal
- Redefined r_anal_aop
- Fixed x86 plugin
* r_core
- Added ao command (test)
* Fixed r_search Makefile
changeset: 16:b1d795bf526e
user: nibble
date: Mon Feb 16 00:57:03 2009 +0100
files: libr/Makefile libr/anal/Makefile libr/anal/anal.c libr/anal/p/Makefile libr/anal/p/anal_dummy.c libr/anal/p/anal_x86.c libr/asm/Makefile libr/asm/arch/x86/aop.c libr/asm/asm.c libr/asm/t/aop_x86.c libr/core/Makefile libr/core/cmd.c libr/core/core.c libr/core/t/Makefile libr/include/r_anal.h libr/include/r_asm.h libr/include/r_core.h libr/include/r_lib.h
description:
* r_anal
- Initial (non working) implementation
- Added dummy and x86 plugins
* r_core
- Added 'anal' command
* r_asm
- Removed aop parser
changeset: 15:9dc9d76efb23
user: pancake<@nopcode.org>
date: Sun Feb 15 23:32:17 2009 +0100
files: env.sh libr/libr.pc libr/search/Makefile libr/search/regexp.c libr/search/search.c libr/search/t/Makefile libr/search/t/test-regexp.c libr/vapi/t/Makefile
description:
* Fix vapi/t build
* Add regexp search method in r_search
- Uses libc regcomp+regexec
- Added regexp test example
* Added libr.pc for pkg-config
changeset: 14:81c90eee2a70
user: pancake<@nopcode.org>
date: Sat Feb 14 18:15:51 2009 -0800
files: libr/lang/p/Makefile libr/lang/p/perl.c libr/line/dietline.c
description:
* Fix build of python plugin in ArchLinux (python2.6 instead of 2.5)
* Simplify the perl plugin
* Drop stupid \n debug in dietline O:)
changeset: 13:e6e4bd922a64
user: pancake<@nopcode.org>
date: Sat Feb 14 16:48:11 2009 -0800
files: libr/flags/flags.c libr/include/r_meta.h libr/include/r_types.h libr/include/r_var.h libr/line/dietline.c libr/meta/README libr/meta/meta.c libr/meta/tmp/data.c libr/meta/tmp/data.h libr/print/print.c libr/reg/README
description:
* Initial drafts for r_meta
* Minor random cleanups
changeset: 12:3f9111160d70
user: nibble
date: Sat Feb 14 12:49:02 2009 +0100
files: libr/include/r_lang.h libr/lang/lang.c libr/lang/p/Makefile libr/lang/p/perl.c
description:
- Added perl support
changeset: 11:3605ce605bb0
user: pancake<@nopcode.org>
date: Fri Feb 13 15:25:15 2009 -0800
files: libr/include/r_var.h libr/var/Makefile libr/var/README libr/var/tmp/analyze.c libr/var/tmp/data.c libr/var/tmp/vars.c libr/var/var.c
description:
* Initial pseudo-working implementation of r_var API
- Remove temporal code
changeset: 10:a22635e79a9e
user: pancake<@nopcode.org>
date: Thu Feb 12 15:47:13 2009 -0800
files: libr/TODO libr/debug/README libr/lang/p/Makefile libr/lang/p/ruby.c libr/meta/README libr/trace/trace.c libr/var/README libr/var/tmp/analyze.c libr/var/tmp/data.c libr/var/tmp/vars.c
description:
* Oops. fix ruby plugin build
* Added dummy r_trace r_meta and r_var
- With readme, dummy code and comments..
changeset: 9:8557947eeaac
user: pancake@flubox
date: Wed Feb 11 13:31:26 2009 +0100
files: libr/core/cmd.c libr/core/t/radare2.c libr/diff/t/Makefile libr/include/r_lang.h libr/lang/lang.c libr/lang/p/Makefile libr/lang/p/python.c libr/lang/p/ruby.c libr/rules.mk
description:
* Added python language binding for libr-radare2
- Same state as in r1 or ruby-r2
- Added prompt() function pointer to override
the default language prompt if available
* Add -V flag to radare2
- Fix bug in foreach file open
- Fix help message for 'q' cmd
changeset: 8:20ba7ccfcec2
user: pancake<@nopcode.org>
date: Wed Feb 11 15:04:30 2009 -0800
files: libr/Makefile libr/core/cmd.c libr/include/r_lang.h libr/lang/lang.c libr/lang/p/Makefile libr/lang/p/chkruby.rb libr/lang/p/mkruby.rb libr/lang/p/ruby.c
description:
* Initial import of the ruby plugin for r_lang
- Imported mkruby and chkruby from r1
- Some minor changes in r_lang for it
changeset: 7:7d6b97b05625
user: pancake<@nopcode.org>
date: Tue Feb 10 15:56:20 2009 -0800
files: libr/core/cmd.c libr/core/core.c libr/include/r_lang.h libr/include/r_lib.h libr/include/r_util.h libr/lang/lang.c libr/lang/p/Makefile libr/lang/p/dummy.c libr/lang/p/lua.c libr/search/search.c libr/util/file.c libr/vapi/t/Makefile
description:
* Initial integrated implementation of r_lang in r_core
- Added two dummy plugins for r_lang (dummy and lua)
- Accessible thru the '#!' command.
changeset: 6:39449fa3d2ac
user: pancake <youterm.com>
date: Mon Feb 09 12:42:54 2009 +0100
files: TODO libr/core/visual.c libr/include/r_cons.h libr/include/r_debug.h libr/include/r_print.h libr/include/r_search.h libr/include/r_util.h libr/print/date.c libr/print/print.c libr/search/search.c libr/search/xrefs.c libr/util/num.c
description:
* More work on visual core
- Added initial cursor support
- Q also for quit
- Added visual prompt
* Added date.c
* Move cursor responsability to r_print
* Make r_cons_invert work also for noncolor terminals
* Added r_num_minmax_swap_i in r_util
changeset: 5:207b3061a5e5
user: pancake <youterm.com>
date: Mon Feb 09 01:54:09 2009 +0100
files: env.sh libr/Makefile libr/cons/color.c libr/cons/cons.c libr/cons/input.c libr/core/cmd.c libr/core/core.c libr/core/file.c libr/core/t/Makefile libr/core/t/radare2.c libr/core/visual.c libr/include/r_core.h libr/include/r_print.h libr/include/r_util.h libr/print/print.c libr/rules.mk libr/util/file.c
description:
* Fix LIBR_PLUGINS in env.sh
* Initial implementation of the visual mode in core
* Added pc and ps print formats (c code and string)
* Added '/' command in core (search hexa and str)
* Add '-d' to radare2 test program
* New r_file_path to resolve file path thru $PATH
* 'make install' works everywhere
changeset: 4:d8bd91a53c6a
user: nibble
date: Mon Feb 09 00:19:06 2009 +0100
files: libr/anal/anal.c libr/asm/Makefile libr/asm/arch/arm/asm.c libr/asm/arch/mips/asm.c libr/asm/arch/ppc/asm.c libr/asm/arch/sparc/asm.c libr/asm/arch/x86/aop.c libr/asm/arch/x86/asm.c libr/asm/arch/x86/pseudo.c libr/asm/asm.c libr/asm/t/Makefile libr/asm/t/aop_x86.c libr/hash/t/Makefile libr/include/r_anal.h libr/include/r_asm.h libr/syscall/t/Makefile
description:
* r_anal // r_asm
- Initial AOP parser (needs more love)
- Adds buf and inst_len to r_asm_t
- Refactoring
* More Makefile refactoring
changeset: 3:a4955d6534c9
user: nibble
date: Fri Feb 06 18:22:27 2009 +0100
files: libr/Makefile libr/anal/anal.c libr/cmd/t/Makefile libr/cons/t/Makefile libr/core/t/Makefile libr/hash/t/Makefile libr/include/r_anal.h libr/include/r_asm.h libr/line/t/Makefile libr/print/t/Makefile libr/rules.mk libr/syscall/t/Makefile libr/tests.mk
description:
* More Makefile refactoring and cleanup
* Minor cleanups in r_asm.h
* First work in r_anal
changeset: 2:e846f951ab9a
user: pancake <youterm.com>
date: Fri Feb 06 13:17:51 2009 +0100
files: AUTHORS libr/Makefile libr/TODO libr/asm/Makefile libr/asm/t/Makefile libr/asm/t/rasm2.c libr/bin/t/Makefile libr/cmd/Makefile libr/cmd/t/Makefile libr/config/Makefile libr/cons/Makefile libr/cons/t/Makefile libr/core/Makefile libr/core/core.c libr/core/t/Makefile libr/diff/Makefile libr/diff/t/Makefile libr/flags/flags.c libr/include/r_search.h libr/io/p/Makefile libr/lib/t/Makefile libr/line/Makefile libr/line/t/Makefile libr/print/t/Makefile libr/rules.mk libr/search/Makefile libr/search/t/Makefile libr/tests.mk libr/util/t/Makefile libr/util/t/ralloc.c
description:
* Lot of makefile refactoring and cleanup
- Make use of some gnu extensions to make it cleaner
- Fixes (mostly) build system
changeset: 1:bb29c13a29b7
user: pancake <youterm.com>
date: Thu Feb 05 22:28:33 2009 +0100
files: Makefile env.sh libr/Makefile libr/core/cmd.c libr/io/p/Makefile libr/io/p/README libr/io/p/dbg.c libr/io/p/malloc.c libr/io/p/ptrace.c libr/io/plugins/Makefile libr/io/plugins/README libr/io/plugins/dbg.c libr/io/plugins/malloc.c libr/io/plugins/ptrace.c
description:
* Fix build issues - fix build order
* Plugin directory renamed to 'p'
* Add env.sh to enter into a "radare2 development shell"
changeset: 0:e6484e0f3084
user: pancake <youterm.com>
date: Thu Feb 05 22:08:46 2009 +0100
files: ChangeLog Makefile README libr/Makefile libr/README libr/TODO libr/asm/Makefile libr/asm/arch/arm/asm.c libr/asm/arch/arm/gnu/arm-dis.c libr/asm/arch/bf/asm.c libr/asm/arch/include/ansidecl.h libr/asm/arch/include/bfd.h libr/asm/arch/include/bfdlink.h libr/asm/arch/include/dis-asm.h libr/asm/arch/include/elf-bfd.h libr/asm/arch/include/elf/common.h libr/asm/arch/include/elf/external.h libr/asm/arch/include/elf/internal.h libr/asm/arch/include/elf/mips.h libr/asm/arch/include/elf/reloc-macros.h libr/asm/arch/include/libiberty.h libr/asm/arch/include/opcode/mips.h libr/asm/arch/include/opcode/sparc.h libr/asm/arch/include/opintl.h libr/asm/arch/include/symcat.h libr/asm/arch/include/sysdep.h libr/asm/arch/mips/asm.c libr/asm/arch/mips/gnu/mips-dis.c libr/asm/arch/mips/gnu/mips-opc.c libr/asm/arch/mips/gnu/mips16-opc.c libr/asm/arch/ppc/asm.c libr/asm/arch/ppc/ppc_disasm/ppc_disasm.c libr/asm/arch/ppc/ppc_disasm/ppc_disasm.h libr/asm/arch/sparc/asm.c libr/asm/arch/sparc/gnu/sparc-dis.c libr/asm/arch/sparc/gnu/sparc-opc.c libr/asm/arch/x86/asm.c libr/asm/arch/x86/ollyasm/asmserv.c libr/asm/arch/x86/ollyasm/assembl.c libr/asm/arch/x86/ollyasm/disasm.c libr/asm/arch/x86/ollyasm/disasm.h libr/asm/arch/x86/pseudo.c libr/asm/arch/x86/realloc.c libr/asm/arch/x86/udis86/LICENSE libr/asm/arch/x86/udis86/README libr/asm/arch/x86/udis86/decode.c libr/asm/arch/x86/udis86/decode.h libr/asm/arch/x86/udis86/extern.h libr/asm/arch/x86/udis86/input.c libr/asm/arch/x86/udis86/input.h libr/asm/arch/x86/udis86/itab.c libr/asm/arch/x86/udis86/itab.h libr/asm/arch/x86/udis86/syn-att.c libr/asm/arch/x86/udis86/syn-intel.c libr/asm/arch/x86/udis86/syn.c libr/asm/arch/x86/udis86/syn.h libr/asm/arch/x86/udis86/types.h libr/asm/arch/x86/udis86/udis86.c libr/asm/asm.c libr/asm/t/Makefile libr/asm/t/asm_x86.c libr/asm/t/disasm_arm.c libr/asm/t/disasm_bf.c libr/asm/t/disasm_mips.c libr/asm/t/disasm_ppc.c libr/asm/t/disasm_sparc.c libr/asm/t/disasm_x86.c libr/asm/t/rasm2.c libr/asm/t/realloc_x86.c libr/bin/Makefile libr/bin/bin.c libr/bin/elf.c libr/bin/elf64.c libr/bin/pe.c libr/bin/t/Makefile libr/bin/t/baddr.c libr/bin/t/data_resize.c libr/bin/t/entry.c libr/bin/t/imports.c libr/bin/t/info.c libr/bin/t/rabin2.c libr/bin/t/rsz_test.sh libr/bin/t/sections.c libr/bin/t/symbols.c libr/bp/Makefile libr/bp/README libr/bp/bp.c libr/cmd/Makefile libr/cmd/TODO libr/cmd/cmd.c libr/cmd/t/Makefile libr/cmd/t/test.c libr/config.mk libr/config/Makefile libr/config/callback.c libr/config/config.c libr/config/deprecated.c libr/config/t/Makefile libr/config/t/test.c libr/cons/Makefile libr/cons/color.c libr/cons/cons.c libr/cons/input.c libr/cons/pipe.c libr/cons/print.c libr/cons/strsub.c libr/cons/t/Makefile libr/cons/t/hello.c libr/core/Makefile libr/core/cmd.c libr/core/config.c libr/core/core.c libr/core/file.c libr/core/io.c libr/core/t/Makefile libr/core/t/radare2.c libr/core/visual.c libr/debug/Makefile libr/debug/debug.c libr/debug/handle.c libr/debug/p/ptrace.c libr/diff/Makefile libr/diff/diff.c libr/diff/t/Makefile libr/diff/t/radiff2.c libr/diff/t/test.c libr/flags/Makefile libr/flags/flags.c libr/flags/name.c libr/flags/old_flags.c libr/flags/old_flags.h libr/hash/Makefile libr/hash/crc16.c libr/hash/crc32.c libr/hash/crc32.h libr/hash/crca.c libr/hash/entropy.c libr/hash/hamdist.c libr/hash/hash.c libr/hash/hash.h libr/hash/md4.c libr/hash/md5.h libr/hash/md5c.c libr/hash/sha1.c libr/hash/sha1.h libr/hash/sha2.c libr/hash/sha2.h libr/hash/state.c libr/hash/t/Makefile libr/hash/t/hello.c libr/include/list.h libr/include/r.h libr/include/r_asm.h libr/include/r_bin.h libr/include/r_bin_elf.h libr/include/r_bin_elf64.h libr/include/r_bin_elf_specs.h libr/include/r_bin_pe.h libr/include/r_bin_pe_specs.h libr/include/r_cmd.h libr/include/r_config.h libr/include/r_cons.h libr/include/r_core.h libr/include/r_debug.h libr/include/r_diff.h libr/include/r_flags.h libr/include/r_hash.h libr/include/r_io.h libr/include/r_lang.h libr/include/r_lib.h libr/include/r_line.h libr/include/r_macro.h libr/include/r_print.h libr/include/r_range.h libr/include/r_reg.h libr/include/r_search.h libr/include/r_sign.h libr/include/r_socket.h libr/include/r_syscall.h libr/include/r_types.h libr/include/r_util.h libr/include/r_vm.h libr/io/Makefile libr/io/README libr/io/desc.c libr/io/handle.c libr/io/io.c libr/io/map.c libr/io/plugins/Makefile libr/io/plugins/README libr/io/plugins/dbg.c libr/io/plugins/malloc.c libr/io/plugins/ptrace.c libr/io/section.c libr/io/t/Makefile libr/io/t/cat.c libr/io/t/read4.c libr/io/undo.c libr/io/undo.h libr/lang/Makefile libr/lang/lang.c libr/lib/Makefile libr/lib/lib.c libr/lib/t/Makefile libr/lib/t/plugin.c libr/lib/t/test-plugin.c libr/line/Makefile libr/line/TODO libr/line/dietline.c libr/line/t/Makefile libr/line/t/hello.c libr/macro/Makefile libr/macro/macro.c libr/print/Makefile libr/print/format.c libr/print/print.c libr/print/t/Makefile libr/print/t/hex.c libr/range/Makefile libr/range/range.c libr/reg/Makefile libr/reg/README libr/reg/reg.c libr/rules.mk libr/search/Makefile libr/search/aes-find.c libr/search/binparse.c libr/search/bytepat.c libr/search/search.c libr/search/stripstr.c libr/search/t/Makefile libr/search/t/test-str.c libr/search/t/test.c libr/sign/Makefile libr/sign/sign.c libr/socket/Makefile libr/socket/socket.c libr/stripsyms.sh libr/syscall/Makefile libr/syscall/TODO libr/syscall/darwin.c libr/syscall/example.syscall-file libr/syscall/freebsd.c libr/syscall/linux.c libr/syscall/netbsd.c libr/syscall/syscall.c libr/syscall/t/Makefile libr/syscall/t/hello.c libr/tests.mk libr/util/Makefile libr/util/alloca.c libr/util/alloca.s libr/util/file.c libr/util/hex.c libr/util/mem.c libr/util/num.c libr/util/re.c libr/util/str.c libr/util/t/Makefile libr/util/t/ralloc.c libr/util/t/rax2.c libr/util/t/test.c libr/vapi/r_asm.vapi libr/vapi/r_bin.vapi libr/vapi/r_config.vapi libr/vapi/r_cons.vapi libr/vapi/r_core.vapi libr/vapi/r_hash.deps libr/vapi/r_hash.vapi libr/vapi/r_io.vapi libr/vapi/r_range.vapi libr/vapi/r_search.vapi libr/vapi/r_socket.vapi libr/vapi/r_syscall.vapi libr/vapi/t/Makefile libr/vapi/t/asm.vala libr/vapi/t/bin.vala libr/vapi/t/core.vala libr/vapi/t/hash.vala libr/vapi/t/sc.vala libr/vapi/t/search.vala libr/vapi/t/socket.vala libr/vm/Makefile libr/vm/extra.c libr/vm/mmu.c libr/vm/op.c libr/vm/reg.c libr/vm/setup.c libr/vm/stack.c libr/vm/vm.c
description:
* Initial import of libr
- Previous commits has been reported in the ChangeLog file
- hg log has been lost (moved inside ChangeLog)
- Old radare1 repository has removed all the libr
/* --------------------------------------------------- */
2008-02-05 : Changes before the initial repository import
The ones not related with libr have been stripped from
this ChangeLog. The previous home for libr was in the old
radare1 mercurial repository
/* --------------------------------------------------- */
changeset: 880:ed9c8383c7b9
user: pancake <youterm.com>
date: Thu Feb 05 18:55:15 2009 +0100
files: src/libr/core/cmd.c src/libr/core/core.c src/libr/core/t/Makefile src/libr/include/r_core.h src/libr/include/r_lang.h src/libr/include/r_lib.h src/libr/io/io.c src/libr/lang/Makefile src/libr/lang/lang.c
description:
* Added 'oobi support' for libr
- oobi stands for 'Out Of Band Input'
- Enables '<' and '<<' command modifiers
- '<' : read from file
- '<<' : read until EOF mark
- Lot of commands will
* Added r_lang
- Nonworking integration with r_core in the '#!' command
- Use: #!perl < file.pl for example
changeset: 879:056a0f472dcb
user: pancake <youterm.com>
date: Thu Feb 05 02:35:14 2009 +0100
files: src/libr/TODO src/libr/bp/README src/libr/bp/bp.c src/libr/core/cmd.c src/libr/core/core.c src/libr/debug/Makefile src/libr/debug/debug.c src/libr/debug/handle.c src/libr/debug/p/ptrace.c src/libr/debug/ptrace.c src/libr/include/r.h src/libr/include/r_debug.h src/libr/include/r_lib.h src/libr/io/io.c src/libr/line/dietline.c
description:
* Fix build for libr
* Some refactor for libr_debug
- Basic r_debug_handle api
- Loaded debugger plugins integrated with core
* Drop label related code from dietline
changeset: 878:7d0081787d00
user: pancake <@youterm.com>
date: Wed Feb 04 20:11:51 2009 +0100
files: src/libr/include/r_io.h src/libr/include/r_io_section.h src/libr/io/plugins/Makefile src/libr/io/plugins/dbg.c src/libr/io/plugins/malloc.c src/libr/io/plugins/ptrace.c src/libr/io/section.c src/libr/rules.mk src/libr/socket/socket.c src/libr/vapi/r_io.vapi
description:
* Remove r_io_section.h (merge with r_io.h)
* Added malloc io plugin for libr
- Ported from radare in few mins
* Fix some issues with the dbg:// io-redirect plugin
* Add plugins/ as subdir build rule if found
* Change some old-to-new license lines
changeset: 877:46f48b48c5d1
user: pancake <youterm.com>
date: Wed Feb 04 12:10:59 2009 +0100
files: src/libr/cons/pipe.c src/libr/core/cmd.c src/libr/core/core.c src/libr/core/file.c src/libr/core/io.c src/libr/core/t/Makefile src/libr/hash/t/hello.c src/libr/include/r_cons.h src/libr/include/r_core.h src/libr/include/r_io.h src/libr/include/r_io_section.h src/libr/include/r_lib.h src/libr/include/r_util.h src/libr/io/handle.c src/libr/io/io.c src/libr/io/map.c src/libr/io/plugins/dbg.c src/libr/io/plugins/ptrace.c src/libr/io/section.c src/libr/io/t/Makefile src/libr/io/t/cat.c src/libr/io/t/read4.c src/libr/lib/lib.c src/libr/util/file.c
description:
* Major refactoring for the r_io
- API has changed. Now r_io is OO
- Added r_io_redirect()
- Makes ptrace() and dbg:// plugins work!
- Sync program examples with new api
* Remove lot of debugging mesages
- Fix warnings
* Added r_file_exist() helper in r_util
* Added '|' command in the core
- list io plugins and send commands thru io_system
changeset: 876:6cf4c3d48ae8
user: pancake <@youterm.com>
date: Tue Feb 03 20:16:11 2009 +0100
files: src/dbg/pt-example.c src/libr/core/core.c src/libr/include/r_io.h src/libr/io/io.c src/libr/io/plugins/Makefile src/libr/io/plugins/dbg.c src/libr/io/plugins/ptrace.c
description:
* Some more shitty updates for the debug io
- Needs full io refactoring to make this io_redirect work
changeset: 875:c927fcb736a7
user: pancake <youterm.com>
date: Tue Feb 03 10:43:59 2009 +0100
files: src/libr/core/t/Makefile src/libr/io/io.c src/libr/io/plugins/Makefile src/libr/io/plugins/dbg.c src/libr/io/plugins/ptrace.c src/libr/util/str.c
description:
* Initial import of the dbg:// io plugin
- Forks a new process and redirects the uri to ptrace:// on *nix
- If process name is a number directly pass the control to ptrace as a pid
- The resulting process is not attachable :/ will have to fix this :)
* radare2 is now linked dinamicly against libr
- Fixes the problem of dupped r_io while using io plugins
- Everything needs to be dynamic if we want to use r_io
changeset: 874:7d6363813c0d
user: pancake <youterm.com>
date: Mon Feb 02 04:28:02 2009 +0100
files: src/libr/core/cmd.c src/libr/core/core.c src/libr/core/t/Makefile src/libr/include/r_core.h src/libr/include/r_io.h src/libr/io/handle.c src/libr/io/io.c src/libr/io/plugins/Makefile src/libr/io/plugins/ptrace.c src/libr/lib/lib.c
description:
* Initial working implementation of the ptrace io plugin
- Now r_core uses r_lib
- Plugins are autoloaded at startup time
- attach to process and read memory works
changeset: 873:55c830447283
user: pancake <youterm.com>
date: Mon Feb 02 03:25:52 2009 +0100
files: src/libr/Makefile src/libr/include/r_lib.h src/libr/io/io.c src/libr/io/plugins/Makefile src/libr/io/plugins/ptrace.c src/rabin/rabin.c
description:
* Initial import of the ptrace io plugin
- core does not yet uses r_lib to load io/plugins
- Added R_LIB_TYPE_IO..more to come
* Make rabin properly identify the redsn0w mach0 binary header
changeset: 872:b24b3e49eb8d
user: pancake <youterm.com>
date: Mon Feb 02 01:59:44 2009 +0100
files: src/libr/bp/bp.c src/libr/debug/debug.c src/libr/include/r_asm.h src/libr/include/r_reg.h src/libr/io/plugins/README src/libr/io_plugins/README src/libr/reg/reg.c
description:
* More draft code for r_bp and r_reg
changeset: 871:34d24ca37ff9
user: nibble
date: Mon Feb 02 00:50:19 2009 +0100
files: src/libr/asm/arch/arm/asm.c src/libr/asm/arch/bf/asm.c src/libr/asm/arch/mips/asm.c src/libr/asm/arch/ppc/asm.c src/libr/asm/arch/sparc/asm.c src/libr/asm/arch/x86/asm.c src/libr/asm/arch/x86/pseudo.c src/libr/asm/arch/x86/realloc.c src/libr/asm/asm.c src/libr/asm/t/asm_x86.c src/libr/asm/t/disasm_arm.c src/libr/asm/t/disasm_bf.c src/libr/asm/t/disasm_mips.c src/libr/asm/t/disasm_ppc.c src/libr/asm/t/disasm_sparc.c src/libr/asm/t/disasm_x86.c src/libr/asm/t/rasm2.c src/libr/asm/t/realloc_x86.c src/libr/include/r_asm.h src/libr/vapi/r_asm.vapi
description:
* Types fixups in r_asm
changeset: 870:3e992e014cb6
user: nibble
date: Sun Feb 01 14:54:33 2009 +0100
files: src/libr/vapi/r_bin.vapi src/libr/vapi/t/bin.vala
description:
* Fixed r_bin vapi and test program
changeset: 869:568b3537dc9c
parent: 867:aeede8dbbdd7
parent: 868:b66d5b37d514
user: pancake <youterm.com>
date: Sun Feb 01 04:50:30 2009 +0100
files: src/libr/asm/arch/arm/gnu/ansidecl.h src/libr/asm/arch/arm/gnu/bfd.h src/libr/asm/arch/arm/gnu/dis-asm.h src/libr/asm/arch/arm/gnu/symcat.h src/libr/asm/arch/mips/gnu/ansidecl.h src/libr/asm/arch/mips/gnu/bfd.h src/libr/asm/arch/mips/gnu/bfdlink.h src/libr/asm/arch/mips/gnu/dis-asm.h src/libr/asm/arch/mips/gnu/elf-bfd.h src/libr/asm/arch/mips/gnu/elf/common.h src/libr/asm/arch/mips/gnu/elf/external.h src/libr/asm/arch/mips/gnu/elf/internal.h src/libr/asm/arch/mips/gnu/elf/mips.h src/libr/asm/arch/mips/gnu/elf/reloc-macros.h src/libr/asm/arch/mips/gnu/libiberty.h src/libr/asm/arch/mips/gnu/opcode/mips.h src/libr/asm/arch/mips/gnu/opintl.h src/libr/asm/arch/mips/gnu/symcat.h src/libr/asm/arch/mips/gnu/sysdep.h src/libr/include/r_asm.h src/libr/vapi/r_bin.vapi src/libr/vapi/t/bin.vala
description:
* Oops. merge
changeset: 868:b66d5b37d514
parent: 866:783ecba9af73
user: nibble
date: Fri Jan 30 20:13:46 2009 +0100
files: src/libr/TODO src/libr/asm/Makefile src/libr/asm/arch/arm/asm.c src/libr/asm/arch/arm/gnu/ansidecl.h src/libr/asm/arch/arm/gnu/bfd.h src/libr/asm/arch/arm/gnu/dis-asm.h src/libr/asm/arch/arm/gnu/symcat.h src/libr/asm/arch/include/ansidecl.h src/libr/asm/arch/include/bfd.h src/libr/asm/arch/include/bfdlink.h src/libr/asm/arch/include/dis-asm.h src/libr/asm/arch/include/elf-bfd.h src/libr/asm/arch/include/elf/common.h src/libr/asm/arch/include/elf/external.h src/libr/asm/arch/include/elf/internal.h src/libr/asm/arch/include/elf/mips.h src/libr/asm/arch/include/elf/reloc-macros.h src/libr/asm/arch/include/libiberty.h src/libr/asm/arch/include/opcode/mips.h src/libr/asm/arch/include/opcode/sparc.h src/libr/asm/arch/include/opintl.h src/libr/asm/arch/include/symcat.h src/libr/asm/arch/include/sysdep.h src/libr/asm/arch/mips/asm.c src/libr/asm/arch/mips/gnu/ansidecl.h src/libr/asm/arch/mips/gnu/bfd.h src/libr/asm/arch/mips/gnu/bfdlink.h src/libr/asm/arch/mips/gnu/dis-asm.h src/libr/asm/arch/mips/gnu/elf-bfd.h src/libr/asm/arch/mips/gnu/elf/common.h src/libr/asm/arch/mips/gnu/elf/external.h src/libr/asm/arch/mips/gnu/elf/internal.h src/libr/asm/arch/mips/gnu/elf/mips.h src/libr/asm/arch/mips/gnu/elf/reloc-macros.h src/libr/asm/arch/mips/gnu/libiberty.h src/libr/asm/arch/mips/gnu/opcode/mips.h src/libr/asm/arch/mips/gnu/opintl.h src/libr/asm/arch/mips/gnu/symcat.h src/libr/asm/arch/mips/gnu/sysdep.h src/libr/asm/arch/sparc/asm.c src/libr/asm/arch/sparc/gnu/sparc-dis.c src/libr/asm/arch/sparc/gnu/sparc-opc.c src/libr/asm/asm.c src/libr/asm/t/Makefile src/libr/asm/t/disasm_sparc.c src/libr/config.mk src/libr/include/r_asm.h src/libr/include/r_bin.h src/libr/include/r_bin_elf.h src/libr/include/r_bin_pe.h src/libr/vapi/r_asm.vapi src/libr/vapi/r_bin.vapi src/libr/vapi/t/asm.vala src/libr/vapi/t/bin.vala
description:
* r_asm
- Added sparc support
- Added test (disasm_sparc)
- Major reorganization of headers
* Minor fixups in r_asm & r_bin vapis
changeset: 867:aeede8dbbdd7
user: pancake <youterm.com>
date: Sun Feb 01 04:48:03 2009 +0100
files: src/libr/Makefile src/libr/bp/README src/libr/cmd/cmd.c src/libr/core/cmd.c src/libr/core/t/Makefile src/libr/debug/Makefile src/libr/debug/debug.c src/libr/debug/ptrace.c src/libr/include/r_asm.h src/libr/include/r_cmd.h src/libr/include/r_core.h src/libr/include/r_debug.h src/libr/include/r_reg.h src/libr/reg/Makefile src/libr/reg/README src/libr/reg/reg.c src/libr/util/Makefile src/libr/util/alloca.c src/libr/util/alloca.s src/libr/util/t/Makefile src/libr/util/t/ralloc.c src/libr/vapi/r_bin.vapi src/libr/vapi/t/bin.vala
description:
* Initial nonworking draft for r_debug and r_reg
- Basic debugger api defined
- Needs implementation for various operating systems
- Debugger is now designed to be modular at breakpoint, register,
io, and debugging layers based on function pointers.
- Lot of things to do here.
- r_reg handles lists and definitions for registers of multiple architectures
* Initial import of ralloc.
- A minimalistic and fast stacked heap memory allocation
- 40% faster than glibc's malloc and 60% faster than alloca
- Exposes a bug in gcc optimizations.
fmi: http://news.nopcode.org/gccfail
- Added benchmarking test program
* Some cleanup of the r_bin api. missing "public" attributes
- Looks like arrays like Entry[] are not well integrated with vala
- Test program now crashes. needs redesign solution
* Dummy r_cmd_args() to be integrated easily with dietline
* Added dummy help message for 'd' command in radare2
changeset: 866:783ecba9af73
user: nibble
date: Fri Jan 30 16:08:53 2009 +0100
files: src/libr/TODO src/libr/asm/arch/bf/asm.c src/libr/asm/arch/x86/pseudo.c src/libr/asm/arch/x86/realloc.c src/libr/include/r_bin_elf.h src/libr/vapi/r_asm.vapi src/libr/vapi/r_bin.vapi src/libr/vapi/t/Makefile src/libr/vapi/t/asm.vala src/libr/vapi/t/bin.vala
description:
* r_asm
- More refactoring
* r_bin
- Fixed header issue
* vapis
- Added r_asm and r_bin vapi
- Modified t/asm including parsing
- Added test (t/bin)
changeset: 865:50e3b2e29e41
user: pancake <youterm.com>
date: Fri Jan 30 12:20:48 2009 +0100
files: src/libr/TODO src/libr/bp/Makefile src/libr/bp/README src/libr/cons/Makefile src/libr/cons/TODO src/libr/cons/color.c src/libr/cons/cons.c src/libr/cons/input.c src/libr/cons/pipe.c src/libr/cons/print.c src/libr/core/cmd.c src/libr/include/r_cons.h src/libr/include/r_util.h src/libr/stripsyms.sh src/libr/util/num.c src/libr/util/str.c
description:
* Split cons in multiple files
* Initial README for r_bp breakpoint management library
* File pipes are now working in radare2 ('>' and '>>')
* stripsyms.sh only filters symbols in r_util starting with r_
* Added r_str_nchr in util/str.c - simplifies some cons code
changeset: 864:cc8bad644a1d
user: nibble
date: Thu Jan 29 19:00:38 2009 +0100
files: src/libr/asm/t/realloc_x86.c src/libr/bin/bin.c src/libr/bin/t/baddr.c src/libr/bin/t/entry.c src/libr/bin/t/imports.c src/libr/bin/t/info.c src/libr/bin/t/rabin2.c src/libr/bin/t/sections.c src/libr/bin/t/symbols.c src/libr/include/r_bin.h
description:
* r_bin
- Added r_bin_new and r_bin_free
- r_bin_open renamed to r_bin_init
- Tests modified accordingly
changeset: 863:279b0b1bb362
user: nibble
date: Thu Jan 29 12:15:18 2009 +0100
files: src/libr/asm/Makefile src/libr/asm/arch/bf/asm.c src/libr/asm/asm.c src/libr/asm/t/Makefile src/libr/asm/t/disasm_bf.c src/libr/include/r_asm.h
description:
* r_asm
- Added bf support ;)
- Added test (disasm_bf)
changeset: 862:612f9aabcb39
user: pancake <youterm.com>
date: Thu Jan 29 12:24:47 2009 +0100
files: src/libr/TODO src/libr/include/r_core.h src/libr/include/r_range.h src/libr/range/range.c src/libr/vapi/r_cons.vapi src/libr/vapi/r_core.vapi src/libr/vapi/r_range.vapi src/libr/vapi/r_socket.vapi src/libr/vapi/r_syscall.vapi src/libr/vapi/t/Makefile src/libr/vapi/t/core.vala src/libr/vapi/t/hash.vala
description:
* Initial import of r_cons, r_range and r_core VAPI files
* Verboser TODO file
* Fix out of namespace range function
* Added Hello world test for vala-core
changeset: 861:281224e02f42
user: nibble
date: Thu Jan 29 10:49:27 2009 +0100
files: src/libr/asm/Makefile src/libr/asm/arch/arm/asm.c src/libr/asm/arch/mips/asm.c src/libr/asm/arch/ppc/asm.c src/libr/asm/arch/ppc/ppc_disasm/ppc_disasm.c src/libr/asm/arch/ppc/ppc_disasm/ppc_disasm.h src/libr/asm/arch/x86/asm.c src/libr/asm/asm.c src/libr/asm/t/Makefile src/libr/asm/t/disasm_ppc.c src/libr/bin/Makefile src/libr/include/r_asm.h src/libr/include/r_util.h src/libr/util/hex.c
description:
* r_asm
- Added ppc support
- Added test (disasm_ppc)
* r_util
- Minor fix
changeset: 860:996ef907bde5
user: nibble
date: Thu Jan 29 00:38:47 2009 +0100
files: src/libr/asm/Makefile src/libr/asm/arch/arm/asm.c src/libr/asm/arch/mips/asm.c src/libr/asm/arch/mips/gnu/ansidecl.h src/libr/asm/arch/mips/gnu/bfd.h src/libr/asm/arch/mips/gnu/bfdlink.h src/libr/asm/arch/mips/gnu/dis-asm.h src/libr/asm/arch/mips/gnu/elf-bfd.h src/libr/asm/arch/mips/gnu/elf/common.h src/libr/asm/arch/mips/gnu/elf/external.h src/libr/asm/arch/mips/gnu/elf/internal.h src/libr/asm/arch/mips/gnu/elf/mips.h src/libr/asm/arch/mips/gnu/elf/reloc-macros.h src/libr/asm/arch/mips/gnu/libiberty.h src/libr/asm/arch/mips/gnu/mips-dis.c src/libr/asm/arch/mips/gnu/mips-opc.c src/libr/asm/arch/mips/gnu/mips16-opc.c src/libr/asm/arch/mips/gnu/opcode/mips.h src/libr/asm/arch/mips/gnu/opintl.h src/libr/asm/arch/mips/gnu/symcat.h src/libr/asm/arch/mips/gnu/sysdep.h src/libr/asm/asm.c src/libr/asm/t/Makefile src/libr/asm/t/asm_x86.c src/libr/asm/t/disasm_arm.c src/libr/asm/t/disasm_mips.c src/libr/asm/t/disasm_x86.c src/libr/asm/t/rasm2.c src/libr/asm/t/realloc_x86.c src/libr/include/r_asm.h
description:
* r_asm
- Added mips support
- Added new test (disasm_mips)
- Minor fixups in arm
changeset: 859:01693373b933
user: pancake <youterm.com>
date: Thu Jan 29 01:25:55 2009 +0100
files: src/libr/bin/bin.c src/libr/core/Makefile src/libr/core/cmd.c src/libr/core/core.c src/libr/core/file.c src/libr/core/io.c src/libr/core/write.c src/libr/sign/sign.c src/libr/vapi/r_bin.vapi src/libr/vapi/r_core.vapi src/libr/vapi/r_io.vapi src/libr/vapi/t/Makefile
description:
* Initial vapi files for core, io and bin
* Added simple core vapi test program
changeset: 858:00abc72fdb25
user: pancake <@youterm.com>
date: Wed Jan 28 19:48:38 2009 +0100
files: Makefile.acr src/vars.c
description:
* Applied build and installation bugfix patch
- Thanks Mathias Krause!
changeset: 857:813ac0b0aa61
user: pancake <@youterm.com>
date: Wed Jan 28 19:14:07 2009 +0100
files: Makefile.acr configure configure.acr
description:
* Added 'make release'
* Upgrade to 1.2 O:)
changeset: 856:c2cf92963d1d
user: nibble
date: Wed Jan 28 14:12:15 2009 +0100
files: src/libr/asm/arch/x86/pseudo.c src/libr/asm/arch/x86/realloc.c src/libr/asm/asm.c src/libr/asm/t/disasm_arm.c src/libr/asm/t/disasm_x86.c src/libr/asm/t/realloc_x86.c src/libr/include/r_asm.h src/libr/include/r_util.h src/libr/util/file.c
description:
* r_util
- Added r_file_slurp_range
* r_asm
- Added callback support
- More refactoring
changeset: 855:df3f89356a12
user: pancake <@youterm.com>
date: Wed Jan 28 14:12:34 2009 +0100
files: src/libr/diff/diff.c src/libr/diff/t/radiff2.c src/libr/diff/t/test.c src/libr/include/r_diff.h
description:
* Structural changes in r_diff callback
- Feed it with a single structure instead of 6+2 args
- radiff2 output features less useless spaces
changeset: 854:d4bf592cbb65
user: pancake <youterm.com>
date: Wed Jan 28 12:41:52 2009 +0100
files: src/libr/diff/t/Makefile src/libr/diff/t/radiff2.c src/libr/include/r_sign.h src/libr/include/r_types.h src/libr/include/r_util.h src/libr/sign/Makefile src/libr/sign/sign.c src/libr/util/file.c
description:
* Added 'radiff2' test program for r_diff API
* Initial import of r_sign
* #define R_TRUE and R_FALSE for boolean
* r_file_slurp now returns file size as ut32
changeset: 853:f427cbc96173
user: pancake <youterm.com>
date: Wed Jan 28 11:45:28 2009 +0100
files: src/libr/Makefile src/libr/TODO src/libr/cmd/cmd.c src/libr/diff/Makefile src/libr/diff/diff.c src/libr/diff/t/Makefile src/libr/diff/t/test.c src/libr/include/r_diff.h src/libr/include/r_util.h src/libr/range/Makefile src/libr/util/Makefile src/libr/util/file.c src/libr/util/str.c src/rsc/pool/uncolor
description:
* Added 'r_diff'
- Initial api working
- Added test program
* TODO file for libr
* New stuff in r_util
- r_str_ichr (like a negated strchr)
- r_str_escape
- Added file stuff in r_util
(slurp, randomline, dump, rm)
* Added rsc uncolor
changeset: 852:17c9f42fc33a
user: pancake <@youterm.com>
date: Tue Jan 27 22:59:40 2009 +0100
files: src/libr/Makefile src/libr/vapi/t/crash-vala00.vala src/libr/vapi/t/search.vala
description:
* Build r_search by default
* vala/search example now uses a lambda
- remove crash.vala
changeset: 851:67023951771d
user: nibble
date: Tue Jan 27 22:55:53 2009 +0100
files: src/libr/asm/Makefile src/libr/asm/arch/x86/realloc.c src/libr/asm/asm.c src/libr/asm/t/Makefile src/libr/asm/t/realloc_x86.c src/libr/bin/bin.c src/libr/bin/elf.c src/libr/bin/t/Makefile src/libr/bin/t/scn_resize.c src/libr/include/r_asm.h src/libr/include/r_bin.h src/libr/include/r_bin_elf.h
description:
* r_asm
- Added parser "realloc" (doesn't work yet)
- Added test realloc_x86
* r_bin
- Added r_bin_resize_section (ELF)
- Improved r_bin_elf_resize_section
- Purged superfluous test
changeset: 850:a4e008698c6a
user: pancake <youterm.com>
date: Tue Jan 27 12:37:42 2009 +0100
files: src/libr/include/r_search.h src/libr/search/aes-find.c src/libr/search/search.c src/libr/search/stripstr.c src/libr/search/t/Makefile src/libr/search/t/test-str.c src/libr/search/t/test.c
description:
* Make strings_update work (R_SEARCH_STRING) method
- Added test program for searching strings
* Fix bug in aes-key-test algorithm for r_search
* Simplify some code in search.c by using hex.c
changeset: 849:f15ae0b87ed3
user: pancake <youterm.com>
date: Tue Jan 27 01:58:04 2009 +0100
files: src/libr/include/r_search.h src/libr/search/Makefile src/libr/search/aes-find.c src/libr/search/bytepat.c src/libr/search/search.c src/libr/search/stripstr.c src/libr/search/t/test.c src/libr/vapi/r_search.vapi src/libr/vapi/t/Makefile src/libr/vapi/t/crash-vala00.vala src/libr/vapi/t/search.vala
description:
* Initial working implementation of the search api
- New search engine using native structures (mybinparse)
- Integrate aes_update method
- pattern update not yet working
- string update callback is implemented but not tested
* Added vala api interface
- Use standard return values (1=true, 0=false)
- Added search hello world in vala
changeset: 848:3a9a2d68c7b3
user: nibble
date: Mon Jan 26 19:48:11 2009 +0100
files: src/libr/asm/arch/arm/asm.c src/libr/asm/arch/arm/gnu/arm-dis.c src/libr/asm/arch/arm/gnu/dis-asm.h src/libr/asm/arch/x86/pseudo.c src/libr/asm/asm.c src/libr/asm/t/disasm_arm.c src/libr/asm/t/disasm_x86.c src/libr/include/r_asm.h
description:
* r_asm
- Fix arm
- Some refactoring in tests
changeset: 847:a04143d2ef50
user: pancake <@youterm.com>
date: Mon Jan 26 16:59:28 2009 +0100
files: ChangeLog
description:
* Sync changelog for 1.2 release
changeset: 846:a4d83e09a192
user: pancake <@youterm.com>
date: Mon Jan 26 14:03:47 2009 +0100
files: src/libr/asm/arch/arm/asm.c src/libr/asm/arch/arm/gnu/arm-dis.c src/libr/asm/arch/x86/ollyasm/asmserv.c src/libr/asm/arch/x86/ollyasm/disasm.h src/libr/cmd/cmd.c src/libr/core/cmd.c src/libr/core/write.c src/libr/include/r_asm.h src/libr/include/r_macro.h src/libr/include/r_types.h src/libr/include/r_util.h src/libr/print/print.c src/libr/util/hex.c src/libr/util/str.c src/libr/vapi/r_asm.vapi src/libr/vapi/t/asm.vala src/rsc/pool/add src/rsc/pool/ffftoneg src/rsc/pool/move src/rsc/pool/strings-flag
description:
* Fix some warnings in libr
- Maybe ollydasm works fine now
* Added missing write.c file
* asm.vala test program is compiling now :)
* Use 'rax' instead of 'xc' in rsc pool
changeset: 845:7153fe12402a
user: pancake <youterm.com>
date: Mon Jan 26 13:58:56 2009 +0100
files: src/libr/core/Makefile src/libr/core/cmd.c src/libr/core/t/radare2.c src/libr/include/r_util.h
description:
* Added 'wo' comamnd to r_core_cmd
* Added 'wv' one
* Simplify help message in radare2
changeset: 844:32d6665be870
parent: 841:f901be9168fc
parent: 843:25ac60c5415e
user: pancake <youterm.com>
date: Mon Jan 26 00:40:37 2009 +0100
files: src/libr/asm/arch/x86/udis86/syn-pseudo.c
description:
* Merge
changeset: 843:25ac60c5415e
user: nibble
date: Sun Jan 25 12:19:14 2009 +0100
files: src/libr/asm/arch/x86/asm.c src/libr/asm/arch/x86/pseudo.c src/libr/asm/asm.c src/libr/asm/t/disasm_x86.c src/libr/include/r_asm.h
description:
* r_asm
- Add r_asm_parse
- Refactoring
changeset: 842:6834b2717a02
parent: 840:125a3bb07de0
user: nibble
date: Sun Jan 25 04:46:54 2009 +0100
files: src/libr/asm/Makefile src/libr/asm/arch/x86/asm.c src/libr/asm/arch/x86/pseudo.c src/libr/asm/arch/x86/udis86/extern.h src/libr/asm/arch/x86/udis86/syn-pseudo.c src/libr/asm/arch/x86/udis86/types.h src/libr/asm/asm.c src/libr/asm/t/disasm_arm.c src/libr/asm/t/disasm_x86.c src/libr/asm/t/rasm2.c src/libr/bin/t/Makefile src/libr/bin/t/rabin2.c src/libr/include/r_asm.h
description:
* r_asm
- Added parsing support
- Added parser "pseudo" (dirty copy&paste)
- Removed syntax "pseudo" from udis86
- Minor refactoring
- Minor fixups in rasm2
* rabin2 now uses r_num
changeset: 841:f901be9168fc
user: pancake <youterm.com>
date: Mon Jan 26 00:40:15 2009 +0100
files: src/libr/core/cmd.c src/libr/include/r_io.h src/libr/include/r_search.h src/libr/include/r_util.h src/libr/io/io.c src/libr/search/Makefile src/libr/search/binparse.c src/libr/search/search.c src/libr/search/stripstr.c src/libr/search/t/test.c src/libr/util/hex.c src/libr/util/str.c
description:
* Added some implementations for the write command in r_core
- w, ww, wx, wb, wm
- Added support for write binary mask to r_io_write
* Added slurp_random_line for r_util
- Added some hex2bin bin2hex helpers
* Added stripstr algorithm to r_search
- r_search is borken, needs a new binparse
changeset: 840:125a3bb07de0
user: pancake <youterm.com>
date: Sat Jan 24 22:47:41 2009 +0100
files: src/libr/core/cmd.c src/libr/include/r_search.h src/libr/search/search.c
description:
* Added fake commands 'w' and '/' in core
* Added mode search
changeset: 839:2816afbe6e3c
user: pancake <youterm.com>
date: Sat Jan 24 21:07:10 2009 +0100
files: src/libr/search/binparse.c src/libr/search/t/test.c
description:
* Fix segfault in test program of r_search
- First working version. API not yet stabilized
changeset: 838:9253acf8b6bc
user: pancake <youterm.com>
date: Sat Jan 24 20:57:15 2009 +0100
files: src/binparse.c src/libr/asm/t/asm_x86.c src/libr/asm/t/rasm2.c src/libr/include/r_search.h src/libr/search/Makefile src/libr/search/aes-find.c src/libr/search/binparse.c src/libr/search/bytepat.c src/libr/search/search.c src/libr/search/t/Makefile src/libr/search/t/test.c src/libr/util/num.c
description:
* Make r-search compile
- Much more work required :P
- Added a example test program that segfaults
- Added aes-search inside r_search (not yet integrated)
* Minor code indent for rasm2
changeset: 837:9a4387970e51
user: pancake <youterm.com>
date: Sat Jan 24 19:14:15 2009 +0100
files: src/libr/cons/cons.c src/libr/include/r_range.h src/libr/include/r_search.h src/libr/include/r_util.h src/libr/range/Makefile src/libr/range/range.c src/libr/search/Makefile src/libr/search/search.c src/libr/util/num.c
description:
* New libr module: "r_range"
- Needs some cleanup but it is almost defined
* Add r_cons_progressbar() to r_cons api
* Some more work on r_search refactoring
- Needs even more cleanup
- Not yet defined
- Lot of structures needs to change name
- Integrate bytepat and esteve's search engine
* Add r_num_minmax_swap helper in r_util
changeset: 836:cbd01aba74e2
user: nibble
date: Sat Jan 24 17:15:47 2009 +0100
files: src/libr/asm/arch/arm/asm.c src/libr/asm/arch/x86/asm.c src/libr/asm/asm.c src/libr/asm/t/Makefile src/libr/asm/t/asm_x86.c src/libr/asm/t/disasm_x86.c src/libr/asm/t/rasm2.c src/libr/bin/t/rabin2.c
description:
* r_asm
- Initial rasm2 implementation
- Minor bug fixing
- Remove unnecessary includes
changeset: 835:ba092ed637f0
user: nibble
date: Sat Jan 24 13:46:46 2009 +0100
files: src/libr/asm/arch/x86/asm.c src/libr/asm/asm.c src/libr/asm/t/Makefile src/libr/asm/t/asm_x86.c src/libr/asm/t/disasm_arm.c src/libr/asm/t/disasm_x86.c src/libr/asm/t/test_arm.c src/libr/asm/t/test_x86.c src/libr/bin/t/rabin2.c src/libr/include/r_asm.h
description:
* r_asm
- Add x86 assembly support using olly
- Add assembly test
* rabin2
- Aesthetic fixups
changeset: 834:fadf69282565
user: pancake <youterm.com>
date: Fri Jan 23 11:29:53 2009 +0100
files: src/libr/include/r_search.h src/libr/include/r_util.h src/libr/search/binparse.c src/libr/search/search.c src/libr/util/Makefile src/libr/util/hex.c
description:
* More work on r_search
- Not yet finished
changeset: 833:e291ca31ca35
user: pancake <youterm.com>
date: Thu Jan 22 22:04:05 2009 +0100
files: src/libr/core/t/radare2.c src/libr/include/r_vm.h src/libr/io/README src/libr/io/undo.c src/libr/io/undo.h src/libr/print/print.c src/libr/vm/extra.c src/libr/vm/mmu.c src/libr/vm/reg.c src/libr/vm/setup.c src/libr/vm/vm.c
description:
* Initial compilable version of r_vm
- Not yet tested
- Fix lot of warning messages
* Added undo.* in rio
- Not yet integrated
* Added lsbstego into r_print
changeset: 832:b8c90a3ad8f3
user: pancake <@youterm.com>
date: Thu Jan 22 19:53:14 2009 +0100
files: src/libr/include/r_vm.h src/libr/vm/Makefile src/libr/vm/extra.c src/libr/vm/mmu.c src/libr/vm/op.c src/libr/vm/reg.c src/libr/vm/setup.c src/libr/vm/stack.c src/libr/vm/vm.c
description:
* Lot of work on libr_vm
- Not yet usable, stills not compiling
- Major refactoring in C sucks :P
changeset: 831:3c1f91e2cd23
user: pancake <@youterm.com>
date: Thu Jan 22 11:51:05 2009 +0100
files: src/libr/core/cmd.c src/libr/core/core.c src/libr/core/t/radare2.c src/libr/macro/macro.c src/libr/util/str.c
description:
* Initial working implementation of macros
- Pointers required maybe needs a bit of work
* Check for ending '"' and ')' chars
- Properly parse commands starting with '"'
* Added -n flag to radare2
- Run ~/.radarerc by default
* Added r_str_home() helper
changeset: 830:55d688044fa3
user: pancake <youterm.com>
date: Thu Jan 22 11:57:54 2009 +0100
files: src/libr/core/cmd.c src/libr/core/core.c src/libr/core/t/Makefile src/libr/include/r_cons.h src/libr/include/r_core.h src/libr/include/r_print.h src/libr/include/r_vm.h src/libr/io/README src/libr/macro/macro.c src/libr/print/Makefile src/libr/print/format.c src/libr/print/print.c src/libr/vm/Makefile src/libr/vm/vm.c
description:
* Make the '.' command work happier
- Add support for .() to call macros
- Command '(' is now also working
- Needs some fun pointers to be properly initialized
* Added $$ and $b in r_num_callback
* Added pr in help
* Initial implementation of '#' using r_hash from core
* Initial import of r_vm
- Just c&p from r1..needs some work
changeset: 829:375a0e8afbe5
user: pancake <youterm.com>
date: Thu Jan 22 02:46:48 2009 +0100
files: src/libr/include/r_lib.h src/libr/lib/Makefile src/libr/lib/lib.c src/libr/lib/t/Makefile src/libr/lib/t/test-plugin.c
description:
* Major refactoring over the initial design
* Added support for destructors
- Some structure and field renamings
- More methods defined in .h
- Build with -Wall
- Optimization thru the use of pointers
- Needs another review for simplification
* Make the test program close and free all loaded
plugins before exiting
changeset: 828:e01213be6562
user: pancake <youterm.com>
date: Wed Jan 21 23:32:52 2009 +0100
files: src/libr/bin/t/rabin2.c src/libr/include/r_lib.h src/libr/lib/lib.c src/libr/lib/t/Makefile src/libr/lib/t/plugin.c src/libr/lib/t/test-plugin.c src/libr/stripsyms.sh
description:
* Fix stirpsyms for gentoo
* Some syntax fixups for rabin2
* Initial working implementation of r_lib
- Added a test program
- Pointer to internal data not yet working at all
changeset: 827:6969c38f1d27
user: nibble
date: Wed Jan 21 20:59:39 2009 +0100
files: src/libr/bin/bin.c src/libr/bin/elf.c src/libr/bin/elf64.c src/libr/bin/pe.c src/libr/bin/t/Makefile src/libr/bin/t/rabin2.c src/libr/include/r_asm.h src/libr/include/r_bin.h src/libr/include/r_bin_elf.h src/libr/include/r_bin_elf64.h src/libr/include/r_bin_pe.h src/libr/include/r_bin_pe_specs.h
description:
* Add radare output to rabin2
changeset: 826:4f3d7a3cf4d0
user: pancake <@youterm.com>
date: Tue Jan 20 20:10:14 2009 +0100
files: src/libr/Makefile src/libr/cons/cons.c src/libr/core/cmd.c src/libr/include/r_cons.h src/libr/print/print.c src/libr/stripsyms.sh
description:
* Add 'macro' in makefile build
* Initial nonworking and ugly implementation of cons_pipe
* Added r_cons_memcat and 'pr' command for r_print
changeset: 825:546ca0a46e75
user: nibble
date: Tue Jan 20 19:19:01 2009 +0100
files: src/libr/asm/Makefile src/libr/asm/arch/arm/asm.c src/libr/asm/arch/arm/gnu/ansidecl.h src/libr/asm/arch/arm/gnu/arm-dis.c src/libr/asm/arch/arm/gnu/bfd.h src/libr/asm/arch/arm/gnu/dis-asm.h src/libr/asm/arch/arm/gnu/symcat.h src/libr/asm/arch/x86/asm.c src/libr/asm/asm.c src/libr/asm/t/Makefile src/libr/asm/t/test.c src/libr/asm/t/test_arm.c src/libr/asm/t/test_x86.c src/libr/core/core.c src/libr/include/r_asm.h
description:
* r_asm
- Add initial arm support (needs more love)
- Add new tests
* r_core
- Remove unnecessary include
changeset: 824:863327273c45
user: nibble
date: Tue Jan 20 13:27:37 2009 +0100
files: src/libr/asm/Makefile src/libr/asm/arch/x86/asm.c src/libr/asm/arch/x86/udis86/syn-pseudo.c src/libr/asm/arch/x86/udis86/udcli/udcli.c src/libr/asm/t/test.c src/libr/core/cmd.c src/libr/core/core.c src/libr/core/t/Makefile src/libr/include/r_cons.h src/libr/include/r_core.h src/libr/include/r_flags.h src/libr/macro/Makefile src/libr/macro/macro.c src/libr/macro/macros.h
description:
* r_asm
- Add pseudo syntax using udis86
- Remove unnecessary files
* r_core
- Remove some warnings
- Partially Fix build
* r_macro
- Add Makefile
- Remove macros.h
changeset: 823:a1b09db6da5c
user: pancake <youterm.com>
date: Tue Jan 20 13:07:32 2009 +0100
files: src/libr/asm/asm.c src/libr/core/cmd.c src/libr/core/core.c src/libr/include/r_core.h src/libr/include/r_macro.h src/libr/macro/macro.c src/libr/macro/macros.h
description:
* Added dummy macro and interpret commands for r_core
* Initial implementation of r_macro
- Needs testing and integration with r_core
changeset: 822:16ef87931fdb
user: nibble
date: Tue Jan 20 11:59:53 2009 +0100
files: src/libr/asm/arch/x86/ollyasm/asmserv.c src/libr/asm/arch/x86/ollyasm/assembl.c
description:
* Ooops, add missing files
changeset: 821:51665340300f
user: nibble
date: Tue Jan 20 11:56:56 2009 +0100
files: src/libr/asm/Makefile src/libr/asm/arch/x86/asm.c src/libr/asm/arch/x86/ollyasm/disasm.c src/libr/asm/arch/x86/ollyasm/disasm.h src/libr/asm/asm.c src/libr/asm/t/test.c src/libr/include/r_asm.h
description:
* r_asm
- Add r_asm_free
- Add olly syntax for x86
- Huge dewarnification (olly code)
changeset: 820:5f9fa04311bc
user: nibble
date: Tue Jan 20 03:58:27 2009 +0100
files: src/libr/asm/arch/x86/asm.c src/libr/asm/asm.c src/libr/include/r_asm.h
description:
* Fix r_asm build O:-)
changeset: 819:f242a181f93a
user: nibble
date: Tue Jan 20 03:53:11 2009 +0100
files: src/libr/asm/arch/x86/asm.c src/libr/asm/asm.c src/libr/asm/t/test.c src/libr/core/cmd.c src/libr/include/r_asm.h
description:
* r_asm refactoring
changeset: 818:fb3f69373af5
user: pancake <youterm.com>
date: Tue Jan 20 04:55:02 2009 +0100
files: src/libr/vapi/r_asm.vapi src/libr/vapi/t/Makefile src/libr/vapi/t/asm.vala
description:
* Added r_asm vala api and test program
changeset: 817:26a9c7a6e782
user: pancake <youterm.com>
date: Tue Jan 20 04:21:17 2009 +0100
files: src/libr/Makefile src/libr/core/cmd.c src/libr/core/config.c src/libr/core/core.c src/libr/core/t/Makefile src/libr/core/t/radare2.c src/libr/flags/flags.c src/libr/include/r_config.h src/libr/include/r_flags.h
description:
* Lot of work on radare2 (libr based)
* Build r_asm by default
- Initial pd command working
* 'x' command accepts numeric argument
* 'f' command working, f+ for adding
* 'px-' shows hexdump without headers
* Make radare2 test program open multiple files
- Add -w and -e flags
* Add r_flag_list and ..unset
changeset: 816:10cac3656cf5
user: nibble
date: Tue Jan 20 03:01:03 2009 +0100
files: src/libr/asm/arch/x86/asm.c src/libr/asm/asm.c src/libr/asm/t/test.c src/libr/include/r_asm.h
description:
* Move buf_asm & buf_hex into r_asm_t
changeset: 815:817f2ba7ce1f
user: nibble
date: Tue Jan 20 02:44:28 2009 +0100
files: src/libr/asm/Makefile src/libr/asm/arch/x86/asm.c src/libr/asm/arch/x86/ollyasm/disasm.c src/libr/asm/arch/x86/ollyasm/disasm.h src/libr/asm/arch/x86/udis86/LICENSE src/libr/asm/arch/x86/udis86/README src/libr/asm/arch/x86/udis86/decode.c src/libr/asm/arch/x86/udis86/decode.h src/libr/asm/arch/x86/udis86/extern.h src/libr/asm/arch/x86/udis86/input.c src/libr/asm/arch/x86/udis86/input.h src/libr/asm/arch/x86/udis86/itab.c src/libr/asm/arch/x86/udis86/itab.h src/libr/asm/arch/x86/udis86/syn-att.c src/libr/asm/arch/x86/udis86/syn-intel.c src/libr/asm/arch/x86/udis86/syn.c src/libr/asm/arch/x86/udis86/syn.h src/libr/asm/arch/x86/udis86/types.h src/libr/asm/arch/x86/udis86/udcli/udcli.c src/libr/asm/arch/x86/udis86/udis86.c src/libr/asm/asm.c src/libr/asm/t/Makefile src/libr/asm/t/test.c src/libr/bin/t/rabin2.c src/libr/include/r_asm.h
description:
* x86 support for r_asm :)
changeset: 814:092c61e62303
user: pancake <youterm.com>
date: Tue Jan 20 03:11:09 2009 +0100
files: src/libr/config/config.c src/libr/core/cmd.c src/libr/core/config.c src/libr/core/visual.c src/libr/include/r_config.h src/libr/include/r_util.h src/libr/util/num.c
description:
* Lot of enhacements and new commands for radare2
- eval, flags, quit with args, !system, seek
- support for:
. internal grep ~
. temporary seek @
. internal cmd output subst ``
. conditional commands now supported
?? ?! ?+ ?- (==0, !=0, >0, <0)
- Added lot of help messages '?' everywhere
- Support repeat prefix for commands (3x)
- r_num_t now stores the comparision result
- Used for conditional
* Commands without arguments return numeric value
* Define MIN, MAX, LESSTHAN and GREATERTHAN defines
changeset: 813:3c35297f2e83
user: pancake <@youterm.com>
date: Mon Jan 19 19:03:33 2009 +0100
files: src/libr/README src/libr/cmd/cmd.c src/libr/cmd/t/Makefile src/libr/cmd/t/test.c src/libr/cons/cons.c src/libr/core/core.c src/libr/core/t/radare2.c src/libr/flags/flags.c src/libr/include/r_cmd.h src/libr/include/r_core.h src/libr/include/r_io.h src/libr/include/r_util.h src/libr/io/io.c src/libr/io/section.c src/libr/io/t/Makefile src/libr/io/t/read4.c src/libr/rules.mk src/libr/util/str.c src/libr/vapi/r_socket.vapi src/libr/vapi/t/socket.vala
description:
* Rewrite 'libr' README
* Add long command support for r_cmd
* Fix bug in r_core related to seeking
* Fix crash in r_flag_get
* Fix vala socket example
changeset: 812:7238036d3083
user: pancake <youterm.com>
date: Mon Jan 19 02:40:27 2009 +0100
files: src/libr/Makefile src/libr/print/Makefile
description:
* Build r_flags and r_print by default
changeset: 811:4d141b319960
user: pancake <youterm.com>
date: Mon Jan 19 02:38:11 2009 +0100
files: src/libr/include/r_cmd.h
description:
* Oops for r_cmd build
changeset: 810:038e7697fb89
user: pancake <youterm.com>
date: Mon Jan 19 02:34:57 2009 +0100
files: src/libr/vapi/r_socket.vapi src/libr/vapi/t/Makefile src/libr/vapi/t/socket.vala
description:
* Added socket example
- Crashing everytime
changeset: 809:7d75819b583b
user: nibble
date: Mon Jan 19 01:08:49 2009 +0100
files: src/libr/bin/bin.c src/libr/bin/t/Makefile src/libr/bin/t/rabin2.c src/libr/include/r_bin.h
description:
* Initial implementation of rabin2 using r_bin
changeset: 808:07b21a0c6224
user: pancake <youterm.com>
date: Mon Jan 19 02:11:07 2009 +0100
files: src/libr/cmd/cmd.c src/libr/cons/cons.c src/libr/core/Makefile src/libr/core/cmd.c src/libr/core/core.c src/libr/core/t/Makefile src/libr/core/t/radare2.c src/libr/core/visual.c src/libr/flags/Makefile src/libr/flags/flags.c src/libr/flags/name.c src/libr/flags/old_flags.c src/libr/flags/old_flags.h src/libr/include/r_cmd.h src/libr/include/r_core.h src/libr/include/r_flags.h src/libr/include/r_print.h src/libr/include/r_util.h src/libr/print/print.c src/libr/print/t/Makefile
description:
* Added null command callback for libr_cmd
* Added basic support for command preprocessing
- Supports '@' and '"'
- Temporally seek works fine
* Resolve numbers with flag names
- Enhacements for the r_flags library
- r_num_t is now initialized and used
* Added p8 and px commands
- Added r_print_bytes with format string
- Initial nonworking 'f' command
changeset: 807:3983b9bfb385
user: pancake <youterm.com>
date: Sun Jan 18 21:55:04 2009 +0100
files: doc/fortunes src/libr/Makefile src/libr/cmd/TODO src/libr/cmd/cmd.c src/libr/cmd/t/test.c src/libr/config/callback.c src/libr/config/config.c src/libr/cons/Makefile src/libr/cons/cons.c src/libr/cons/strsub.c src/libr/cons/t/Makefile src/libr/core/Makefile src/libr/core/cmd.c src/libr/core/config.c src/libr/core/core.c src/libr/core/file.c src/libr/core/t/Makefile src/libr/core/t/radare2.c src/libr/flags/Makefile src/libr/flags/flags.c src/libr/flags/old_flags.c src/libr/flags/old_flags.h src/libr/include/r_cmd.h src/libr/include/r_core.h src/libr/include/r_flags.h src/libr/include/r_radare.h src/libr/include/r_util.h src/libr/io/io.c src/libr/io/section.c src/libr/line/Makefile src/libr/line/dietline.c src/libr/line/t/Makefile src/libr/radare/Makefile src/libr/radare/radare.c src/libr/radare/t/Makefile src/libr/radare/t/radare2.c src/libr/util/str.c
description:
* Lot of work on libr
- Initial radare2 test program in libr/core/t
- Some basic commands (s, b, x, q)
- r_cmd is working .. needs support for long commands
- Lot of refactoring
* Remove r_radare .. moved into r_core
* Some recursive dependencies needs to be cleaned up
- r_cons is not depending on r_line
- uses dietline for everything (no readline for radare2)
* Link test programs against object archives (.a)
changeset: 805:16cd084fcda8
user: nibble
date: Sun Jan 18 02:04:23 2009 +0100
files: src/libr/asm/Makefile src/libr/asm/asm.c src/libr/bin/elf.c src/libr/include/r_asm.h
description:
* initial work on r_asm
changeset: 804:add36c5d9140
user: pancake <youterm.com>
date: Sun Jan 18 03:06:37 2009 +0100
files: src/libr/cmd/Makefile src/libr/cmd/cmd.c src/libr/cmd/t/Makefile src/libr/cmd/t/test.c src/libr/config.mk src/libr/core/core.c src/libr/include/r_cmd.h src/libr/include/r_cons.h src/libr/include/r_core.h src/libr/include/r_print.h src/libr/include/r_radare.h src/libr/include/r_types.h src/libr/io/handle.c src/libr/io/map.c src/libr/print/print.c src/libr/print/t/Makefile src/libr/print/t/hex.c src/libr/radare/Makefile src/libr/radare/radare.c src/libr/radare/t/radare2.c src/libr/rules.mk src/libr/util/Makefile src/libr/util/str.c
description:
* Initial implementation of r_cmd with test
* More work on r_radare and r_core
* Added r_print_hexdump to r_print
changeset: 802:d32bbdd45b32
user: pancake <@youterm.com>
date: Fri Jan 16 18:30:17 2009 +0100
files: src/libr/Makefile src/libr/include/r_util.h src/libr/util/Makefile src/libr/util/mem.c src/libr/util/num.c src/libr/util/re.c src/libr/util/t/Makefile src/libr/util/t/calc.c src/libr/util/t/test.c src/radare.c src/stripstr.c src/visual.c
description:
* Use portable flags for find(1) in libr make install
* Twice-ESC quits from visual-insert mode (thx mandingo)
* Added r_str_re for regular expression helpers
* Fixups for stripstr for ranges
- Starting getting hits from the begging
- Properly get hits of ascii outside the first block
- Rename 'unicode' as 'widechar'
changeset: 801:40754edd72c0
user: pancake <youterm.com>
date: Fri Jan 16 12:23:58 2009 +0100
files: src/libr/Makefile src/libr/line/dietline.c src/libr/util/mem.c
description:
* Better make install for libr
* Initial ^R support for r_line
changeset: 798:0dd3aa0480eb
user: pancake <youterm.com>
date: Fri Jan 16 04:17:44 2009 +0100
files: src/config.c src/libr/Makefile src/libr/include/r_util.h src/libr/util/Makefile src/libr/util/mem.c src/libr/util/num.c src/libr/util/str.c src/libr/util/t/calc.c src/libr/util/t/rax2.c src/radare.c src/ranges.c src/ranges.h src/search.c
description:
* New config key "search.inar"
- Search for /z and / /x .. using ranges defined by 'ar'
- Thanks mandingo again for the ideas!
* Added 'install' target for libr
- installed at /tmp/libr-install
- just for development
- Initial working version of 'rax2' using r_util
- Basic nested math expression support with ( and )
- Added test program with check failres for math exprs
changeset: 797:29bc0d2e8725
user: pancake <youterm.com>
date: Fri Jan 16 00:59:08 2009 +0100
files: src/cmds.c src/libr/include/r_core.h src/libr/include/r_radare.h src/libr/include/r_util.h src/libr/radare/t/Makefile src/libr/radare/t/radare2.c src/libr/util/num.c src/libr/util/str.c src/libr/util/t/Makefile src/libr/util/t/calc.c src/libr/util/t/rax2.c
description:
* Initial import of r_radare
* Added new command /v to search for values
- Little and big endian support
- Thanks mandingo for the idea! :)
* Enhacements for the r_util API
- stable numeric and string api
- needs more love
- Added some tests
- extensible state based get value function
* rax2 and radare2 will be implemented as test
programs for libr
changeset: 796:8b01b2397d20
user: pancake <youterm.com>
date: Thu Jan 15 11:45:19 2009 +0100
files: TODO src/libr/include/r_radare.h src/libr/io/README src/libr/io/desc.c src/libr/io/io.c src/libr/radare/Makefile src/libr/radare/radare.c src/vars.c
description:
* Some more work on the r_io module
* Initial import of r_radare module
- Will implement a full radare client into a library
- Small c program will be enought to implement radare2
* Pseudofix var_add_access recursivity bug
- Needs some love
changeset: 790:5726a923ccd1
user: pancake <youterm.com>
date: Wed Jan 14 01:42:04 2009 +0100
files: src/bytepat.c src/libr/search/bytepat.c
description:
* Apply esteve's patch for bytepat.c
- Do not show nested patterns (much more clean output :D)
- Some code cleanup
- Make use of search.from and search.to
- Control read errors
* Added bytepat into libr_search for future integration
changeset: 788:ac6937ff37cf
user: pancake <@youterm.com>
date: Tue Jan 13 13:47:29 2009 +0100
files: scripts/macros src/cons.c src/dietline.c src/libr/cons/cons.c
description:
* Added macro label example
* Added support for negative column indexing in cons_grep
- Shows column -N and the following
- Sync r_cons
* Drop label stuff for the basic shell
- Only works for macros
changeset: 781:de35b5e467a9
user: nibble
date: Fri Jan 09 15:36:33 2009 +0100
files: src/libr/bin/elf.c
description:
* More love and refactoring for the elf section resizer
changeset: 780:5b63ce2692f6
user: pancake <@youterm.com>
date: Fri Jan 09 14:47:48 2009 +0100
files: src/libr/bin/elf.c src/libr/bin/t/rsz_test.sh src/libr/cmd/cmd.c src/libr/config/callback.c src/libr/config/config.c src/libr/config/t/Makefile src/libr/config/t/test.c src/libr/core/core.c src/libr/include/r_config.h src/libr/include/r_io_section.h src/libr/include/r_util.h src/libr/io/section.c src/libr/util/num.c src/libr/util/str.c src/libr/vapi/r_config.vapi
description:
* Working implementation of the ELF section resizer
- Needs to be cleaned up (so many debug printfs everywhere)
* Fixups for the r_config library
- Less warnings
- Test program is now compiling and working
- r_util needs more love
- Added new/free interface for it
- vapi template for it (not yet done)
* Added rwx property to rio_sections
changeset: 779:4808a5aa94db
user: pancake <@youterm.com>
date: Fri Jan 09 13:04:16 2009 +0100
files: src/cmds.c src/libr/bin/elf.c src/libr/bin/t/data_resize.c src/libr/config/Makefile src/libr/config/callback.c src/libr/config/config.c src/libr/config/config.h src/libr/include/r_config.h src/libr/include/r_types.h src/rio.c src/section.h
description:
* Added documentation for the 'Sp' command
- rio_write_at checks for section perms before writing
- rio_write_at checks for undowrite config var
- RWX is now handled as in UNIX 4+2+1
* Fix type warnings in r_bin/elf.c
* Initial pseudo defined r_config API
- Lot of code cleanup has been done
- Needs more work
changeset: 778:24660d2b35a4
user: nibble
date: Fri Jan 09 10:15:11 2009 +0100
files: src/libr/bin/elf.c
description:
* r_bin_elf
- more work on resize_section
changeset: 777:cef58a465a52
user: nibble
date: Fri Jan 09 03:22:21 2009 +0100
files: src/libr/bin/bin.c src/libr/bin/elf.c src/libr/bin/t/Makefile src/libr/bin/t/baddr.c src/libr/bin/t/data_resize.c src/libr/bin/t/entry.c src/libr/bin/t/imports.c src/libr/bin/t/info.c src/libr/bin/t/scn_resize.c src/libr/bin/t/sections.c src/libr/bin/t/symbols.c src/libr/include/r_bin.h src/libr/include/r_bin_elf.h
description:
* r_bin_elf
- initial implementation of resize_section
changeset: 776:f481467caa56
user: pancake <youterm.com>
date: Fri Jan 09 02:04:16 2009 +0100
files: src/cmds.c src/libr/cmd/Makefile src/libr/cmd/cmd.c src/libr/config/Makefile src/libr/config/config.c src/libr/config/config.h src/libr/config/deprecated.c src/libr/core/Makefile src/libr/core/core.c src/libr/include/r_cmd.h src/section.c src/section.h
description:
* Added trash code into libr
* Added undocumented code in section.c for rwx perms
- Needs to be integrated
changeset: 773:df3a34f2b0f9
user: pancake <youterm.com>
date: Mon Jan 05 01:51:15 2009 +0100
files: src/libr/bin/elf.c src/rabin/aux.c src/rabin/dietelf.c src/rabin/dietelf.h src/rabin/rabin.c
description:
* Use LD_TRACE_LOADED_OBJECTS to get list of libraries
- Hacky but functional for mangled shoff bins
* Allow to load binaries where shoff is 0xffffffff
- Maybe we are ignoring another case..
changeset: 772:8380e8e20f08
user: pancake <youterm.com>
date: Mon Jan 05 01:18:51 2009 +0100
files: src/libr/bin/elf.c src/libr/include/r_types.h src/rabin/dietelf.c src/rabin/dietelf.h src/rabin/rabin.c
description:
* Make dietelf handle mangled elf headers
- Set shnum=0 if cannot read section headers
- Set phnum=0 if cannot read program headers
* Make rabin add ph and sh offsets
- Stored inside 'elf' flagspace
- Store offset of pointer and offset of struct
* Show file:line in perror() for libr
changeset: 768:63f0bf2fc4cf
user: pancake <@youterm.com>
date: Fri Jan 02 19:09:55 2009 +0100
files: src/libr/bin/t/symbols.c src/libr/include/r_socket.h src/libr/include/r_syscall.h src/libr/lib/lib.c src/libr/syscall/example.syscall-file src/libr/syscall/syscall.c src/libr/syscall/t/hello.c src/libr/vapi/r_socket.vapi src/libr/vapi/r_syscall.vapi src/libr/vapi/t/Makefile src/libr/vapi/t/hash.vala src/libr/vapi/t/hello.vala src/libr/vapi/t/sc.vala src/rax.c
description:
* Initial vapi implementation for r_syscall and r_socket
- Some minor refactoring to fit with gobject
- Added vala syscall example
* Final implementation for r_hash state calling conventions
- Fix hash example (now digest can be calculated once)
* Another minor code cleanup for rax(1)
changeset: 767:451e591e52c1
user: pancake <@youterm.com>
date: Fri Jan 02 17:49:52 2009 +0100
files: src/libr/hash/state.c src/libr/vapi/t/hello.vala src/rax.c
description:
* Make r_hash state api flush digest when init receives false and len is 0
- Sync example program
* 'rax' ends up with \n when '-' is given as arg
changeset: 766:a8fa52c02a9b
user: pancake <@youterm.com>
date: Fri Jan 02 15:11:27 2009 +0100
files: src/libr/hash/state.c src/libr/include/r_hash.h src/libr/syscall/darwin.o src/libr/syscall/freebsd.o src/libr/syscall/linux.o src/libr/syscall/netbsd.o src/libr/syscall/syscall.o src/libr/vapi/r_hash.vapi src/libr/vapi/t/hello.vala
description:
* Added init flag to r_hash state api
- Sync with vapi and example
- add Algorithm enum
* OMFG! There are bin objects in the repo!
changeset: 765:e34c1320b26c
user: pancake <@youterm.com>
date: Fri Jan 02 14:44:39 2009 +0100
files: src/libr/bin/Makefile src/libr/cons/Makefile src/libr/hash/Makefile src/libr/hash/init.c src/libr/hash/state.c src/libr/hash/t/hello.c src/libr/include/r_hash.h src/libr/io/Makefile src/libr/lib/Makefile src/libr/line/Makefile src/libr/rules.mk src/libr/socket/Makefile src/libr/stripsyms.sh src/libr/syscall/Makefile src/libr/vapi/r_hash.deps src/libr/vapi/r_hash.vapi src/libr/vapi/t/Makefile src/libr/vapi/t/hello.vala
description:
* Initial import of the vala api for r_hash
* Added stripsyms.sh helper to strip out-of-namespace symbols
for the different 'R' libraries. Used from rules.mk
* Some refactoring for r_hash has been done
changeset: 764:d600407b72a7
user: pancake <youterm.com>
date: Fri Jan 02 02:44:46 2009 +0100
files: src/libr/include/r_syscall.h src/libr/syscall/TODO src/libr/syscall/darwin.o src/libr/syscall/netbsd.o src/libr/syscall/syscall.c src/libr/syscall/syscall.o src/libr/syscall/t/hello.c
description:
* Make r_syscall API have a context argument
- Avoid static library configurations
changeset: 763:8a65d15c0bcf
user: pancake <youterm.com>
date: Fri Jan 02 02:29:01 2009 +0100
files: src/libr/hash/Makefile src/libr/hash/entropy.c src/libr/hash/hash.c src/libr/hash/init.c src/libr/hash/md4.c src/libr/hash/md5.h src/libr/hash/md5c.c src/libr/hash/sha1.c src/libr/hash/sha1.h src/libr/hash/sha2.c src/libr/hash/sha2.h src/libr/hash/t/hello.c src/libr/include/r_hash.h
description:
* Full implementation of r_hash api
- Standarized function groups into:
- checksumming, hashing and algorithm
- Needs code cleanup
- Test example now checks for the hashing api
changeset: 758:cac692f9f997
user: pancake <youterm.com>
date: Wed Dec 31 02:53:28 2008 +0100
files: src/libr/include/r_io_section.h src/libr/io/Makefile src/libr/io/io.c src/libr/io/section.c
description:
* Added vaddr/paddr support to r_io
- Also added support for sections
- Needs test
changeset: 730:0e9f21845b85
user: pancake <youterm.com>
date: Sat Dec 20 05:23:34 2008 +0100
files: TODO src/flags.c src/libr/config.mk src/libr/rules.mk src/libr/syscall/freebsd.o src/libr/syscall/linux.o src/vm.c
description:
* Added few default opcodes
* FLAGSPACES=32
changeset: 729:aae9ee1b4586
user: pancake <youterm.com>
date: Sat Dec 20 05:12:11 2008 +0100
files: src/section.c
description:
* Show ondisk section info in section list command
changeset: 728:3a8283fc8c51
user: pancake <youterm.com>
date: Sat Dec 20 05:05:34 2008 +0100
files: src/cmds.c src/libr/bin/pe.c src/rio.c src/section.c src/section.h src/vm.c
description:
* Added 'Sd' to define ondisk access offset for sections
- added 'ondisk' attribute
- Thanks esteve! :D
- On the way to fix the problems with PE RVA's
* rio.c: radare_seek now uses section-align before seeking
* Fix PE-THUMB problem in libr/bin
* Added support for 8,16,32,64 read and write eval operations
for the virtual machine.
> ave eax=[8:0x8048000]
changeset: 727:ec0af28a3d92
user: pancake <youterm.com>
date: Sat Dec 20 04:23:34 2008 +0100
files: Makefile.acr config.mk.acr configure configure.acr src/analyze.c src/cmds.c src/cons.c src/libr/cons/cons.c src/libr/syscall/freebsd.c src/libr/syscall/linux.c src/print.c src/rabin/dietpe.c src/readline.c src/vm.c src/vm.h tests/Makefile
description:
* Fix ${INSTALL} path problem (thanks erg0t)
* Added 'avo' command to manage opcodes
- add, list opcodes
- Allows to generate new userdefined opcodes
- Semi replaces the pas functionality
* Remove 'time' in tests/
* Fix greptoken bug f~[0] now works
* Make !bp autocomplete with flags (readline)
* Documentate the X format for pm command
* Fix THUMB PE binaries support for dietpe in rabin
changeset: 726:8f72dcbcc28e
user: pancake <@youterm.com>
date: Thu Dec 18 20:02:26 2008 +0100
files: src/code.c src/cons.c src/io.c src/libr/cons/cons.c src/libr/cons/strsub.c src/libr/include/r_io.h src/libr/io/io.c src/libr/io/map.c src/libr/line/TODO src/libr/syscall/darwin.o src/libr/syscall/freebsd.o src/libr/syscall/linux.o src/libr/syscall/netbsd.o src/libr/syscall/syscall.o src/visual.c
description:
* Added grepneg with ~! into cons and libr_cons
* Fix some signatures in r_io
- Added r_io_size() to return maximum size for a fd
* Added 'm' and ''' chars in visual like in vim (mark and go)
changeset: 725:102292b65b84
user: pancake <@youterm.com>
date: Thu Dec 18 17:28:24 2008 +0100
files: src/libr/Makefile src/libr/cons/cons.c src/libr/hash/Makefile src/libr/hash/t/Makefile src/libr/hash/t/hello.c src/libr/include/r_io.h src/libr/include/r_search.h src/libr/include/r_socket.h src/libr/include/r_syscall.h src/libr/include/r_types.h src/libr/io/Makefile src/libr/io/io.c src/libr/io/map.c src/libr/rules.mk src/libr/search/Makefile src/libr/search/search.c src/libr/socket/socket.c src/libr/syscall/darwin.c src/libr/syscall/freebsd.c src/libr/syscall/linux.c src/libr/syscall/netbsd.c src/libr/syscall/syscall.c src/radare.c
description:
* Create default ~/.radarerc if does not exists
- Thanks jfv for the tip :)
* Some build fixups on libr
- Added some missing include files
- Added test for r_hash using r_io
- Use -Wall by default
- Fix build for r_cons
* Initial dummy r_search interface (not yet implemented)
* Some redesign for r_syscall
changeset: 724:dd11208a4978
user: pancake <youterm.com>
date: Thu Dec 18 11:14:02 2008 +0100
files: src/libr/Makefile src/libr/config.mk src/libr/io_plugins/README src/libr/rules.mk src/libr/socket/Makefile src/libr/socket/socket.c src/libr/syscall/syscall.o src/libr/tests.mk
description:
* Added r_socket and r_io_plugins
* Dummy config.mk for libr
changeset: 721:a492cfcab48f
user: nibble
date: Wed Dec 17 14:00:57 2008 +0100
files: src/libr/bin/bin.c src/libr/bin/elf.c src/libr/bin/pe.c src/libr/bin/t/scn_resize.c src/libr/include/r_bin.h src/libr/include/r_bin_elf.h src/libr/include/r_bin_pe.h
description:
* r_bin
- Adds get_section_rva, useful for PE bins
* r_bin_elf, r_bin_pe
- Fixes minor bugs
- Minor refactoring
changeset: 720:73c29d2c53e0
user: pancake <@youterm.com>
date: Wed Dec 17 12:49:02 2008 +0100
files: doc/xtra/vmware-gdbwrap src/config.c src/dbg/system.c src/libr/bin/bin.c src/libr/bin/elf.c src/libr/bin/pe.c src/main.c src/radare.c
description:
* Added bouncer helper script for vmware debugging
* Added cfg.debug (can be changed in runtime :D)
- The -d flag is now just setting cfg.debug to true
- Any IO layer can be manually defined to be a debug
* Syntax and indent fixups for libr.bin
- Some minor cleanup and added few tips
changeset: 719:4d7b78dc02ae
user: nibble
date: Wed Dec 17 03:23:50 2008 +0100
files: src/libr/bin/bin.c src/libr/bin/elf.c src/libr/bin/t/Makefile src/libr/bin/t/info.c src/libr/bin/t/scn_resize.c src/libr/include/r_bin.h src/libr/include/r_bin_elf.h
description:
* r_bin
- Adds get_section_size and get_section_offset
- Adds "class" in r_bin_info
- Dummy section resizing example using libr_bin
* r_bin_elf
- Minor refactoring
changeset: 718:9e7b0d94efbc
user: nibble
date: Wed Dec 17 01:10:30 2008 +0100
files: src/libr/bin/bin.c src/libr/bin/pe.c src/libr/bin/t/Makefile src/libr/bin/t/info.c src/libr/bin/t/sections.c src/libr/include/r_bin.h src/libr/include/r_bin_pe.h
description:
* libr_bin
- Add get_info function
- Add examples
changeset: 706:4954519ffc86
user: pancake <youterm.com>
date: Mon Dec 08 04:34:51 2008 +0100
files: src/libr/Makefile src/libr/syscall/Makefile src/libr/syscall/TODO src/libr/syscall/darwin.c src/libr/syscall/darwin.o src/libr/syscall/freebsd.c src/libr/syscall/freebsd.o src/libr/syscall/linux.c src/libr/syscall/linux.o src/libr/syscall/netbsd.c src/libr/syscall/netbsd.o src/libr/syscall/syscall.c src/libr/syscall/syscall.o src/libr/syscall/t/Makefile src/libr/syscall/t/hello.c
description:
* Initial import of libr.syscall
- Stable api for getting information from
syscall numbers and strings
- Should be used from the core and the debugger
- Added test program
changeset: 699:649c89c9109e
user: pancake <@youterm.com>
date: Thu Dec 04 16:22:38 2008 +0100
files: src/cmds.c src/config.c src/cons.c src/libr/cons/cons.c src/rio.c src/undo.c
description:
* Initial implementation of 'wm'
- Binary write mask (f.ex: wm ff00ff)
* Added file.undowrite toggle to disable undos
* Merged grepcounter into libr.cons
changeset: 697:aa11fbcb3f63
user: nibble
date: Thu Dec 04 01:39:25 2008 +0100
files: src/libr/bin/elf.c
description:
* r_bin_elf
- fix r_bin_elf_get_symbols
changeset: 692:2e9fdc583d27
user: pancake <@youterm.com>
date: Tue Dec 02 19:59:47 2008 +0100
files: src/cmds.c src/config.c src/dbg/arch/i386.c
description:
* Added 'dbg.btlast' to avoid ultra-large backtraces
* Use graph.depth only for 'ac', not for a*
changeset: 691:48d476760ad7
user: pancake <@youterm.com>
date: Mon Dec 01 19:46:14 2008 +0100
files: src/hist.c src/libr/cons/Makefile src/libr/cons/cons.c src/libr/cons/strsub.c src/libr/cons/t/hello.c src/libr/include/r_cons.h src/libr/include/r_line.h src/libr/line/Makefile src/libr/line/TODO src/libr/line/dietline.c src/libr/line/dietline.h src/libr/line/t/Makefile src/libr/line/t/hello.c src/libr/rules.mk src/libr/tests.mk src/objects.mk src/ranges.c src/ranges.h src/utils.c src/wscript_build
description:
* Remove unused/deprecated hist.c
* Fix ignored error for libr
* Initial working implementation of r_cons and r_line
- Added hello world examples for both
- r_line depends on r_cons
- r_cons is independent
- We need to optionally link against readline
* Some minor fixups for ar command
- arm -> merge ranges
- fixups for ranges_sub
- str_grep is now handling '*' endchar
changeset: 690:e8211d1a6dc8
user: nibble
date: Mon Dec 01 13:16:36 2008 +0100
files: src/libr/bin/Makefile src/libr/bin/bin.c src/libr/bin/dietelf.c src/libr/bin/dietelf64.c src/libr/bin/dietpe.c src/libr/bin/elf.c src/libr/bin/elf64.c src/libr/bin/pe.c src/libr/bin/t/sections.c src/libr/include/r_bin.h src/libr/include/r_bin_dietelf.h src/libr/include/r_bin_dietelf64.h src/libr/include/r_bin_dietelf_static.h src/libr/include/r_bin_dietelf_types.h src/libr/include/r_bin_dietpe.h src/libr/include/r_bin_dietpe_static.h src/libr/include/r_bin_dietpe_types.h src/libr/include/r_bin_elf.h src/libr/include/r_bin_elf64.h src/libr/include/r_bin_elf_specs.h src/libr/include/r_bin_pe.h src/libr/include/r_bin_pe_specs.h src/libr/rules.mk
description:
* r_bin
- r_bin_dietelf -> r_bin_elf
- r_bin_dietpe -> r_bin_pe
- merge headers
* libr
- fix .a generation
changeset: 689:af97306bf150
user: pancake <@youterm.com>
date: Mon Dec 01 11:08:31 2008 +0100
files: src/libr/Makefile src/libr/bin/Makefile src/libr/bin/bin.c src/libr/bin/dietelf.c src/libr/bin/dietelf64.c src/libr/bin/dietpe.c src/libr/bin/t/Makefile src/libr/bin/t/baddr.c src/libr/bin/t/entry.c src/libr/bin/t/imports.c src/libr/bin/t/sections.c src/libr/bin/t/symbols.c src/libr/include/r.h src/libr/include/r_bin.h src/libr/include/r_bin_dietelf.h src/libr/include/r_bin_dietelf64.h src/libr/include/r_bin_dietelf_static.h src/libr/include/r_bin_dietelf_types.h src/libr/include/r_bin_dietpe.h src/libr/include/r_bin_dietpe_static.h src/libr/include/r_bin_dietpe_types.h src/libr/include/r_bin_elf.h src/libr/include/r_bin_pe.h
description:
* Import r_bin library patch from Nibble
- Mostly working implementation for ELF32/64 and PE
- Added some usage examples
changeset: 670:9d055a107f4f
user: pancake <youterm.com>
date: Tue Nov 25 10:59:55 2008 +0100
files: src/cons.c src/cons.h src/libr/cons/TODO src/libr/cons/cons.c src/libr/cons/t/Makefile src/libr/cons/t/hello.c src/libr/include/r_cons.h src/libr/include/r_util.h src/libr/rules.mk src/libr/tests.mk src/libr/util/Makefile src/libr/util/mem.c src/libr/util/num.c src/libr/util/str.c src/libr/util/string.c src/macros.c src/radare.c
description:
* r_cons initial build
- Some more refactoring needed
- Depends on libr_util
* Add tests.mk to ease tests build
* Fix build for libr_util
* Use ',' as separator for oneliner macros
- Fix infinite loop bug in macros_add when replacing a macro
changeset: 668:59151080af34
user: pancake <youterm.com>
date: Tue Nov 25 03:39:42 2008 +0100
files: src/code.h src/config.c src/cons.c src/cons.h src/visual.c
description:
* Major refactoring and optimizations for cons.c
- Prepared to be moved into libr!
- Externalize config_ stuff to avoid excessive linkedlist abuse
- Make cons_print_real work with buffer_len
- Remove strcat! use hand-made memcpy version (speed++)
- Recicle vsnprintf return values to get length
- More optimal management of console buffer allocation
- Avoid strlen as much as possible
- Remove noisy code
* Fix scrseek to _always_ seek to scr.seek
changeset: 629:ff0ba4b31d2c
user: pancake <youterm.com>
date: Sat Nov 15 15:49:16 2008 +0100
files: src/libr/Makefile src/libr/include/r_lib.h src/libr/lib/Makefile src/libr/lib/lib.c src/libr/rules.mk
description:
* Initial import of libr_lib for portable dynlib support
changeset: 628:13a23cec2a23
user: pancake <youterm.com>
date: Sat Nov 15 15:06:42 2008 +0100
files: src/libr/include/r_io.h src/libr/include/r_types.h src/libr/io/handle.c src/libr/io/io.c src/libr/io/map.c src/libr/io/t/Makefile src/libr/io/t/cat.c src/libr/rules.mk
description:
* Initial full implementation of libr_io
- Implements a full handle plugin
- Adds per-plugin handled file-descriptor list
- Adds cache for plugins use
- Add test example program ('cat' using r_io)
- Cache last seek information
- Build libs using -fPIC to avoid data relocations
changeset: 627:6ca6bc467e85
user: pancake <@youterm.com>
date: Fri Nov 14 19:28:43 2008 +0100
files: src/cmds.c src/libr/hash/rahash.c src/libr/hash/sha1.c
description:
* Add 'wt' dummy command
* Some indent for libr_hash
changeset: 626:da1f0c2f2a74
user: pancake <@youterm.com>
date: Fri Nov 14 16:18:53 2008 +0100
files: src/dbg/close.c src/libr/Makefile src/libr/include/list.h src/libr/include/r.h src/libr/include/r_io.h src/libr/include/r_util.h src/libr/io/Makefile src/libr/io/handle.c src/libr/io/io.c src/libr/io/map.c src/libr/line/dietline.c src/libr/util/Makefile src/libr/util/mem.c src/libr/util/num.c src/libr/util/string.c src/plugin.c src/print.c src/utils.c
description:
* Initial import of libr_util
* Some more work on libr
changeset: 625:9a82e506b5b1
user: pancake <@youterm.com>
date: Fri Nov 14 12:30:01 2008 +0100
files: TODO src/code.c src/libr/Makefile src/libr/README src/libr/cons/Makefile src/libr/cons/cons.c src/libr/hash/Makefile src/libr/hash/crc16.c src/libr/hash/crc32.c src/libr/hash/crc32.h src/libr/hash/crca.c src/libr/hash/entropy.c src/libr/hash/hamdist.c src/libr/hash/hash.c src/libr/hash/hash.h src/libr/hash/md4.c src/libr/hash/md5.h src/libr/hash/md5c.c src/libr/hash/rahash.c src/libr/hash/sha1.c src/libr/hash/sha1.h src/libr/hash/sha2.c src/libr/hash/sha2.h src/libr/include/r_cons.h src/libr/include/r_hash.h src/libr/include/r_io.h src/libr/include/r_print.h src/libr/include/r_types.h src/libr/io/Makefile src/libr/io/handle.c src/libr/io/io.c src/libr/line/Makefile src/libr/line/TODO src/libr/line/dietline.c src/libr/line/dietline.h src/libr/print/Makefile src/libr/print/print.c src/libr/rules.mk src/main.h src/print.c src/rabin/dietmach0.c src/rabin/dietpe.c src/rahash/md5c.c src/visual.c
description:
* Initial import of libr
- libr is composed by multiple sublibs
- libr_hash fully implemented
* io, hash, line, print, asm...
* Some syntax fixups for dietmach0 and dietpe
* Oops for px % (15 -> 16)