Commit Graph

359 Commits

Author SHA1 Message Date
pancake
a8757a695f Fix android build and add r_core->anal_define api
Fix static build (libr.a)
Fix android build farm scripts
Build system is still hacky
2012-09-03 01:27:52 +02:00
Anton Kochkov
a47c57715c Added preprocessing engine to r_anal cparse 2012-09-02 22:11:13 +04:00
pancake
7b627d24a2 Fix mingw32 build 2012-09-01 01:06:24 +02:00
pancake
a395c8d6c8 Initial implementation of the MIPS assembler 2012-08-31 13:50:05 +02:00
pancake
5c236fa0e3 Add mips pseudocode, anal.hasnext, fix anal bugs
Better mips analysis
Implemented mips pseudocode plugin
Change asm.parser in asm.arch callback
2012-08-31 11:45:06 +02:00
pancake
d843506ae1 Rewrite mips analysis module and fix rasm2 -D
Full rewrite of the MIPS code analysis module. wip
Fix infinite loop in rasm2 -D
Fix clang-analyzer.sh
Fix 'ao #' command
Use ', ' instead of ',' in mips disassembler
2012-08-30 18:06:18 +02:00
Anton Kochkov
ef4217a87c Add supported types, improve types printing 2012-08-30 01:11:54 +04:00
pancake
062deb4b69 Fix build. enhace mips anal, add recursive disasm
Fix UCALL opcode analysis in mips
Initial implementation of 'pdr' recursive disassembler
Workaround for code wrong basic block size in pdr
2012-08-29 14:46:19 +02:00
pancake
8ecfc21d58 Fix 'pd.N' cmd, 0size sections, use eprintf r_anal 2012-08-29 13:37:31 +02:00
pancake
af45d0ee16 Initial working tree walker for cparser (see td) 2012-08-29 12:59:31 +02:00
pancake
84c032a40e Fix strange ELF loading and mips code analysis 2012-08-29 00:45:44 +02:00
pancake
476e3b0082 Fix consgrep segfault and do changes in print cmd
Add python print buffer (pcp)
Use psw instead of pS for wide strings
Add dir.types config variable
Fix segfault in RConsGrep
2012-08-28 17:50:49 +02:00
pancake
b3dd1a4e95 Cosmetic changes for RAnalType 2012-08-28 11:02:25 +02:00
Anton Kochkov
b40ccf7b2c cparse integration. 3rd stage, add locals and alloca (stackframe) support 2012-08-28 06:56:59 +04:00
Anton Kochkov
f48a13c14d cparse integration, 3rd stage, build fixed 2012-08-28 05:55:39 +04:00
Anton Kochkov
c2a701a7d8 cparse integration: 3rd stage, commands interface 2012-08-27 19:54:58 +04:00
pancake
66b0c9b21a Check and use flex in configure.acr 2012-08-20 13:42:10 +02:00
pancake
0e82165bf7 Honor make -s and lot of build cleanups 2012-08-14 15:44:17 +02:00
Roi Martin (@nibble_ds)
d37ce1da7b Remove armthumb plugin
Moved to radare2-extras
  Replaced by arm.winedbg
2012-08-14 15:16:07 +02:00
pancake
3df277d84b Initial import of TOP make variable 2012-08-14 13:14:54 +02:00
pancake
e365b90d5f Implement support for >- (pipe to editor)
Fix another race condition in the build system
Fix many null deref reported by clang-analyzer
Assume -w when running r2 with -d
2012-08-13 17:42:25 +02:00
pancake
1586c29785 Fix race conditions in makefiles and clean TODO 2012-08-10 15:59:37 +02:00
pancake
106393d077 Fix crash in r_anal_free, add fatmach0 python test 2012-08-10 13:27:00 +02:00
pancake
28428438f6 Lot of build fixes for --as-needed and mingw32
Fix z80 assembler
Add r_sys_truncate() for portability
Fail build if tests compilation is wrong
2012-08-10 11:35:38 +02:00
Roi Martin (@nibble_ds)
cd6affc867 Resolve address of jmp [(rip+)0xoffset] and call [(rip+)0xoffset] in r_anal
Remove jmp hack from r_anal
2012-08-09 17:31:55 +02:00
pancake
a2ebdcb650 Fix memleaks, nullref and undef (clang-analyzer)
Fix multiple inclusions of mk files
2012-08-08 17:19:48 +02:00
pancake
9a1a2fc981 Fix anal.x86.udis86 and asm.arm.winedbg plugin names
Add file.analyze eval config variable from radare1
Guess base arch anal.plugin when asm.arch is set
2012-08-08 10:31:17 +02:00
Roi Martin (@nibble_ds)
a4aef33922 Rename shrl/ to shlr/ (typo) 2012-08-06 14:25:31 +02:00
Roi Martin (@nibble_ds)
46d82f2600 Create folder shrl/ for shared libs
Move udis86 to shrl/
Add variable SHARED_OBJ to rules.mk
Add plugin anal/p/anal_x86_udis86.c (dummy)
2012-08-06 12:57:48 +02:00
pancake
9362041562 Huge RBin refactoring and fix mach0 section perms 2012-08-04 23:48:06 +02:00
Anton Kochkov
e43a1f921d Deep integration of complex types - build fixed 2012-07-22 12:41:53 +04:00
Anton Kochkov
e075a18b56 Types cleanups 2012-07-22 12:01:39 +04:00
Anton Kochkov
115f10ff73 cparse integration stage 2, added calling conventions, changed variables/functions to use new types system 2012-07-22 12:01:38 +04:00
pancake
a260da522c Various build issues have been fixed
Fix build of libr/anal/cparse
r_list.h was not including r_types.h
check null pointer in r_asm
Fix 't' help message
Obey q! in scripts
2012-07-20 17:14:28 +02:00
pancake
1ec3983735 Fix build for cparse and honor HOST_CC also in sdb 2012-07-18 11:29:24 +02:00
Anton Kochkov
f4d9099dcd Added complex types support, integrated cparse 2012-07-18 07:49:08 +04:00
pancake
1fe1417c39 Apply patch from Anton Kochkov fixing whitespaces
Bump 0.9.1hg to 0.9.1git as reported by @schrotthaufen
2012-07-17 10:00:23 +02:00
pancake
aafff4a55a * Initial fix for regdiff colorizer
- dro is working again
* Dummy agt command (analyze graph to destination)
  - Still wip, requires some changes in r_anal api
* Handle ap? command
* Use core->dbg->bits in core_reg
* dbt - backtrace accepts an argument to redefine ebp
* Use r_core_seek_delta in visual (fix Vh = 0xFFFFF..)
2012-06-14 02:18:15 +02:00
pancake
c443abcf87 * Add experimental r2-bindings/node-ffi
- Requires valabind from tip
  - Some ABI changes to get dynamic langs happy
2012-06-05 17:50:12 +02:00
pancake
bc572ce3df * QNX/arm port (this is bb10 and playbook devices)
- no debugger support yet
2012-06-01 14:50:24 +02:00
pancake
beac4bbc24 * More fixes in the code analysis loops
* Properly detect end of functions in visual
* Apply rudi_s patches for cache
* Show push flag information if available as a comment
* Clear screen after quiting Visual
* Remove unused function
2012-02-16 01:26:50 +01:00
pancake
eb809bf691 * Traps and unknown jumps are now end-of-block opcodes 2012-02-15 22:09:23 +01:00
pancake
ddca754a81 * remerge 2012-02-15 11:31:54 +01:00
pancake
f41d41e9eb * Some fixes for the code analysis (still wrong, but at least ^C)
* Fix r_num_calc and all tests cases should run fine now
2012-02-15 11:11:25 +01:00
pancake
d2b6828bab * Fix some warnings reported by the farm
* Do not prompt or clear screen when using V in batch mode
* Optimization in r_config_get_i
* Show expression in r_num_calc errors
* Fix parsing of $$+2 in r_num_calc
2012-02-15 00:17:31 +01:00
pancake
be6c39c54f * Use r_list_foreach[_safe] where appropriate. 2012-02-14 18:19:16 +01:00
pancake
4efc2bfab7 * rudi_s: Add r_list_foreach_safe() which is safe when deleting elements 2012-02-14 18:10:52 +01:00
pancake
1947f0dece * Fix o- segfault
- Problem in r_io_desc_free called twice
* Compact ??? help
* Random indentation fixes
* Added support for binmask searches
  - /x 123456 ffc0e3
* Added BLOCK and BYTES in r_core_sysenv_begin()
* Hacky fix for autoblocksize with pw
2012-02-09 01:38:16 +01:00
pancake
fd6388de60 * Show error if no hud file found
* Fix 'o file 0xaddr' parsing issue
* 'om' now works without size (file size)
  - fixed help message
* Use xor'd byte in r_io_desc_new ();
2012-02-08 00:45:06 +01:00
pancake
66e2b1e359 * Initial support for the z80 CPU
- assembler, disassembler and basic code analysis
  - code analysis is very primitive atm
2012-02-04 03:51:22 +01:00