23967 Commits

Author SHA1 Message Date
Lowly Worm
2878c18010
fix #16550 - undefined behavior in r_pvector_foreach_prev (#16559)
if the for loop starts at count 0, we have UB from pointer overflow
2020-04-13 06:45:51 +02:00
pancake
8b0a051026
Fix heap overflow in the relocs ELF parser ##bin (#16557)
* r2 bins/fuzzed/elf1
* Ref #16464
2020-04-13 06:44:56 +02:00
pancake
e9f5ab05d0
Fix crash (null dereference) in PKCS7 (#16558) 2020-04-13 06:44:28 +02:00
pancake
8f620b6a40
Fix tricore build on Windows (#16556) 2020-04-13 10:33:47 +08:00
Khairul Azhar Kasmiran
c4a093d45e
x86_64: Use MOV opcode C7 for MOV r64, -<1 to 0x80000000> (#16551) ##asm 2020-04-12 22:47:12 +02:00
Liumeo
dc97e24c6e
argv_len already =128 (#16552) 2020-04-12 22:44:44 +02:00
Liumeo
694c3d5fa2
Fix some GCC 9.3.0 warnings (#16554) 2020-04-12 22:44:08 +02:00
curly
f9d78db7e2
Tricore basic analysis plugin with reg profile (#16522) ##arch 2020-04-12 22:42:58 +02:00
Alexis Ehret
ef07476e38
Fix various lgtm warning (#16497)
* Wrong type of arguments to formatting function root/shlr/mpc/mpc.c
* Overflow in uncontrolled allocation size ./libr/socket/run.c
* Multiplication result converted to larger type ./libr/core/cmd_print.c
* Multiplication result converted to larger type ./libr/bin/p/bin_dyldcache.c
* Multiplication result converted to larger type ./libr/core/linux_heap_glibc.c
* Multiplication result converted to larger type ./libr/core/visual.c
* Comparison of narrow type with wide type in loop condition ./libr/core/p/core_java.c
* Fix various warning -Wall ./libr/core/p/core_java.c
* Multiplication result converted to larger type ./libr/bin/format/mach0/mach0.c
* Multiplication result converted to larger type ./libr/util/print.c
* Multiplication result converted to larger type ./libr/asm/asm.c
* Fix small warning python
* Fix type error and declaration inside loop
* Reset mpc
* replace size_t
* Fix space missing, type and format
2020-04-12 20:45:24 +02:00
Paul I
7743d5e829
If possible use symbol name instead of entry name for function name (#16528) ##anal 2020-04-12 20:40:05 +02:00
pancake
e650b7dcc7
Fix asserts when trying to use a unexistant or wrong analysis plugin ##anal (#16542) 2020-04-12 19:39:17 +02:00
Paul I
790100b7bc
Improve COFF symbol info (#16523) ##bin 2020-04-12 18:07:55 +02:00
Florian Märkl
028db9cd62
Minor Fixes for XRefs counting (#16546) ##anal 2020-04-12 16:42:19 +02:00
pancake
54617455de
Initial refactoring of the rap:// protocol (-75 LOC) ##socket (#16534)
* It's implemented in IO, Socket and Core
* Remove duplicated apis and defines, everything in in RSocket now
* RIO now owns an RCoreBind instead of 3 fcn pointers + 1 void*
* Use proper filenames in libr/socket following public api names
* Use RSocket.block apis in the rap client + server apis
2020-04-12 16:40:55 +02:00
pancake
be268d30a2
Fix crash issue induced by an integer overflow in the mach0 parser ##bin (#16544) 2020-04-12 16:37:24 +02:00
karliss
0fb3b1ba16
Add some extern c to headers. (#16545) 2020-04-12 15:53:54 +02:00
Florian Märkl
082fb723df
Remove unused RAnalFunction Members (#16521)
* Remove unused RAnalFunction Members
* Kill more code
* Reintroduce temporary nargs=4
2020-04-12 20:17:45 +08:00
pancake
00a30c943a
Publish the emscripten builds (#16541) 2020-04-12 20:14:19 +08:00
pancake
58f0d8343a
Fix segfaults in fuzzed bins (#16538) 2020-04-12 12:16:51 +02:00
pancake
fdb75d3bf9
Fix memory leak in /ad/ using r_regex api wrongly ##search (#16537)
* /ad/ in /bin/ls ate 9 extra MB that was never freed
* This is about 400 bytes for each instruction disassembled
2020-04-12 10:53:41 +02:00
pancake
63e8984ab8
Fix double free and uaf in pe parser (#16540) 2020-04-12 10:52:43 +02:00
Anton Kochkov
a686a8dcff
Fix #16532 - remove outdated JS build files (#16536) 2020-04-12 06:20:20 +02:00
Florian Märkl
95fa7a3215
Fix dup af+ removing function from hts (#16526) 2020-04-12 04:34:10 +02:00
karliss
1ff6331a33
Don't use colors in json mode and fix some bugs. (#16529)
* fix color being overwritten with "" in loop, resulting in only
endcolor being printed
* rrstr memory leak
2020-04-11 19:48:19 +02:00
Khairul Azhar Kasmiran
9227c6790f
Fix #16433 - Support movabs for x86_64's MOV r64, imm64 (#16527) 2020-04-11 23:34:44 +08:00
pancake
9079a7bd96
Fix #15978 - segfault when using r2pipe webserver + local visual (#16508) 2020-04-11 01:57:39 +02:00
pancake
e9eb1a2ab3
Fix #16432 - openbsd fork+attach EBUSY issue ##debug (#16505)
* Implement is_pid_already_attached() for OpenBSD
2020-04-11 01:56:50 +02:00
Florian Märkl
0a2f9dd29e
Fix Build on NetBSD (#16520) ##build 2020-04-11 01:52:19 +02:00
Sylvain Pelissier
c53f1a30ca
Update swf test and path (#16518) 2020-04-10 19:04:40 +02:00
Anton Kochkov
99c88738b7
Better Coverity Scan GHA job name 2020-04-10 17:10:12 +08:00
Liumeo
75bc5ec905
y already >=0 (#16512) 2020-04-10 09:02:35 +02:00
pancake
067bf11e98
Fix #16109 - Add R_SYS_ARCH for s390x ##ports (#16471) 2020-04-10 08:09:41 +02:00
Liumeo
fbd2e4469e
Fix LGTM warning in UTF8 handling (#16507) 2020-04-10 12:02:08 +08:00
pancake
af51074455
Fix #16455 - iij asserts for ld-uclibc with a null import ##bin (#16509)
* Fix asserts in `iij` for ld-uclibc with a null import ##bin
* Add test for `iij` on ld-uclibc
2020-04-10 12:00:30 +08:00
Liumeo
388df51df2
Fix LGTM alert in yank command (#16506) 2020-04-10 11:47:52 +08:00
pancake
b759a0b206
Fix #15165 - Assert in empty esil string for ARC emulation (#16510) 2020-04-10 11:46:54 +08:00
Khairul Azhar Kasmiran
f31e6ca527
Fix #16283 - Continue as normal even if detachee is not found (#16500) 2020-04-09 23:07:03 +02:00
pancake
d3bbfa95c6
Fix #16327 - Search in range with io.va=false ##search (#16496) 2020-04-09 22:47:27 +02:00
Anton Kochkov
a9090ff62b
Remove unnecessary newline in version (#16494) 2020-04-09 19:08:17 +02:00
Liumeo
e7ae72cf9c
keep ut16 (#16499) 2020-04-09 19:02:11 +02:00
Liumeo
e70bb7c206
table_size should be ut64 (#16501) 2020-04-09 19:00:22 +02:00
Itay Cohen
742fd214cc
Remove debug leftovers in cbin (#16504) 2020-04-09 18:59:45 +02:00
pancake
c567465db2
Fix #16495 - Broken build (#16502) 2020-04-09 18:34:03 +02:00
Liumeo
871b68bb8c
Fix wrong format for long in mpc (#16474) 2020-04-09 18:15:14 +08:00
Florian Märkl
fdb17b6329
Sync SDB (#16491)
SDB Commit: 9cbdd20d8da21fb58486e6207dc486c6cc5b402f
2020-04-09 18:14:29 +08:00
Liumeo
3caf98ecb2
Keep two vars in dex as ut16 (#16487) 2020-04-09 11:06:24 +02:00
Paul I
bd4e3f8bdb
Add rust lang support to iD command (#16490) ##bin 2020-04-09 11:05:38 +02:00
Riccardo Schirone
ad17ab6d81
Run newshell tests when PR is newshell-* (#16481)
Split the workflow in a separate file
2020-04-09 11:50:41 +08:00
pancake
e4818cd5e5
Fix #16418 - Implement blind main detection on endbr+mov files ##bin 2020-04-09 11:49:39 +08:00
Liumeo
2154e13c50
DEX - Keep original type (#16486) 2020-04-09 11:47:46 +08:00