Commit Graph

613 Commits

Author SHA1 Message Date
pancake
ed7fd90fee * Fix linking in r_core in r2-swig 2010-04-11 21:20:32 +02:00
pancake
51007d2880 * Check for 'libr' pkgconfig in r2-swig configure
- Needs acr-head (PKGCFG!)
2010-04-11 20:50:07 +02:00
Nibble
b95e8ae265 * Fix bug in r_io_seek related to va 2010-04-11 13:48:16 +02:00
pancake
9add8fe3d9 * Add 'dpf' command to set pid=core.file.fd
* When cfg.debug=true use dbg.backend ("native")
  and select core.file.fd.. this simplifies use
2010-04-11 01:46:07 +02:00
pancake
75d58c0176 * Added script to generate graphs from loc statistics
- http://radare.org/get/r2cdg.jpg
  - http://radare.org/get/r2clg.jpg
2010-04-09 17:51:03 +02:00
pancake
96bf343a4b * Added doodle results in main TODO file
* Added r_flags.vapi in r2-swig
  - Add example usage
  - Add missing r_core.deps
    - There are some bugs there while accessing inner fields of RCore :/
2010-04-09 17:13:35 +02:00
pancake
373a3db8b7 * Implement r_lang_setup for python
- Setups RCore, int or string types
* Added r_core_cast() static method
  - Helper for swig magic
  - Allows to cast C pointers into python instances
* Fix EOF issue in #!<lang>
* Fix and sync r2-swig vapis
2010-04-09 15:57:22 +02:00
pancake
d468580c3c * Fix one-byte overflow in r_cons_memcat
* Fix flagSort command (fS)
  - sort by name is now done by strcmp
  - str_hash and str_hash64 are not enought
* Use r_cons in flag/t .. we must drop this dependency
* Add 'all-flagspaces' entry in Vt menu
  - When switching back to visual mode, the
    print mode is not lost
* Some code cleanup
2010-04-09 13:24:40 +02:00
pancake
db3aa272b0 * Add 0xeb (short jmp) in modify asm x86 plugin
* Add help for 'fs' command
* Added 'fS' command to sort by offset (fSo) or name (fSn)
  - Current r_flag_sort breaks the linkedlist
2010-04-09 11:32:17 +02:00
pancake
f5bf177c60 * Implement r_asm_modify
- wA command is used to Alter opcodes (move to r_anal?)
  - allows to modify various opcode instructions
* Add search.distance config variable
2010-04-09 00:52:38 +02:00
pancake
f499ca67e7 * Added 'f' type of signature
- Used to determine function preludes
  - On x86: "zf prelude 5589e5"
    - we can probably merge this type into a formattable
      zignature named
  - Remove old code in sign.c
2010-04-08 18:48:39 +02:00
Nibble
9207ece839 * Fix segfault printing big buffers
* Modify r_anal_reflines_str to return char*
2010-04-08 18:29:46 +02:00
pancake
a358d38e50 * Added support for binarymask hexpairs to search and signatures
> s 0&&./x 6c..62&&p8 3@@hit
  > zb function 89e55383ec....38 # binary mask inline
  - works like r_hex_str2bin, but converts binary mask and keyword
* RSign now uses r_cons_printf from core.
* FunctionPrintf typedef to bypass some warnings
* Added r_mem_eq
2010-04-08 18:01:45 +02:00
pancake
df10a0df95 * Implement command 'zg' to generate zignature files 2010-04-08 16:20:41 +02:00
pancake
b860a73afd * Initial working implementation of the signatures
- Support raw search
  - Allow to check for each analyzed function
    .zc@@fcn
  - Added 'zc' and 'zp' commands
  - Remove 'az' commands
2010-04-08 15:48:53 +02:00
Nibble
bfba666c62 * Revert last commit O:) 2010-04-08 14:28:01 +02:00
Nibble
83dffd48ec * Fix r_io_seek issues when io.va = false 2010-04-08 14:19:07 +02:00
Nibble
c5396fbb10 * Fix cmd repitition (3x@offset)
* Fix seek to invalid offsets
* Improve r_anal graphs
2010-04-08 14:04:34 +02:00
pancake
f2563a7509 * Export 'srwx' perms of sections in rabin2 -rS
- Handled by 'S' command
* Added dummy 'z' command to handle zignaturez
  - Added more dummy 'az' commands
  - RCore now depends on RSign
* Some refactoring and speedup in _update method of RSearch
  - Added support for distance search (maybe buggy and incomplete atm)
  - Fix binary mask for keywords after previous commit
* Added 'r_str_rwx*' helper functions in r_util
2010-04-08 12:29:47 +02:00
Nibble
ee6304ea62 * Fix bindings build 2010-04-07 18:21:56 +02:00
Nibble
d8cb940a9d * Initial refactoring of r_anal & r_core 2010-04-07 13:43:50 +02:00
pancake
68cb13b0a6 * Do not ask to save project when project file is ""
* Clean and refactor of the TODO
2010-04-07 11:07:59 +02:00
Nibble
acba7af2b1 * Fix segfault in r_bin_elf 2010-04-07 11:08:43 +02:00
pancake
508e4f596a * Other random cleanup/fixes 2010-04-06 18:21:41 +02:00
pancake
29ad58473f * Fix 'e foo' output
* Fix io.ffio warnings
* Fix '.' key in visual mode (sr pc)
* Various 64bit related fixes
* Various fixes in r2-swig
  - Needs valaswig from hg (update)
  - r_config and
2010-04-06 14:23:12 +02:00
pancake
929fb8cc2d * Refactor SearchKeyword API
- simplified and cleaned one
  - sync codes using it
2010-04-06 13:02:21 +02:00
pancake
c2bc7e0377 * Initial split of r_search_keyword
* Fix -soname of osx linker (-install_name)
* Added OSX build instructions in doc/osx
2010-04-05 22:49:22 +02:00
pancake
c98674bd01 * Drop m68k from asm/p/Makefile
* Fix import/export of flags by project file
  - Unset flagspace restriction
  - Do not use '@' .. faster :)
* Add r_sys_write into r_util vapi
2010-03-31 01:06:26 +02:00
pancake
a28fa26e53 * Store flags and config variables in project file
- add header comment before every data
* Added r_str_write and r_str_writef to simplify code
* Some code cleanup in config and project code
2010-03-31 00:30:25 +02:00
pancake
3be83621cb * Initial implementation of -p flag to handle projects
- ~/.radare2/rdb
  - Added r_sys_mkdir()
* Remove the command length limitation in r_core_cmd_file
2010-03-31 00:03:59 +02:00
pancake
49edd0649c * Implement 'wc' command to list, commit and reset cache changes
- Added doc/iocache with a usage session of 'wc' command
  - Needs io.cache=true
  - This is the replacement of the 'undo' feature of radare1
  - Removed cache-related code from the r_vm module
2010-03-30 23:12:19 +02:00
pancake
b6a1d6e865 * Added support for cached IO
- e io.cache=true
  - Fixes support for overlapped changes
  - Implement cache_list
  - We can merge it to remove vm and undo writes with this
* Some code cleanup in vm
* Fix division by 0 bug notified by @ash
* Some random makefile cleanup
2010-03-30 17:37:15 +02:00
pancake
0eaded05ca * Remove m68k disassembler because BSD4 is GPL incompatible
- Moved into radare2-extras
2010-03-26 17:19:24 +01:00
pancake
6e6dbf5b81 * Some fixes in code analysis
- Fix some issues for 64bit instructions in z0mbie dislen
* Fix EOF, ^D and terminal resize
  - Do not understand terminal resize as EOF
* Display rpathstrip lines to identify segfaults
* Implement 'ao' command to analyze opcodes
2010-03-26 17:01:25 +01:00
Nibble
df29d65af6 Added tag 0.4 for changeset c9f7a40b497e 2010-03-26 12:48:28 +01:00
pancake
7dd096fa27 * Bump revision to 0.4.5
* Implement 'c' command like in r1 (two missing cD && cc)
* Add missing signature in r_core.h
* r_io_t is now RIO in r_io.h
2010-03-26 11:59:28 +01:00
pancake
cc732d3ee7 * Release and bump version 0.4
* Use posix shell for libr/rpathstrip.sh
2010-03-25 23:57:15 +01:00
pancake
873902785a * Use LD_LIBRARY_PATH for rpathstrip 2010-03-25 23:36:40 +01:00
pancake
8f75e7ddc3 * Fix build 2010-03-25 23:16:29 +01:00
pancake
9fcdcce2a7 * Some sorting of TODOs
* Disable asm.x86.nasm assembly on non-intel syntax
* rpathstrip after install (should fix debian issue)
2010-03-25 21:14:28 +01:00
pancake
1881f9803a * Implement r_str_home on w32
- Fix double .exe
2010-03-25 17:19:58 +01:00
Nibble
95ca8e110d * r_core_anal
- Fix command 'ag'
2010-03-25 11:40:06 +01:00
pancake
728bd1f817 * Fix w32 build 2010-03-25 10:18:59 +01:00
pancake
31e3aa76c0 * Some fixes to build in windows
- Still not working..but just a PoC
2010-03-24 19:20:46 +01:00
pancake
3027c4b18b * Added scr.prompt that can be disabled with -v flag in r2
* Use r_str_home instead of handcrafted sprintf
* Fix infinite loop when stdin eof occurs
2010-03-24 11:35:41 +01:00
pancake
a5d4166cf5 * Fix compilation of r_lang vapi for valadoc
* Fix valadoc visualization and update radare.org/vdoc
* Added 'agc' command to draw graphviz graph of calls
* Remove some unused flush calls in various 'ag' commands
2010-03-24 01:24:27 +01:00
pancake
4f3c5f1ea5 * Added 'asm.middle' disabled by default
- Enables the support to bypass anti-disassebly tricks
* Fix write support for non-plugin IO backends
  - Fix read of non-full blocks
2010-03-23 23:26:59 +01:00
pancake
de6e7e5900 * Some build fixes 2010-03-23 16:01:18 +01:00
pancake
bf1ab7da0c * Merge 2010-03-23 12:30:29 +01:00
pancake
ea5413f760 * Added csr code analysis plugin
- Cleaned up version from r1 code
  - Build asm.csr and anal.csr by default
* Added 'dsu' command. step until
* Remove vala and swig checks in configure.acr

--HG--
rename : libr/asm/arch/csr/csr_disasm/dis.c => libr/asm/arch/csr/dis.c
rename : libr/asm/arch/csr/csr_disasm/dis.h => libr/asm/arch/csr/dis.h
2010-03-23 12:30:04 +01:00