pancake
212828b50e
Enforce MZ check
2016-10-30 10:54:54 +01:00
pancake
82bb7f6df7
Fix #6045 - Check entrypoint to accept raw MZ bins
2016-10-30 10:52:32 +01:00
Marc
c48ca4bd82
Fix numeric key in xref JSON, command axj ( #6072 )
2016-10-30 10:23:46 +01:00
Lowly Worm
0baf5d6e9a
use r_debug_step_over in dsf
2016-10-29 15:52:12 -07:00
Lowly Worm
7b70402037
fix the dsf
to use step over, so that it functions properly
...
not a full fix for making a good `finish` equivalent, but better than
nothing.
2016-10-29 15:46:27 -07: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
pancake
e31164a5fa
Fix latest covs
2016-10-29 13:06:11 +02:00
Francesco Tamagni
98a35bf83b
Disable color during pds string parsing ( #6062 )
...
* Disable color during pds string parsing
- color causes extra ';' chars to break string matching in pds
* Use pdr in pdsf
- and avoid displaying branches to non-symbols
* Improve pds
- avoid treating branches to non-symbols as calls
- only in specific case of arm's b instruction
- remove redundant string compares not needed if color is disabled
2016-10-29 12:33:58 +02:00
Maijin
0adfbae0a7
Beautify some of the function definition
...
Beautify some of the function definition
2016-10-29 12:31:02 +02:00
dx
4385bad569
Fix #6056 - crash on "mp gpt" and other non-msdos grub part types ( #6065 )
...
The only partition type with grub_parhook was "msdos", and grub_parhook is
needed to call avoid calling the partition map as if it were a function.
Also simplified a few void * casts.
2016-10-29 12:27:54 +02:00
Maijin
878d25a8d5
Reset asm.filter after pdc bug #6066
2016-10-29 12:15:46 +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
a597684970
Chopro the flag command args
2016-10-28 12:19:44 +02:00
pancake
eb272dc6f3
Honor SN in syscall resolution on disasm
2016-10-28 02:27:50 +02:00
pancake
8cd6077600
Fix filesize for mach0 in rabin2 -C
2016-10-28 01:04:25 +02:00
pancake
80f92cba4e
Fix wt usage
2016-10-27 23:55:54 +02:00
pancake
196e5a763c
Add ik* command to load bin headers info, and use Cf for that
2016-10-27 23:51:22 +02:00
pancake
f95744b9a1
Implement LC_MAIN and PAGEZERO in rabin2 -C mach0
2016-10-27 22:53:01 +02:00
Francesco Tamagni
961b0cfdaa
Fix another memleak in pdr ( #6059 )
...
- avoid overwriting a parent_reg_arena coming
from another parent
2016-10-27 22:08:36 +02:00
Álvaro Felipe Melchor
b478d3d757
Fix #6047 - underflow in prompt
2016-10-27 19:42:55 +02:00
Francesco Tamagni
9d13a48563
Fix memleak in pdr on backward jumps ( #6057 )
...
- arena is propagated only in foward jumps / fails
- because pdr evaulates blocks in order of address
2016-10-27 17:46:12 +02:00
pancake
3f5cdfe77c
Add autocompletion for et
2016-10-27 17:20:54 +02:00
pancake
048eaff1a9
Autocomplete ec
2016-10-27 17:19:59 +02:00
pancake
e8ddc68893
Add autocompletion for wxf and wtf
2016-10-27 17:11:24 +02:00
pancake
961e9479dc
Autocomplete eco color themes
2016-10-27 15:50:02 +02:00
pancake
1ab7c43efe
Fix #6054 - divbyzero in pcp
2016-10-27 15:32:00 +02:00
Sven Steinbauer
7d5f4cbde7
Assemble 64bit byte mov correctly [FIX 6042] ( #6053 )
...
$ rasm2 -a x86 -b 64 'mov byte [rbp - 0x100], 2'
c68500ffffff02
Oddly this also compiles correctly before this patch with keystone
installed. Not sure as to why yet.
2016-10-27 15:14:10 +02:00
pancake
57784e02b1
Update linux-arm-64 from android definitions (thanks @maijin)
2016-10-27 13:35:10 +02:00
pancake
94d47c79bb
Completely remove all references to list.h
2016-10-27 13:33:27 +02:00
pancake
ffc74163b4
Fix div by zero with scr.pagesize and matrix theme
2016-10-27 04:45:39 +02:00
pancake
05bdb884a1
Ansify+update rasta and white themes
2016-10-27 04:22:09 +02:00
pancake
ae41db5a3d
Fix dark theme and add new theme CGA
2016-10-27 03:55:27 +02:00
pancake
d2b2314b1b
Make the lima and pink themes look as lima and pink
2016-10-27 03:09:51 +02:00
pancake
8a5d768d4a
Add asm.minicols config var for pCd
2016-10-27 01:56:38 +02:00
pancake
e925e04ea2
Fix crash in disassembler
2016-10-27 01:42:00 +02:00
pancake
d41b577106
Fix #5924 - r_flags -> r_flag
2016-10-27 01:07:58 +02:00
pancake
3ab7122df2
Implement ?O and r_asm_mnemonics() new API
2016-10-27 00:54:48 +02:00
pancake
aed798e003
Add some breaks in egg and bin
2016-10-26 23:46:41 +02:00
pancake
589ac97bda
Fix some overflow-related covs
2016-10-26 23:40:17 +02:00
pancake
8d37adc546
Fix all pending null-deref covs
2016-10-26 23:22:04 +02:00
pancake
ad1a73a2e9
Reindent a bit more
2016-10-26 23:16:31 +02:00
pancake
22e024d5de
Implement scr.linesleep and scr.pagesize for fancier demo output
2016-10-26 23:04:55 +02:00
pancake
2d0b00222a
Fix syscall resolution for linux-arm-64
2016-10-26 22:31:33 +02:00
pancake
f2dd1a5098
Add initial linux-arm-64 syscall definitions
2016-10-26 22:07:19 +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
pancake
fe4a10ce96
For some reason ret=0 on io.write via rap means -1
2016-10-26 16:52:56 +02:00
pancake
afad3c6380
Fix crash on config_init
2016-10-26 16:26:53 +02:00
pancake
5dab613f08
Honor -w via rap://
2016-10-26 16:26:11 +02:00
Maijin
f49448faf0
Add remaining .h
2016-10-26 14:53:31 +02:00
pancake
8b8151d12e
Fix latest covs
2016-10-26 11:25:50 +02:00
Maijin
f19b34edf8
Add kernel,processes,.. in types-windows
2016-10-26 00:23:42 +02:00
Maijin
4c915d909a
aftm seek back to original offset fix #6007
...
aftm seek back to original offset fix #6007
2016-10-25 20:45:19 +02:00
Álvaro Felipe Melchor
046cc2532c
specify row to start sorting with ~$[n]
2016-10-25 14:37:57 +02:00
Álvaro Felipe Melchor
aa5124905d
fix oob str.c
2016-10-25 14:37:57 +02:00
Rene Laemmert
f40bc158f4
Function resolving when searching for calls Fix #1886
...
Function resolving when searching for calls Fix #1886
2016-10-25 14:31:48 +02:00
pancake
b5fa7848ff
Fix null derefs related to izzzq
2016-10-25 13:02:35 +02:00
pancake
0e5f39e4ae
Implement inverse sort order and fix regression
2016-10-25 12:39:36 +02:00
pancake
d45999d10e
Implement column sorting in RCons.grep
2016-10-25 12:03:55 +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
Moritz Eckert
54539a9eb4
Fix pd -N issue, with correct offset for bw-disassembling ( #6016 )
...
* Correct offset for backwards disassembling with pd -N
Fix #5879
* Fix typo in comment
2016-10-24 12:11:42 +02:00
Álvaro Felipe Melchor
0cd32b4090
fix build
2016-10-24 11:58:35 +02:00
Álvaro Felipe Melchor
995faf7289
aim to fix regression
2016-10-24 11:54:17 +02:00
Sven Steinbauer
aa5fd3253c
Update and fix LGPL Z80 disassembler ( #6009 )
...
* Fix dd IX instructions
* Fix segfault for dd and de ops
Although only seemed to happen on OSX, not on linux.
* Fix ed op
* Remove invalid instruction "in f, [c]" which is not referenced in
http://clrhome.org/table/
* fix bad offsets to ops following removed one
* Fix fd ops with bad type flags
* Fix ed and fdcb ops
Remove debug prints
2016-10-24 10:28:59 +01:00
Francesco Tamagni
39eeb5eeef
Set zf on arm (16 / 32 bits) compare ( #6024 )
2016-10-24 11:17:59 +02:00
pancake
586e8e685f
Fix disasm lines glitch
2016-10-24 10:48:25 +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
b1ack0wl
17666398fa
Added iertutil.sdb.txt and urlmon.sdb.txt Fix #6010
2016-10-23 19:45:07 +02:00
Maijin
09ea59c6ba
Type matching in aaaa
2016-10-23 19:44:27 +02:00
Maijin
8b778cf415
Add wldap32.sdb
2016-10-23 17:43:23 +02: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
Giulio De Pasquale
69ecf6f528
Added early returns ( #6002 )
2016-10-20 18:58:57 +02:00
pancake
35d9eef757
Fix 20 more covs (divBy0, dbl3, negidx, bufovr, ..)
2016-10-20 15:39:36 +02:00
pancake
be9df39f6f
Fixed 40 null derefs reported by coverity
2016-10-20 15:02:25 +02:00
pancake
7a1b6871d9
Fix a bunch of outstanding coverities
2016-10-20 14:11:02 +02:00
pancake
91f3a729bd
Fix possible doublefree in r2 (thx @joxeankoret)
2016-10-20 13:05:58 +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
Álvaro Felipe Melchor
c237950200
Fix #5968 - search string when malloc://X + wx
2016-10-19 23:02:39 +02:00
Álvaro Felipe Melchor
19f054840f
avoid fork and r_core_new in iz commands
...
Changed the code to use C API instead of forking rabin2 or create a new core
instance. Besides, izz handles string from raw binary (without RBin)
2016-10-19 23:02:38 +02:00
Álvaro Felipe Melchor
c5ce0d2140
clean up rabin2
2016-10-19 23:02:36 +02:00
Sven Steinbauer
4a2fba6168
Add segment reg support and numerous fixes FIX #5967 ( #5995 )
...
* Add support for seg registers
Support added for mov and pop instructions
[fs] is treated as [fs:0] which is not equivalent
Accepts sreg:[x] and [sreg:x] syntax
* Error if mov op reg sizes differ
also add support for 16bit register mov ops
* Improve segment register handling for mov op
* Fix opcode for 64bit instr with 32bits regs
* Refactor parsing of segment reg offset
2016-10-19 21:10:17 +01:00
Álvaro Felipe Melchor
34a49f094c
Fix #3546 - Enhanced support for RCons line grep
...
Now ~: operator support ranges and negative values
~:-1 show last line
~:-2 show line before the last one
~:..3 same as ~:0..3
~:2..8 show lines from 2 to 8
~:2.. show lines from 2 to the end
2016-10-19 18:50:05 +02:00
pancake
995495ade4
Fix 1 byte write issue in io.http and io.tcp
2016-10-19 15:16:14 +02:00
Álvaro Felipe Melchor
e3e31c51c7
clean I.buffer when r_cons_push to avoid trash
2016-10-19 13:39:05 +02:00
Álvaro Felipe Melchor
a5db0d9486
clean up cons grep
2016-10-19 13:39:05 +02:00
pancake
fbd84145f5
Fix latest COVs and make tcp:// rw
2016-10-19 13:19:30 +02:00
pancake
42feca7a3b
Fix #5974 - reflines not shown for last disasm line
2016-10-19 11:47:47 +02:00
pancake
5fcee5d712
Implement wts to send data to socket
2016-10-19 03:36:59 +02:00
pancake
f80685c259
Fix #5992 - Honor ^C in tcp://
2016-10-19 03:10:48 +02:00
Álvaro Felipe Melchor
258e12fdd8
Fix oob write when r_cons_pop
2016-10-19 02:09:14 +02:00
Álvaro Felipe Melchor
27d3d3dbf0
Fix NULL derefence
2016-10-19 01:09:14 +02:00
Álvaro Felipe Melchor
267d804741
Fix regression
2016-10-19 00:36:14 +02:00
Álvaro Felipe Melchor
44d9048169
Fix #5986 - use RStack in r_cons_push/pop
...
clean up cons and stack code
extend RStack to have free function
use RStack in r_cons_push/pop
2016-10-19 00:11:05 +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
Gerardo García Peña
813361df4c
Support for modifying the incoming value in operation RAnalEsilCallbacks::hook_reg_write(). ( #5977 )
2016-10-18 16:59:38 +02:00
pancake
18f0a3a1f3
Initial import of io.tcp + rsocket cleanup
2016-10-18 14:26:20 +02:00
pancake
0e18596099
Show instructions in /A and add /A[jq]
2016-10-18 13:09:25 +02:00
pancake
d2f3f6f5d7
Wip fix for #5937 - grep not working
2016-10-18 02:12:43 +02:00
pancake
c39266beb7
Add atoi in default anal types
2016-10-18 02:09:45 +02:00
pancake
8a7262ca32
Add IS_UPPER and IS_LOWER macros
2016-10-18 02:09:05 +02:00
pancake
27c60ea634
Fix crash in macros
2016-10-18 02:08:53 +02:00
pancake
1f2f3f2394
Honor varsub and relsub with asm.ucase for parse.arm
2016-10-18 01:49:32 +02:00
pancake
daafeda5e1
Fix call xrefs in arm+thumb
2016-10-18 01:08:52 +02:00
pancake
22dddd9704
Fix #5975 - Honor asm.varsub and asm.relsub with asm.ucase
2016-10-18 00:55:10 +02:00
pancake
cbf1b2ddb0
Implement project upgrading and remove old code
2016-10-18 00:40:55 +02:00
pancake
5a2cb343c1
Implement prj.zip and fix prj.git
2016-10-18 00:15:51 +02:00
pancake
c80f0a1ac8
Fix #5141 - Initial support for prj.git
2016-10-18 00:07:31 +02:00
pancake
9f4c8768a7
Implement prj.files and fix some bugs in project listing and saving
2016-10-17 23:58:39 +02:00
pancake
0811234588
Dont fuck with old capstone
2016-10-17 17:19:43 +02:00
pancake
1ed039610e
Projects are now completely contained inside a single directory
...
- Ease GIT/GPG integration
2016-10-17 16:59:16 +02:00
Sven Steinbauer
f6b0ba574b
Fix for issue #5976 ( #5979 )
...
Check that register is not memory i.e. [eax] to generate correct opcode
2016-10-17 15:45:38 +02:00
Maijin
31ff46507b
typo in windows-type
2016-10-17 14:49:58 +02:00
pancake
ae1405d7c0
Handle ~?* to make travis happy
2016-10-17 14:42:49 +02:00
Maijin
b386477deb
Add WORD and PADDR in types-windows
...
Add WORD and PADDR in types-windows
2016-10-17 14:36:05 +02:00
pancake
990620feea
Fix #5978 - Fix segfault in types
2016-10-17 14:09:10 +02:00
pancake
dd8ccc7b13
Honor vim command
2016-10-17 13:11:46 +02:00
Maijin
98ea86a59a
Add various symbols in bin_nes
2016-10-16 23:36:22 +02:00
pancake
645aea9302
Honor bin.strings
2016-10-16 02:57:08 +02:00
pancake
cea2c80d56
Show flags in dm, add dmq and add resolver in rnum
2016-10-16 02:34:54 +02:00
pancake
bee054b1ec
Rename recursive help from ?? to ?*
2016-10-16 01:46:03 +02:00
pancake
a93bc5b4d3
Fix dupped output in recursive help
2016-10-16 00:57:24 +02:00
pancake
10ce12112a
Fix #5952 - Handle scr.null in projects
2016-10-16 00:54:06 +02:00
pancake
9f588e8b29
Implement support for recursive help ??
2016-10-16 00:48:39 +02:00
pancake
e85f0c0e0e
Implement experimental recursive help for d??
2016-10-16 00:39:54 +02:00
pancake
bf6ea1dcc0
Fix crash when loading truncated mach0s
2016-10-15 23:54:17 +02:00
pancake
18fb6a2aac
Implement http.log and http.logfile
2016-10-15 23:42:12 +02:00
pancake
01d1de4f7b
Fallback to oo when ood fails
2016-10-15 21:08:54 +02:00
oddcoder
a28bcb4192
saving/retireving functions stack in project file ( #5973 )
2016-10-14 22:54:00 +03:00
Maykeye
486434036a
Fix #5960 - What to push shall be put on stack before changing sp
2016-10-14 12:03:24 +02:00
Gerardo García Peña
2f87024db4
Added SBR opcode.
2016-10-13 16:25:52 +02:00
Gerardo García Peña
c82c411724
New instruction SBIW.
2016-10-13 16:25:52 +02:00
Gerardo García Peña
452e2fdb77
Added new AVR instructions (SBI, SBIC, SBIS) and new op family class.
2016-10-13 16:25:52 +02:00
Gerardo García Peña
803f4f2a4f
SBCI and SBI opcodes.
2016-10-13 16:25:52 +02:00
Gerardo García Peña
a26964eb7a
Added OR, ORI and ROR.
2016-10-13 16:25:52 +02:00
Maijin
13dfa3c9e4
Fix #5860 - axtj relsub ( #5964 )
...
Fix #5860 - axtj relsub
2016-10-13 12:17:44 +02:00
pinkflawd
d4588f31c0
Symbols mfc42/mfc42u ( #5962 )
...
* Symbols added
* Symbols added
2016-10-13 11:24:47 +02:00
szt
45bbca4e29
Fix "orr" in ARM assembler ( #5958 )
...
https://github.com/radare/radare2/issues/5954 fix
2016-10-12 23:33:53 +02:00
Marc
42a45a2a19
fix Dalvik flags test ( #5957 )
2016-10-12 22:32:31 +02:00
pancake
503cb6219d
Add more ARM cpu subtypes for mach0
2016-10-12 03:07:51 +02:00
Álvaro Felipe Melchor
56d708562e
Fix another regression
2016-10-11 17:56:14 +02:00
Álvaro Felipe Melchor
f7396bc600
Fix regression
2016-10-11 17:36:25 +02:00
Álvaro Felipe Melchor
45f193bb6a
Fix ELF support for 32-64bit relro relocations, fix negative allocation in PE and null deref
2016-10-11 14:32:35 +02:00
Marc
65af037198
Fix Dalvik imports and symbol ordinals
2016-10-11 14:28:46 +02:00
Gerardo García Peña
b2ad3302e2
Gif me moar Anal AVR Opcodes ( #5943 )
...
* CPI, CPC and RCALL bugfixed.
* RJMP bugfixed
* Added LSR and MOV. Index table resorted again.
* Added MUL, MULS and MULSU.
* Implemented NEG opcode.
* By default copy values from atmega8
2016-10-11 12:09:10 +02:00
Álvaro Felipe Melchor
84b4b1b8f6
fix regression
2016-10-10 21:09:30 +02:00
pancake
3ae8b9813b
Get rid of some %\d$ constructions in anal_8051.c for #3944
2016-10-10 10:20:51 +02:00
Phil
557d35f4cc
Fix aei help text ( #5949 )
2016-10-10 09:50:01 +02:00
pancake
8c592750c6
Fix build avoiding confusions for io|debug/reg/desc
2016-10-10 00:06:50 +02:00
pancake
64cd03dab5
Fix rap:// with no filename and reindent related stuff
2016-10-09 23:56:52 +02:00
pancake
7b4dc8310d
Use RIODesc.detach when serving from RCore
2016-10-09 23:55:34 +02:00
pancake
ed704253a9
Enhance RDebug.io to support more commands
2016-10-09 23:54:52 +02:00
pancake
a48df016ff
Ignore newlines in r_hex_str2bin input
2016-10-09 23:54:21 +02:00
pancake
4a412b0227
Implement RIODesc.detach()
2016-10-09 23:53:40 +02:00
pancake
05220c2fe0
Fix overflow in debug.reg_read
2016-10-09 23:52:24 +02:00
pancake
7403f6229d
Honor size=-1 in o
2016-10-09 22:03:02 +02:00
pancake
b4971693e5
Add dr8 and more commands for the RDebug.io plugin
2016-10-09 20:13:32 +02:00
Duncan Ogilvie
d0cccc5ec7
updated various opcode descriptions ( #5948 )
2016-10-09 19:11:40 +02:00
pancake
208892b847
Aim to fix dmm. in w32
2016-10-09 15:11:09 +02:00
pancake
5ac2be945e
Fix #5867 - Remove all references to __FILE__ or __LINE__
2016-10-09 11:01:41 +02:00
Markus Lottmann
4db241262d
Reworked in_function() to iterate over all bbs
2016-10-09 10:50:33 +02:00
Álvaro Felipe Melchor
66a55302ee
Fix build
2016-10-08 13:25:16 +02:00
pancake
1a99f72d63
Fix @i:
2016-10-08 03:10:12 +02:00
pancake
cd26e34a7b
Blind fix #5938 - remove some __FILE__ references
2016-10-08 03:01:22 +02:00
pancake
a8af78c7a6
Rollback the z80 change
2016-10-08 02:40:40 +02:00
pancake
466c9ff066
Initial implementation of the RDebug.io plugin
2016-10-08 02:39:50 +02:00
pancake
0cf6623f52
Kill the z80.cr plugin, and use the disasm into z80
2016-10-08 01:35:27 +02:00
pancake
2b37951e63
Initial implementation of pC (column disasm)
2016-10-08 00:02:47 +02:00
pancake
a1e9c8914f
Implement @i: for temporary instruction seeks
2016-10-07 23:08:36 +02:00
Duncan Ogilvie
8386438ea0
fixed and added opcode descriptions ( #5942 )
2016-10-07 18:35:40 +02:00
Álvaro Felipe Melchor
bb0f174c2f
changed how remove sections
2016-10-07 00:54:24 +02:00
n4☠0r
e4a370ba47
Refactor DMH
2016-10-06 18:02:25 +02:00
pancake
70e905bbc8
Trim pds lines
2016-10-06 15:25:43 +02:00
pancake
7023d010cc
Add ios-cydia32.sh script to build radare2-arm32 cydia package
2016-10-06 15:17:13 +02:00
oddcoder
5f34fbbfdb
Fixing spaces in t* output ( #5936 )
2016-10-06 15:49:29 +03:00
Gerardo García Peña
3ab7b326cf
More memory AVR operations (LDS/LPM)
2016-10-06 12:21:52 +02:00
BlueC0re
8a5b5ae7b7
added support for escape sequences in r_num_as_string ( #5897 )
2016-10-06 11:24:39 +02:00
Gerardo García Peña
1ff73d3cb2
Fixed LCALL for x64 ( #5930 )
2016-10-06 11:08:39 +02:00
pancake
9e49bfc338
Honor pal_comment and fix indent for asm.emu
2016-10-06 03:42:49 +02:00
pancake
4bbc825de9
Add sync optype and refix the jmphint glitch
2016-10-06 03:38:28 +02:00
pancake
72c66a0e28
Fix call rX hotkeys glitch in disasm
2016-10-06 03:13:02 +02:00
pancake
25107af958
Update the ogray theme
2016-10-06 03:12:43 +02:00
radare
20ec177ba0
Initial implementation of flag zones
2016-10-06 02:40:26 +02:00
Álvaro Felipe Melchor
6a9fce1dc0
removed limit number of exports
2016-10-06 01:12:26 +02:00
Álvaro Felipe Melchor
44155e609c
select sorting algorithm based on list's length
2016-10-06 00:34:52 +02:00
Álvaro Felipe Melchor
5b95f046f8
s/r_list_merge_sort/r_list_sort
2016-10-06 00:00:52 +02:00
Álvaro Felipe Melchor
fd542c75bb
changes into merge sort to reassemble behaviour with sort
2016-10-06 00:00:50 +02:00
Álvaro Felipe Melchor
f6b94d7b75
changed r_list_length to use list->length
2016-10-06 00:00:49 +02:00
Álvaro Felipe Melchor
e00123d259
removed unused api from r_list
2016-10-06 00:00:46 +02:00
pancake
ce0753130a
Add more arm64 regs, fix movk esil
2016-10-05 23:07:58 +02:00
Maijin
d1b334d642
Update mfc42, thanks @pinkflawd
2016-10-05 16:54:43 +02:00
Gerardo García Peña
5ea9899f06
Fixed LJMP, added support to segments in JMP, fixed LCALL. ( #5920 )
2016-10-05 16:03:58 +02:00
Marc
4e3849c905
Remove invalid anal str for const-class instruction. Fix #5911 ( #5913 )
2016-10-05 16:02:08 +02:00
pancake
c1b4cd666f
Do not run aav in aa on ARM
2016-10-05 16:01:16 +02:00
Álvaro Felipe Melchor
2be521421b
Add merge sort algorithm into r_list ( #5917 )
2016-10-05 15:59:41 +02:00
Riccardo Schirone
290fa7a7e6
util: fix behaviour of r_str_rwx and r_str_rwx_i ( #5915 )
2016-10-05 15:49:36 +02:00
Riccardo Schirone
9b9a839215
util/debruijn: put terminator at the end of buf
2016-10-05 10:36:05 +02:00
Gerardo García Peña
9ea972b218
Fixing LCALL for x86 16/32 bit ( #5910 )
2016-10-05 02:50:40 +02:00
Riccardo Schirone
888841ee33
util: fix debruijin arguments meaning and uses ( #5914 )
2016-10-05 02:43:04 +02:00
pancake
74ba61d9bb
Fix 'Cannot find function at' issue on some functions
2016-10-05 01:59:58 +02:00
pancake
3c22cbfa7c
Fix #5890 - Assume pushed executable addresses as CODE references
2016-10-04 21:03:11 +02:00
pancake
6db1ee101d
Fix wxs command
2016-10-04 18:03:03 +02:00
pancake
150ebc3c26
Add long-to-double instruction for anal.dalvik
2016-10-04 15:55:04 +02:00
pancake
9eb1a2903b
Enforce hexpair parsing rules. To fix rahash2 -S foo without s:
2016-10-04 15:46:46 +02:00
Marc
c39b9e9dc3
fix flags duplication ( #5899 )
2016-10-04 15:07:26 +02:00
pancake
d7e0be5dad
Implement rasm2 -s? and refactor this a bit
2016-10-04 15:01:02 +02:00
pancake
41d6e9edde
Add bash autocompletion support
2016-10-04 14:34:06 +02:00
pancake
f3176a1174
Fill the op.type field for STOS and LODS on x86.cs
2016-10-04 11:53:33 +02:00
Riccardo Schirone
8b0d157614
conf: enable graph.nodejmps by default ( #5904 )
2016-10-04 11:13:30 +02:00
Gerardo García Peña
e3b1f8eb30
Fix issue in aeso
2016-10-03 21:43:55 +02:00
Marc
9bcf6bdcbe
more coverity fixes ( #5882 )
2016-10-03 20:13:45 +02:00
pancake
0080399021
Fix build on FreeBSD
2016-10-03 15:08:59 +02:00
Álvaro Felipe Melchor
f0f54ad1c6
move check of num_threads into get_proc_process_content
2016-10-03 00:13:35 +02:00
Álvaro Felipe Melchor
7ba81f6886
More work into ragg2
2016-10-02 23:46:57 +02:00
Álvaro Felipe Melchor
62fe6eb85e
more work into sys.c
2016-10-02 23:08:13 +02:00
Álvaro Felipe Melchor
b09e19041f
Fix oob read in ragg2
2016-10-02 22:57:50 +02:00
Álvaro Felipe Melchor
bd544b5ee3
Added check for section size in bin_pe.c
2016-10-02 12:51:32 +02:00
Álvaro Felipe Melchor
8cbfaf8dbc
Fix NULL dereference in search_reg_val
2016-10-02 02:10:37 +02:00
Álvaro Felipe Melchor
218474ec13
Remove unused variable and coding style file.c
2016-10-02 02:05:23 +02:00
pancake
c3bd6a6a10
Add r2pm ls|cd
2016-10-02 00:37:09 +02:00
pancake
c7877075a1
Minor tweak to get better colors in dalvik disasm
2016-10-01 17:44:25 +02:00
Álvaro Felipe Melchor
b1ee53bf2a
change addr alignment
2016-10-01 12:05:35 +02:00
Álvaro Felipe Melchor
f807f13fca
Fix relsub for arm and esil
2016-10-01 12:05:32 +02:00
Álvaro Felipe Melchor
b0ee337c0f
Fix regression in coredump
2016-10-01 11:03:05 +02:00
Gerardo García Peña
4971aca917
It's raining AVR anal ops, hallelujah! ( #5888 )
...
* Implemented opcodes FMUL, FMULS, FMULSU.
* Implemented IJMP and ICALL.
* Added opcodes LAC, LAS and LAT.
2016-09-29 23:46:14 +02:00
pancake
ec25d8475c
Disable syscall emulation in esil by default
2016-09-29 19:39:59 +02:00
oddcoder
fad94aa57f
fixing invalid json syntax ( #5884 )
2016-09-29 15:07:53 +02:00
Álvaro Felipe Melchor
7bbf637b6b
remove annoying stray introduced by vim
2016-09-29 13:37:53 +02:00
Álvaro Felipe Melchor
6f2b0e5b64
more coverities
2016-09-29 12:56:13 +02:00
h4ng3r
053efaa938
fix some coverity issues
2016-09-29 12:56:11 +02:00
pancake
69b327cfd5
More interdoc between i and rabin2
2016-09-29 11:33:44 +02:00
pancake
bfbc5c2f7f
Fix #5874 - Implement asm.relsub for arm.cs
2016-09-29 11:25:18 +02:00
Markus Lottmann
c02be8da7d
Correction of ESIL code generated for ROL, ROR and OR instructions on X86 ( #5873 )
...
* Esil equivalent of x86 cmp instruction now set the overflow flag.
* Fixed ESIL code generated for ROL instruction.
* Fixed ESIL code generated for OR instruction.
2016-09-29 09:41:33 +02:00
Gerardo García Peña
ccda50b1a2
More opcodes for AVR anal plugin ( #5875 )
...
* More opcodes for AVR anal plugin:
New ops BREAK, BST, CBI, COM, CPSE, DEC, LD, LDD, INC, SBRC/S, STD, EIJMP, EICALL and ELPM.
Heavy bugfixing and refactorization.
Emit cycles warning only one time.
working on FMUL
* Removed strcasestr() and bzero() moved to memset()
* Bugfixes (avr tests were broken).
2016-09-29 09:39:04 +02:00
Álvaro Felipe Melchor
cfa5af96cf
indent mach0_defines.h
2016-09-29 00:07:34 +02:00
Sebastian Reichel
3044a2da05
Replace mach headers from AAPL to LLVM
...
The mach headers are licensed under APSL-2.0, which
is not compatible with GPL. The mach0_defines.h
provides all required structs and defines and comes
under a GPL compatible MIT/BSD styled license.
2016-09-29 00:07:31 +02:00
Sebastian Reichel
b98880ff26
Debian patches ( #5866 )
...
* Fix esil manpage
Each manual page should start with a "NAME" section, which lists the
name and a brief description of the page separated by "\-". The "NAME"
section is parsed by lexgrog and used to generate a database that's
queried by commands like apropos and whatis. Without this change
lexgrog fails to parse the NAME section of this manual page.
This was found by Debian's lintian tool (manpage-has-bad-whatis-entry).
* Fix empty input line in manpages
Found-By: lintian as manpage-has-errors-from-man
* Fix rahash2 manpage
.El (end list) is only valid after .Bl (begin list),
but no list was started in this section.
Found-By: lintian
* Avoid build break if no static bin plugins are defined
If one disables all static bin plugins, build currently fails,
since R_BIN_STATIC_PLUGINS/R_BIN_XTR_STATIC_PLUGINS are not
defined. This fixes the build for these kind of setups.
(In Debian does not built the mach code, since the
Apple Public Source License is not compatible with
the Debian Free Software Guidelines. Without the
mach code there is not a single binxtr plugin)
* Fix implicit declaration of function 'linux_generate_corefile' on i386
Noticed by Debian build farm.
* Add support for SOURCE_DATE_EPOCH
SOURCE_DATE_EPOCH can be used to make builds
reproducible [0].
Note: radare suffers from a second problem making the
build unreproducible: It captures the full build path.
This is *not* covered by this change.
[0] https://reproducible-builds.org/specs/source-date-epoch/
2016-09-28 19:17:43 +02:00
pancake
18ac22ea6e
Fix #5872 - uninitialized free in pdj
2016-09-28 16:47:33 +02:00
Marc
95d982f1fc
add METH symbol type to anal core ( #5861 )
2016-09-28 12:05:46 +02:00
pancake
e78b561669
Fix re/av-pag in VV graph view
2016-09-27 23:50:48 +02:00
alvaro_fe
c8130c4198
Fix crash in reflines
2016-09-27 19:49:39 +02:00
alvaro_fe
413ff4313a
Fix some coverities
2016-09-27 18:56:34 +02:00