Commit Graph

545 Commits

Author SHA1 Message Date
pancake
d3e6e6f2ec * Fix negative offsets in memory addressing opcodes
for udis86 disassembly for intel and at&t syntaxes
* Show olly disasm widespaced
2010-03-19 02:29:52 +01:00
pancake
b8c3a23892 * Rename dbg.dwarf into asm.dwarf
- Display source lines at right of opcodes
* Rename asm.reflines* into asm.lines*
  - asm.lineswide = false by default
2010-03-19 01:45:52 +01:00
pancake
668a77f7ee * Initial import of the vAVR Atmel disassembler
- Works, but has not yet been tested with real code
  - Code analysis not yet implemented
  - Compiled by default
2010-03-19 00:51:16 +01:00
Nibble
dba665549b * r_bin_elf
- Fix bug with big endian
* r_num
  - Update r_mem_copyendian call
2010-03-19 00:36:28 +01:00
pancake
d6125712b5 * Add some missing methods in some vapis for valaswig
* Merge r_macro inside r_cmd
  - Rename RCommand to RCmd
* Propagate LIL_ENDIAN in userconf.h.acr
* Simplify configure script in swig/
  - valaswig is now mandatory
* Add 'st.fastcall' examples.

--HG--
rename : libr/macro/macro.c => libr/cmd/macro.c
2010-03-18 22:22:21 +01:00
Nibble
49f977a696 * r_bin
- Add support for reading/removing rpath to r_bin_elf
  - Add r_bin_wr_rpath_del
  - Un-R_API r_bin_elf
  - Add rpathdel.c into bin/t/
2010-03-16 02:24:12 +01:00
Nibble
385abb8a68 * Merge 2010-03-15 19:48:07 +01:00
Nibble
e834fc9c9b * r_anal
- Fix aop->addr asignment in plugins
* r_core
  - Add commands 'agl' and 'agfl' that output graphs with meta-data
2010-03-15 19:47:26 +01:00
pancake
7bc94f34c4 * Oops. missing DESTDIR for perl 2010-03-15 18:06:42 +01:00
pancake
99533607a0 * Apply some fixes of packaging bugs notified by debian
- Fix warnings in manpages
  - Fix install path of perl5 and python2.5 and 2.6 bindings
  - Fix make uninstall in r2-swig
  - Add -soname to libr2.so
  - Do not build/install swig from r2
2010-03-15 17:15:48 +01:00
pancake
76a22ef18e * Remove deprecated r_meta.pc
* Use RMemoryPool and RList in RSearch
  - Store hits in RList if no callback defined
* Fix constructor of r_mem_pool if alloc fails in init
* Remove unused file from search/ binparse.c
2010-03-15 10:46:41 +01:00
Nibble
8fcf6de02f * bindings
- Fix vapi installation path
2010-03-15 01:30:05 +01:00
pancake
9e8f0be91b * Do not use version numbering in library names
* Remove DESTDIR in swig/config.mk.acr
2010-03-14 22:19:58 +01:00
pancake
719379ac8f * Oops 2010-03-14 22:15:18 +01:00
pancake
dc4f0267df * Oops. fix configure script 2010-03-14 22:01:13 +01:00
pancake
d323a1bf7e * Add configure script 2010-03-14 21:53:22 +01:00
pancake
d11fbb69ec * Fix build of r2-swig out of root tarball 2010-03-14 19:49:43 +01:00
pancake
0b0887d48f * Move vapi directory into swig/
- Two splitted distribution files:
    - radare2 and radare2-swig
    - Making it more debian friendly for packaging

--HG--
rename : libr/vapi/libr.deps => swig/vapi/libr.deps
rename : libr/vapi/libr.vapi => swig/vapi/libr.vapi
rename : libr/vapi/r_anal.vapi => swig/vapi/r_anal.vapi
rename : libr/vapi/r_asm.vapi => swig/vapi/r_asm.vapi
rename : libr/vapi/r_bin.deps => swig/vapi/r_bin.deps
rename : libr/vapi/r_bin.vapi => swig/vapi/r_bin.vapi
rename : libr/vapi/r_bp.vapi => swig/vapi/r_bp.vapi
rename : libr/vapi/r_config.vapi => swig/vapi/r_config.vapi
rename : libr/vapi/r_cons.vapi => swig/vapi/r_cons.vapi
rename : libr/vapi/r_core.vapi => swig/vapi/r_core.vapi
rename : libr/vapi/r_crypto.vapi => swig/vapi/r_crypto.vapi
rename : libr/vapi/r_db.vapi => swig/vapi/r_db.vapi
rename : libr/vapi/r_debug.deps => swig/vapi/r_debug.deps
rename : libr/vapi/r_debug.vapi => swig/vapi/r_debug.vapi
rename : libr/vapi/r_diff.vapi => swig/vapi/r_diff.vapi
rename : libr/vapi/r_hash.vapi => swig/vapi/r_hash.vapi
rename : libr/vapi/r_io.deps => swig/vapi/r_io.deps
rename : libr/vapi/r_io.vapi => swig/vapi/r_io.vapi
rename : libr/vapi/r_lang.vapi => swig/vapi/r_lang.vapi
rename : libr/vapi/r_lib.vapi => swig/vapi/r_lib.vapi
rename : libr/vapi/r_line.vapi => swig/vapi/r_line.vapi
rename : libr/vapi/r_parse.vapi => swig/vapi/r_parse.vapi
rename : libr/vapi/r_reg.vapi => swig/vapi/r_reg.vapi
rename : libr/vapi/r_search.vapi => swig/vapi/r_search.vapi
rename : libr/vapi/r_socket.vapi => swig/vapi/r_socket.vapi
rename : libr/vapi/r_syscall.vapi => swig/vapi/r_syscall.vapi
rename : libr/vapi/r_util.vapi => swig/vapi/r_util.vapi
rename : libr/vapi/t/Makefile => swig/vapi/t/Makefile
rename : libr/vapi/t/array.vala => swig/vapi/t/array.vala
rename : libr/vapi/t/asm.gs => swig/vapi/t/asm.gs
rename : libr/vapi/t/asm.vala => swig/vapi/t/asm.vala
rename : libr/vapi/t/bin.vala => swig/vapi/t/bin.vala
rename : libr/vapi/t/bintest.vala => swig/vapi/t/bintest.vala
rename : libr/vapi/t/core.vala => swig/vapi/t/core.vala
rename : libr/vapi/t/db.vala => swig/vapi/t/db.vala
rename : libr/vapi/t/hash.vala => swig/vapi/t/hash.vala
rename : libr/vapi/t/io.vala => swig/vapi/t/io.vala
rename : libr/vapi/t/lang.vala => swig/vapi/t/lang.vala
rename : libr/vapi/t/list.vala => swig/vapi/t/list.vala
rename : libr/vapi/t/list.vapi => swig/vapi/t/list.vapi
rename : libr/vapi/t/regs.vala => swig/vapi/t/regs.vala
rename : libr/vapi/t/sc.vala => swig/vapi/t/sc.vala
rename : libr/vapi/t/search.gs => swig/vapi/t/search.gs
rename : libr/vapi/t/search.vala => swig/vapi/t/search.vala
rename : libr/vapi/t/socket.vala => swig/vapi/t/socket.vala
2010-03-14 19:36:44 +01:00
pancake
3159638cf0 * Install test programs in $pfx/lib/radare2/test 2010-03-14 18:44:47 +01:00
pancake/n900
4f3e432d46 * Remove unused include files
* Add LGPL license message in root directory
* Fix linkage of debug/p/gdb
2010-03-14 18:50:17 +01:00
pancake/n900
3d01fa8225 * Fix some issues on the build linkage 2010-03-14 18:06:21 +01:00
Nibble
8dbe94a86d * r_bin
- Fix bug resolving imports addresses
2010-03-14 06:19:28 +01:00
Nibble
9379bdbb29 * r_asm
- More fixes and refactoring in r_asm_massemble loop
2010-03-14 05:16:35 +01:00
pancake
b3a224fbbb * Some changes and fixes for the build of swig
- Thanks sre
  - 'make swig-install' is the way to go :)
2010-03-14 00:36:55 +01:00
pancake
1ca2b661df * Some more fixes for python bindings 2010-03-13 22:36:04 +01:00
Nibble
ed94bdcb14 * r_bin
- Add helpers for info->dbg_info
* vapis
  - Add r_hex_* stuff to r_util.vapi under RHex
  - Update r_bin.vapi
* bindings
  - Add target "install-lua" to Makefile
2010-03-13 20:25:03 +01:00
Nibble
400cc2f2d3 * r_asm
- Fix bug with forward-declared labels
2010-03-13 16:35:18 +01:00
Nibble
fe059d3ee2 * r_asm
- Fix offset bug in r_asm_massemble
2010-03-13 14:21:50 +01:00
Nibble
379128a1a5 * Swig
- Fix ruby installation path
  - Include global.mk and user-config.mk in Makefile
2010-03-13 13:09:44 +01:00
pancake
0b8683bb18 * Fix build 2010-03-12 19:51:07 +01:00
pancake
9a58112397 * Fix swig bindings
- Fix python installation
2010-03-12 19:33:56 +01:00
pancake
da9c4a21c4 * Remove debug printf in elf.c
* Oops. add missing trace.c
* Remove trash from old trace
2010-03-12 19:11:43 +01:00
pancake
3da650d4b1 * Write and install manpages
* Merge r_trace into r_debug (RDebugTrace)
  - Implement 'dt' command to manage debugging traces
  - TODO: Track register values and memory changes
  - Added dbg.trace and dbg.trace.tag
* Added r_sys_now() to retrieve ut64 value of current time
  - Must check endianness issues
* Initial work trying to implement RPATH support to ELF
* Less flat command tree
  - 'dt' is now 'dbt'
  - 'dk' is now 'dpk'
* Some more random syntax cleanup fixes
* Say 'yes/no' instead of 'ok/fail' in check-langs script
2010-03-12 18:46:11 +01:00
Nibble
d69f391175 * r_core_anal
- Avoid duplicated functions
2010-03-12 16:52:20 +01:00
Nibble
9af6794cec * Rename MALLOC_STRUCT into R_NEW and deprecate it. 2010-03-12 13:35:10 +01:00
Nibble
b9ec80b4b2 * rabin2
- Remove af+ commands from 'rabin2 -r' output
  - Use 'af @@ fcn.' from r2 instead
2010-03-12 13:17:48 +01:00
Nibble
21add09f5d * r_anal
- Fix local var / arg analysis
  - Add some opcodes to p/anal_x86.c
* r_util
  - Add macro r_num_abs
2010-03-12 12:15:35 +01:00
Nibble
e12bcd1f3b * r_core_anal
- List vars in 'afl' output
* r_anal
  - Add r_anal_var_type_to_str
  - Use hex delta in var names
2010-03-12 11:07:05 +01:00
Nibble
6d7184a1d6 * Build
- Remove r_var from libr.pc.acr
* r_anal
  - Rename the var typename to name in order to avoid problems
    with the c++ code generated by swig
2010-03-12 03:24:38 +01:00
Nibble
9a1f1bc44c * r_anal
- Split anal.c in several files
    (bb.c, aop.c, var.c...)
2010-03-12 03:05:20 +01:00
Nibble
071aaf0a4e * r_anal
- More work on r_anal_var API
  - Initial working implementation of r_anal_var
  - Avoid duplicated refs
2010-03-12 02:45:24 +01:00
pancake
5b61f167c2 * Remove r_var from configure script 2010-03-11 20:53:23 +01:00
Nibble
57be33ff76 * Build
- Remove remaining r_var.pc.acr
  - Remove references to r_var from configure.acr
* r_anal
  - More work on r_anal_var_*
2010-03-11 19:52:05 +01:00
Nibble
d05b0fedf4 * r_anal
- Initial work in var analysis
  - Move r_var into r_anal
* r_var
  - Removed

--HG--
rename : libr/var/var.c => libr/anal/var.c
2010-03-11 17:19:33 +01:00
Nibble
ca66fe440d * r_util
- Fix r_buf_write_at
* r_bin
  - Some fixups in section resize (now is fully working)
  - Minor r_bin_wr_output refactoring
2010-03-11 13:18:49 +01:00
Nibble
423d6a75f4 * r_bin
- More work on r_bin write
  - Add elf & elf64 section resize
    Needs refactoring and split into basic operations
* rabin2
  - Rename flag -o to -O for operations
  - Add flag -o for output file
  - Add resize operation (-O r/.data/1024) for testing purposes
2010-03-11 02:14:34 +01:00
pancake
b65fbeb772 * Add some missing function signatures
- Fixes some warnings
* Select thread that returns the wait()
  - Useful for multi-threaded or multi-process debugging
2010-03-11 01:04:59 +01:00
pancake
7572171516 * Add dbg.stopthreads configuration variable
- Stop all threads by default when a breakpoint is handled
2010-03-11 00:51:32 +01:00
pancake
f00bf9495e * Implement basic thread list and attach support
- Implement 'dt' command
  - Allows to list threads of specified pid or current one
    - Only for linux atm
  - Tricky non-intrusive way to get threads for pid
* libr/th/t/test.c is now helpful for debugging threads
* Threads are not stopped when the debugger breaks
2010-03-11 00:29:36 +01:00
pancake
4726b8f3d8 * Do not install lib/t/plugin.so as a library 2010-03-10 17:21:20 +01:00