Commit Graph

1127 Commits

Author SHA1 Message Date
Nibble
f55fb1accf * Fix r_anal_var_add() call in cmd.c 2010-11-29 20:11:49 +01:00
Nibble
eb88fa40fc * Set variable direction during function analysis
* Add argument "dir" to r_anal_var_add()
* Fix reg handling in x86im plugin
* Fix variable analysis in r_anal
* Use plugin "x86" in ranal2 by default
2010-11-29 20:06:11 +01:00
Nibble
f0d2279a0e * Little refactoring of rax2 2010-11-29 13:20:44 +01:00
pancake
61cf8cd3aa * Remove unused libr.pc.acr
* Set procmod group in osx make target of r2 bin
2010-11-29 10:27:11 +01:00
pancake
8aded92fa6 * Added C stub for plugin.vala
- Major cleanup in vapi/t Makefile
* Fix a format string bug in flags
2010-11-29 10:22:38 +01:00
pancake
58fc61d486 * Fix overflow (Thanks Adriana for the patch!) 2010-11-29 01:29:21 +01:00
pancake
623d91e678 * Apply Adriana patch with some new shellcodes for rasc2 2010-11-29 01:28:17 +01:00
Nibble
717713c3b2 * Rename cmd 'a' to 'aa' (analyze all) 2010-11-27 15:03:00 +01:00
Nibble
0ffefbc320 * Modify cmd 'a' to analyze all the fcn's and bb's of the bin 2010-11-27 04:20:19 +01:00
pancake
63ac407fa4 * Add initial support for OSX on 64bits 2010-11-26 17:16:06 +01:00
pancake
6839391400 * merge 2010-11-26 14:49:32 +01:00
pancake
64fedcd772 * merge 2010-11-26 14:41:47 +01:00
Nibble
ed33751a8e * Add cmd 'a [@ addr]'
- Helper for af+ab (analyze functions and basic blocks)
* 'a?' shows analysis help
2010-11-26 13:13:45 +01:00
pancake
cb077db5f2 * Add codesign makefile target for OSX 10.6 2010-11-26 13:11:11 +01:00
Nibble
caee8a1009 * return r_anal_ret_end in fcn and bb analysis if an unknown opcode is found
* re-autogen using acr 0.8.4
2010-11-26 00:44:47 +01:00
pancake
af0d0005f1 * Fix config.mk syntax 2010-11-25 14:48:07 +01:00
pancake
6507ea67b8 * Apply patch from @astralia
- Adds -S and -s flags to rax2
2010-11-25 01:27:27 +01:00
pancake
b1a47b8494 * Added USEROSTYPE in configure, like in parent .acr
- Use acr 0.8.4
  - Bump revision to 0.6.1
2010-11-24 23:55:38 +01:00
pancake
7c844bb576 * Fix all vapi files fixing valaswig bindings
- Implement missing methods
2010-11-24 23:19:17 +01:00
pancake
7a4faa0e1d Fix all vala test programs 2010-11-24 13:41:58 +01:00
Nibble
5c986e4464 * Fix bug calling r_anal_fcn_add() 2010-11-23 20:16:43 +01:00
Nibble
7e8b8a9900 * Show /* func: */ or /* loc: */ in disassemble
* Filter fcn searchs by type (reduce pd time)
* Add arg 'type' to r_anal_fcn_find()
2010-11-23 19:55:31 +01:00
Nibble
e4832f435d * Distinguish betwen fcn's (call refs) and loc's (jmp refs)
* Show fcn type and code xref type in 'afl' output
  - C for calls, J for jmps
* Add optional argument 'type' to command 'af+'
  - l for loc's, f for fcn's (default)
* Add argument 'type' to r_anal_fcn_add()
* Add field type to RAnalFcn and enum RAnalFcnType
2010-11-23 17:15:33 +01:00
Nibble
b3cd57f573 * Add arg reftype to r_core_anal_fcn()
* Add R_ANAL_REF_TYPE_CALL and R_ANAL_REF_TYPE_NULL to RAnalRefType enum
* Set type R_ANAL_REF_TYPE_CALL to call refs during opcode analysis
* Fix bug in r_core_anal_fcn() increasing performance
2010-11-23 14:05:23 +01:00
pancake
2ea135690c * Fix build on OSX-32/64 2010-11-22 18:40:54 +01:00
Nibble
60f54b6969 * Add r_core_anal_fcn_cc() in r_core for Cyclomatic Complexity calc
* Add command 'afc'
* Add fields 'ncalls' (number of calls) and 'conditinal' to RAnalBlock
* Set anal.split=true by default
2010-11-22 15:14:54 +01:00
pancake
75ac253a23 * Fix segfault in r_core_read_at 2010-11-22 01:27:20 +01:00
pancake
f9d33abbb4 * Fix signature of RCore.read_at in r_core.vapi 2010-11-22 01:22:27 +01:00
Nibble
1f8d80e37c * Zero out UCALL and UJMP opcodes in r_anal_strmask()
* Add imports to functions with name fcn.imp.* in r_core_bin_load()
* Fix bug in cmd 'zg', truncate ouput file
2010-11-21 19:01:41 +01:00
Nibble
e8a09f4e87 * Fix some overlapping strcpy's (thx @earada!) 2010-11-20 18:35:40 +01:00
Nibble
71978e186f * More optimization on the analysis loop
* Add config_analsplit_callback() in anal/config.c to set RAnal->split
* Add field split to RAnal struct
  - Avoid unnecessary call during BB analysis
* Set the default anal depth to 100
* Take into account internal calls in xref analysis
* Rename anal_x86_x86im to anal_x86 and make it the default anal plugin
* Rename anal_x86 to anal_x86_simple (x86.simple)

--HG--
rename : libr/anal/p/anal_x86_x86im.c => libr/anal/p/anal_x86.c
rename : libr/anal/p/anal_x86.c => libr/anal/p/anal_x86_simple.c
rename : libr/anal/p/x86_x86im.mk => libr/anal/p/x86.mk
rename : libr/anal/p/x86.mk => libr/anal/p/x86_simple.mk
2010-11-20 16:47:15 +01:00
Nibble
cfc6dcea96 * Fix io_ptrace read in 64bits 2010-11-19 11:09:49 +01:00
pancake
96797846e9 * Fix io_ptrace_read when memory error occurs
- Fixes graphs in debugger mode
2010-11-19 00:49:05 +01:00
pancake
fdaac4c171 * Implement dbg.bep in r2
* Sync r_bin vapi with changes in r_bin.h
2010-11-18 22:57:28 +01:00
pancake
eb3de0a3f4 * Use memmove where needed (thanks @earada for the patch)
- Fixes probably segfaults in latest GLIBC
2010-11-18 12:17:55 +01:00
pancake
421208a0c7 * Replace main for binsym in r_bin
* Added dummy commands for r_debug_fork/clone
2010-11-18 11:41:17 +01:00
pancake
a4f1627681 * Fix build (thanks @earada) 2010-11-17 21:40:55 +01:00
pancake
6d515cc1a8 * Update and reorder TODO tasks
* Added r_file_mmap() functions in r_util
* Do not hash files bigger than 10MB
* Fix abspath() return value and signature
2010-11-17 21:15:34 +01:00
pancake
9b6a8ca973 * Update todo 2010-11-17 02:47:19 +01:00
pancake
0aafe05b45 * Step now accepts pid+tid
* Fix attach in w32 debugger
  - use dpa and get first thread by default
* Mark with asterisks the selected pid/thread (dp/dpt)
* Fix reg_write in w32
2010-11-17 02:31:56 +01:00
Nibble
8df7b217eb * List IO plugins with r2 -L 2010-11-17 01:29:33 +01:00
pancake
4db5cded34 * Fix w32dist find command
* Display TODO message in r2 -L
* Implement rax2 -s - and rax2 -
* Honor dbg->tid in many places
* Implement basic stuff for dbg->reason
  - Only w32 and *nix atm
  - Not yet displayed or used
  - Added many new reason types in enum
* Fix w32 register map
* Handle attach:// in io_w32dbg plugin
* Implement w32 process and thread list
  - You can now select the thread
  > dp      # list pids
  > dp=1424 # attach to pid
  > dpt     # list threads
  > dpt=580 # select thread
* Added dummy code to list windows
2010-11-17 00:56:48 +01:00
Nibble
f0fe6ae4fa * Fix binr build 2010-11-16 19:43:26 +01:00
pancake
d2c2c27607 * Added /proc/pid/task support to get thread list in Linux
* Initial work on boolt typedefinition
2010-11-16 18:19:51 +01:00
pancake
1a02d7b403 * Implement r_core_search_cb() method
* Added boolt and ut8p macros (looking for better names)
2010-11-15 11:06:10 +01:00
pancake
49ab1886c2 * Fix branch analysis in arm thumb
* Various unnecessary syntax changes
2010-11-14 16:38:17 +01:00
pancake
a098f9ae99 * Fix fd leak bug 2010-11-12 13:26:58 +01:00
pancake
10637ec71f * Fix permission parsing in OSX 2010-11-11 17:53:49 +01:00
pancake
fadaa252e5 * Fix build in non-darwin 2010-11-11 12:00:17 +01:00
pancake
6684689d8b * Fix build (thanks @earada) 2010-11-11 04:22:38 +01:00