Fedor Sakharov
881e797e8b
We are moving EVM to radare2-extras
2017-11-21 01:31:05 +01:00
Sven Steinbauer
ab845480b1
Fix push and call ops for 64 bit extended regs ( #8837 )
...
* Fix push and call ops for 64 bit extended regs
Tests pushed to r2r master
* Remove undeed reg variable
2017-11-15 10:42:37 -05:00
Maijin
4bb5c15faa
r_lib_struct_t -> RLibStruct
2017-11-10 13:38:05 +01:00
pancake
692f94e058
Add spaces around *
2017-11-05 03:42:25 +01:00
pancake
9a0b0fb74d
Fix tms320 warnings
2017-10-30 13:35:30 +01:00
Sven Steinbauer
4dec5d5120
More mov fixes if operand 1 is eax/rax ( #8732 )
2017-10-24 16:45:56 +02:00
Sven Steinbauer
7a3824d07f
Fix up mov op ( #8730 )
...
Fixes for mov op for both 32 and 64 bit. Mostly involving memory
references for second operand and memory offsets
rip relative addressing fixed
FIX #8701
FIX #8722
FIX #8723
2017-10-23 14:05:16 +02:00
Sven Steinbauer
68bd7fd0aa
Correctly assemble displacement only addresses ( #8705 )
...
FIX #8701
2017-10-18 11:12:59 +02:00
pancake
52b1526443
Fix crash in wasm disassembler
2017-10-11 19:02:25 +02:00
Pepe Vila
5c3cdb44d5
Fixed coverity errors ( #8595 )
2017-09-30 10:50:14 +02:00
pancake
aa7989de88
Address dalvik disasm comments in #8590
2017-09-29 12:51:09 +02:00
josediazfer
2328c5d31f
Fix serveral leaks ( #8606 )
2017-09-28 16:32:54 +02:00
Jose Diaz
16905517ad
leak parseOpcode() asm_x86_nz.c
2017-09-28 12:13:58 +08:00
pancake
3326b933dd
Fix #8590 - Thanks @igasparis
2017-09-27 03:49:10 +02:00
pancake
71a6177b8a
Fixes for the gdb-avr backend, lower min pkgtsz and fix tid<1 issue
2017-09-25 10:47:27 +02:00
Sven Steinbauer
0e6a0946d6
Compile extended mov commands
...
FIX #8543
2017-09-20 18:11:00 +08:00
pancake
f805d0672a
Fix warnings
2017-09-17 23:27:43 +02:00
pancake
9bc246c5e9
Fix riscv again :(
2017-09-17 23:14:34 +02:00
pancake
ef201b6c92
Fix riscv disassembler for 2 byte buffer as input
2017-09-17 22:58:13 +02:00
pancake
6da1fa47bf
Fix crash in dd A, dd .,,.,,, and in V||| and V```...
2017-09-15 16:59:51 +02:00
xarkes
861648ad49
Renamed sdb models to .sdb.txt ( #8463 )
2017-09-13 09:20:34 +02:00
Pepe Vila
cbbe87bf3f
Wasm fixes ( #8492 )
2017-09-13 08:51:23 +02:00
Sven Steinbauer
baf9027548
Add ldp op to arm64 ( #8491 )
2017-09-12 18:16:24 +02:00
Sven Steinbauer
d09adae6d2
Add arm64 stp instruction ( #8490 )
2017-09-12 17:29:39 +02:00
Sven Steinbauer
86a3aa92b6
Fix asm rep ops from within r2 ( #8485 )
2017-09-12 12:45:37 +02:00
Sven Steinbauer
cb1ca045a7
Fix rep ops
...
FIX #8439
2017-09-08 13:09:39 +02:00
Sven Steinbauer
bba6bac475
Fix asembly of cdqe for 64 and 32bit
...
FIX #8427
2017-09-07 16:43:05 +08:00
Fangrui Song
e472e74b9d
Move {RAsm,RAnal}::addrbytes to RIO::addrbytes, delete asm.addrbytes and make cLEMENCy work again ( #8432 )
2017-09-04 21:41:09 +02:00
Giovanni
2740763886
Merging all cov fixes ( #8377 )
...
* 1356272 Resource leak
* 1356452,1356450 Resource leak
* flavour + strdup and fixed mistake
* 1361500 Resource leak
* 1360784 Resource leak
* 1367821 Resource leak
* removed missing allocated vars
2017-08-29 13:15:47 +02:00
Fangrui Song
277ea0dcb4
Fix memory leak in rasm2 by moving ownership of syscall from RAnal to RAsm
...
- Move null chk into the r_syscall_free
2017-08-29 12:42:49 +02:00
pancake
3f94f69e60
Enhance error checking in om and avoid adding the same map twice
2017-08-26 23:33:27 +02:00
pancake
306adb7a50
Fix for the whitespace disassembler
2017-08-26 12:56:14 +02:00
Giovanni
6fe6564b8d
Fixed 8 coverity bugs ( #8305 )
...
* 1372278 Identical code for different branches
* 1372276 Dereference after null check
* 1372273 Logically dead code
DEAD CODE. i must be between 1 and 9.
* 1372272 Logically dead code
At condition 64U - slen > 64U, the value of slen must be between 1 and 63.
At condition 64U - slen > 64U, the value of slen cannot be equal to 0.
The condition 64U - slen > 64U cannot be true.
* 1372265 Dereference after null check
* 1372264 Logically dead code
* 1372262 Logically dead code
* 1372258 Logically dead code
* 1372257 Unchecked return value
2017-08-25 18:12:12 +02:00
Giovanni
7b40f7aed1
16 more bugs fixed. most are mem leaks. ( #8307 )
...
* 1379261/1379262 Resource leak
* 1379258/1379249 Resource leak
* 1379020 Resource leak
* 1351565/1351564 Logically dead code, 1379019 Uninitialized scalar variable, 1379014 Operands do not affect result
* 1379017 Resource leak
* 1379016 Resource leak
* 1379015 Resource leak
* 1377414 Resource leak
* 1376336 Resource leak
* 1375800 Resource leak
* 1373505/1373509/1373504 Resource leak
* 1373496 Resource leak
2017-08-24 17:20:39 +02:00
Giovanni
3851e7ea20
13 coverity bugs fixed. ( #8303 )
...
* 1372431 Unused value
* 1372425 Unused value
* 1372412 Dereference before null check
* 1372410/1372409 Resource leak
* 1372400 Dereference before null check
* 1372391/1372398 Resource leak
* 1372397 Dereference before null check
* 1372394 Resource leak
* 1372390 Dereference before null check
* 1372379 Dereference before null check
* 1372304 Resource leak
* 1372298: Out-of-bounds read & 1355090: Untrusted array index read
* 1372290 Dereference null return value
* 1372283 Missing break in switch
* fixed mistake.
2017-08-24 13:31:27 +02:00
Sven Steinbauer
941c48a477
Assemble group1 ops with large offset for 64bits correctly ( #8281 )
...
FIX #8276
2017-08-23 11:32:31 +02:00
Sven Steinbauer
2f2d597318
Fix jmp with pointer values and offsets ( #8267 )
2017-08-22 20:13:02 +02:00
Sven Steinbauer
bf6596f5d4
Add support for 32bit extended regs to mov ( #8265 )
...
FIX #8251
2017-08-22 20:12:30 +02:00
Giovanni
b645c7fd1a
fixed wrong check on vle that was causing some wrong output ( #8254 )
2017-08-22 01:12:36 +02:00
Sven Steinbauer
1064fdba62
Refuse to assemble group 1 ops with dwords on 64bit ( #8257 )
...
FIX #268
2017-08-22 01:12:11 +02:00
pancake
f9073c1979
Fix some warns and off by 1 in x86.nz
2017-08-19 16:19:13 +02:00
pancake
0771170ae6
Kill io.sectonly and make io.va work as expected
2017-08-19 13:26:51 +02:00
Lowly Worm
5e70e0f8b6
update incorrect FSF addresses
...
closes #8123
2017-08-15 22:28:30 -07:00
Lowly Worm
239dd49e30
add optional "asm.armimm" to display # for immediates in arm disassembly
2017-08-15 17:47:43 -07:00
Sven Steinbauer
746eb01344
Fix short jumps for 16bit x86.nz ( #8220 )
...
FIX #8219
2017-08-15 18:45:31 +02:00
Sven Steinbauer
82faa73e9b
Fix missing error on bad args for x86.nz ( #8216 )
2017-08-15 10:54:19 +02:00
Sven Steinbauer
486ccda82f
Add rep ops to x86 ( #8210 )
2017-08-14 12:25:26 +02:00
Fangrui Song
31be3d3ba7
Add instruction descriptions from Intel Instruction Set Reference Volume 2 ( #8209 )
...
The descriptions are taken from https://github.com/HJLebbink/x86doc
2017-08-14 11:14:19 +02:00
Sven Steinbauer
c9ff94d092
Fix x86 compiler warnings ( #8192 )
2017-08-11 13:18:29 +02:00
pancake
b5c678ff6d
Fix last 3 mails of covs and some warnings
2017-08-11 13:16:19 +02:00