2121 Commits

Author SHA1 Message Date
Sebastian Reichel
e9383b1441 Arch independent data in share (#6183)
* magic data is architecture independent

* fcnsign data is architecture independent

* opcode data is architecture independent

* syscall data is architecture independent

* hud data is architecture independent
2016-11-12 11:08:34 +01:00
oddcoder
6c853210eb FIX #59999 (#6182)
it was shitty typo, but it helped finding another bug where
r_anal_type_get_size never took arrays in concideration, not it should
work well.
2016-11-12 00:08:40 +02:00
pancake
b5c2facba3 Refactor, cleanup and fix proects, still wip 2016-11-09 02:27:12 +01:00
Álvaro Felipe Melchor
06b08f43b9 Revert change from uninitialized values 2016-11-08 17:24:00 +01:00
pancake
8804952eec Fix some uninitialized arguments 2016-11-08 15:37:44 +01:00
Álvaro Felipe Melchor
3222447eab Fix warnings when compiling in linux 2016-11-08 01:58:07 +01:00
pancake
6ff015ce29 Fix #6098 - Simplify cyclomatic complexity calculation 2016-11-07 02:55:27 +01:00
pancake
e7009d9be2 Fix #6075 - Add CCf to list all comments in current function 2016-11-06 01:40:51 +01:00
pancake
b04e1f2c4c Fix #6060 - Add Cr command to run commands in meta for disasm 2016-11-06 01:16:02 +01:00
Francesco Tamagni
a235726efb Fix ljmp with immediate segment:offset (#6125) 2016-11-04 23:11:32 +01:00
pancake
3d1141ff7e Aim to fix an ao issue 2016-11-03 16:22:56 +01:00
szt
5fb78df9e2 Fix #5940 in anal_x86_cs.c 2016-11-03 13:43:38 +01:00
Álvaro Felipe Melchor
1f4a0bcd4b Fix regression in visual graph mode 2016-11-02 13:21:21 +01:00
pancake
db60f158dd Fix #6061 - an->tn and fix some regressions in tn/tna 2016-11-02 00:50:22 +01:00
Álvaro Felipe Melchor
a0b4aab22a Fix #5935 - improvements on ah command
make anal hint print more grep friendly
fix ah- command
honor offset in ah? and ah*
implement ahb-, ahS-, ...etc
2016-11-01 23:52:42 +01:00
Álvaro Felipe Melchor
f40328b89a some cleanup and update r_core_anal_get_bbaddr 2016-11-01 23:52:42 +01:00
pancake
42caf90d32 Fix #6051 - add RAnalOp.id 2016-11-01 23:42:12 +01:00
Álvaro Felipe Melchor
3ad519acac update bb tinyrange through afb+ 2016-11-01 18:36:09 +01:00
Maijin
af94d09c29 Fix project regression 2016-11-01 15:14:48 +01:00
Maijin
9aca4d2593 Fixing some type error and remove old databases 2016-11-01 14:56:57 +01:00
Francesco Tamagni
19a0f9cf7f Use anal types sdb in emuwrite disasm hints (#6086)
- resolve function calls and arguments type
- add size_t for 32 / 64 bits
- change 'char *' to 'z' instead of '*z' to work with both
register and stack calling conventions
2016-11-01 13:32:22 +01:00
pancake
18511a97d9 Fix syscall resolution for x86-16 and x86-32 2016-10-31 12:06:20 +01:00
Marc
c48ca4bd82 Fix numeric key in xref JSON, command axj (#6072) 2016-10-30 10:23:46 +01:00
Maijin
697efb1b51 Add __uClibc_main in non-return list
Add __uClibc_main in non-return list
2016-10-29 15:13:16 +02:00
Maijin
0adfbae0a7 Beautify some of the function definition
Beautify some of the function definition
2016-10-29 12:31:02 +02:00
Sven Steinbauer
54afd47d9e Remove m68k asm and anal from core (#6063)
* Remove m68k disassembler - Moving to extras
* Remove m68k anal plugin - Gets moved to r2e to be installed with m68k
2016-10-28 12:54:48 +02:00
Maijin
31fdc07947 Fix parsing error with const 2016-10-28 12:29:54 +02:00
Maijin
3f534abdd9 Add more functions for linux/osx 2016-10-28 12:23:41 +02:00
pancake
eb272dc6f3 Honor SN in syscall resolution on disasm 2016-10-28 02:27:50 +02:00
pancake
589ac97bda Fix some overflow-related covs 2016-10-26 23:40:17 +02:00
Álvaro Felipe Melchor
b3e55980a3 Fix #6035 - oob read java_switch_op 2016-10-26 19:04:26 +02:00
Álvaro Felipe Melchor
5800b23e8f Fix #6034 - "fix" uaf in fcn_callconv
share ownership should be taken with care
2016-10-26 18:57:15 +02:00
Maijin
f49448faf0 Add remaining .h 2016-10-26 14:53:31 +02:00
Maijin
f19b34edf8 Add kernel,processes,.. in types-windows 2016-10-26 00:23:42 +02:00
Álvaro Felipe Melchor
a2befc8adc Enhance performance in r_anal_fcn_get_in() using tinyrange and sorted adds
* added sorted parameter in r_list
* use r_list_sort in r_range_sort
* some clean up
* added is_data into RBinSection
* use tinyrange by default to improve speed
2016-10-25 01:12:06 +02:00
Francesco Tamagni
f41f74c527 Fix #4497 - Recursive function emulation 2016-10-24 14:31:03 +02:00
Sven Steinbauer
52cc4dfe95 Move Z80 non-commercial to r2e (#6015)
* Move z80 non-commercial to r2e

Rename z80-cr to z80 as a consequence as it will be the default z80 disassembler

* Add GPL z80 assembler back in

* Fix Clang build
2016-10-24 13:21:36 +01:00
Francesco Tamagni
39eeb5eeef Set zf on arm (16 / 32 bits) compare (#6024) 2016-10-24 11:17:59 +02:00
Riccardo Schirone
c34865cdbe Add some libc functions to types info (#6013) 2016-10-24 00:57:36 +03:00
oddcoder
20c97cb778 making .cc part of function definition optional (#6020) 2016-10-24 00:41:53 +03:00
pancake
02950398a9 Add utf8 rune support for RCons.canvas 2016-10-21 01:24:40 +02:00
pancake
bc9712daf4 Fix regressions 2016-10-20 20:59:03 +02:00
pancake
35d9eef757 Fix 20 more covs (divBy0, dbl3, negidx, bufovr, ..) 2016-10-20 15:39:36 +02:00
pancake
7a1b6871d9 Fix a bunch of outstanding coverities 2016-10-20 14:11:02 +02:00
Markus Lottmann
c5f049a8da Rework of X86_INS_XADD. It is now basically an X86_INS_XCHG + add. (#5996) 2016-10-20 01:54:43 +02:00
Jack Baker
98dcb1cde5 Fix integer size in opcode type attribute (#6000) 2016-10-20 01:53:42 +02:00
pancake
ce6d84a02d Fix #5997 - Do not permit xrefs on invalid addresses 2016-10-20 01:53:00 +02:00
pancake
42feca7a3b Fix #5974 - reflines not shown for last disasm line 2016-10-19 11:47:47 +02:00
Álvaro Felipe Melchor
b7ab1dbc07 remove unused variables to avoid warnings 2016-10-18 21:29:15 +02:00
Gerardo García Peña
7cd67522e8 Code clean up. (#5988) 2016-10-18 17:00:08 +02:00