25829 Commits

Author SHA1 Message Date
pancake
be248ddc1b
Fix some Leaks in Dex (#18613)
Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2021-04-21 18:52:47 +02:00
pancake
612fc9b35a
Fix oobread bug in the GNU arm64 disassembler (#18612) 2021-04-21 18:10:12 +02:00
pancake
580ebc8edc
Fix oobreads in the PE SEH parser (#18611) 2021-04-21 15:21:55 +02:00
pancake
46fbda4183
Fix a couple of oobreads (#18610) 2021-04-21 14:46:31 +02:00
pancake
bfcc61b48f
Fix OOB read crash in dex parser (#18609) 2021-04-21 13:24:50 +02:00
pancake
0f5a7ce45f Fix non-null terminated bug in io.winedbg 2021-04-21 13:22:37 +02:00
pancake
95f655b455
Fix out of bounds read in anal.arm64 bug spotted by coverity (#18608) 2021-04-21 13:21:00 +02:00
pancake
ea43bc4da9 null terminate long string in rtrshell 2021-04-21 13:11:41 +02:00
pancake
267b04e04c Fix non-null terminated string issue in visual 2021-04-21 13:10:45 +02:00
pancake
d1cd05a82d Fix oob read crash in dietline 2021-04-21 13:07:04 +02:00
pancake
b24cd8c692 Fix off-by-one read issue in r_file_abspath_rel 2021-04-21 13:04:55 +02:00
pancake
b8fb36bae1 Fix UAF in r_parse_immtrim 2021-04-21 13:00:42 +02:00
pancake
402051f66e Fix uninitialized variable bugs in libzip 2021-04-21 12:45:34 +02:00
pancake
f98bdc775f
Add dbg.wrap for changing want_ptrace at runtime ##debug (#18607) 2021-04-21 12:07:01 +02:00
pancake
1721ebf558
Fix #18604 - UB in left shift parsing uleb128 (#18605) 2021-04-21 11:29:33 +02:00
pancake
ba10740fe5
F keys in interactive graph forces to refresh the thing (#18606) ##graph 2021-04-21 10:47:49 +02:00
pancake
b0cfb6f714 Fix Alpine debugger build warnings 2021-04-21 08:36:30 +00:00
pancake
6ada19d138 Use RCodeMetaItem.clone in the test 2021-04-21 10:18:30 +02:00
pancake
05cf509ef8 API compat define for 5.2.0 2021-04-21 08:24:46 +02:00
Michal Ambroz
3b95a8f754
Avoid c99 feature (#18602)
Hello,
this patch avoids c99 feature of declaring variable withing the for stanza. 


Sample build log output
FAILED: libr/crypto/libr_crypto.so.5.2.0.p/p_crypto_cps2.c.o 
cc -Ilibr/crypto/libr_crypto.so.5.2.0.p -I. -I.. -I../libr/include -I../shlr/spp -I../shlr/sdb/src -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -O2 -g -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -pthread -DR2_PLUGIN_INCORE=1 -MD -MQ libr/crypto/libr_crypto.so.5.2.0.p/p_crypto_cps2.c.o -MF libr/crypto/libr_crypto.so.5.2.0.p/p_crypto_cps2.c.o.d -o libr/crypto/libr_crypto.so.5.2.0.p/p_crypto_cps2.c.o -c ../libr/crypto/p/crypto_cps2.c
../libr/crypto/p/crypto_cps2.c: In function 'set_key':
../libr/crypto/p/crypto_cps2.c:729:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (int b = 0; b < 10 * 16; b++) {
   ^
../libr/crypto/p/crypto_cps2.c:729:3: note: use option -std=c99 or -std=gnu99 to compile your code
ninja: build stopped: subcommand failed.
2021-04-21 01:27:33 +02:00
pancake
1d600a39ae Fix unit test 2021-04-21 01:05:57 +02:00
pancake
f90995b526 Break the RCodeMeta API once again 2021-04-21 00:15:46 +02:00
condret
e80982d7f3
Codemeta speedup (#18601)
* Implement new rbtree cmp for inserting codemeta
2021-04-20 22:27:16 +02:00
pancake
b5e262a6b9 Linux debugger improvements 2021-04-19 17:28:42 -07:00
pancake
c04ae7dd64
Fix warnings in the ihj command (#18599)
Co-authored-by: pancake <pancake@nopcode.org>
2021-04-19 14:17:14 +02:00
RHL120
13bc241a03
Added stricter rules to is_valid_project_name ##projects (#18598)
* Only allow lowercase letters, numbers and lowerdash
2021-04-19 14:15:27 +02:00
pancake
88c76bc0f1
Use debian stable to build the debian package instead of Ubuntu (#18595)
* GHA references https://github.com/actions/virtual-environments/issues/3111
2021-04-19 14:14:33 +02:00
pancake
1e0e357cd7 Fix warning to make the CI happy 2021-04-19 14:08:23 +02:00
pancake
a3896df17a
Cleanup codemeta and follow standards in free methods (#18596) 2021-04-19 13:48:58 +02:00
pancake
07a05df6de Use size_t instead of int for ptrace_data_t 2021-04-19 10:30:52 +02:00
Dennis Goodlett
6d0e10815f
Remove duplicate code in levenshte path ##diff (#18592) 2021-04-19 09:38:58 +02:00
Sylvain Pelissier
0cb68b4c7c
ESIL for some SSE and MMX bitwise instructions (#18593)##esil 2021-04-19 09:38:32 +02:00
pancake
dbcbbce7b4
Fix pdcj (#18591) 2021-04-18 22:44:18 +02:00
pancake
7a39abeaff Ignore ENODEV on RDebug.regGet on Linux for kernels not supporting ##debug 2021-04-17 22:33:09 +00:00
Francesco Tamagni
52b4598d11 Honor value_add when estimating dyldcache slide ##bin
macOS caches have `value_add` set to a non-zero value, and
`estimate_slide` wasn't taking it into account resultin in a wrong side
estimation.
2021-04-17 20:14:36 +02:00
Tomasz Gorochowik
422c5adb0b Add multiple new rafind2 tests 2021-04-16 22:23:14 +02:00
Tomasz Gorochowik
b328971f5e Fix regexp keywords 2021-04-16 22:23:14 +02:00
Tomasz Gorochowik
c6743de865 Fix json output for regexp in rafind2 ##search 2021-04-16 22:23:14 +02:00
pancake
5f98cb2ff8
Add new theme named 'bluy' (#18588) ##cons
Co-authored-by: pancake <pancake@nopcode.org>
2021-04-16 19:29:22 +02:00
pancake
71dc8b715c
Move shlr/ptrace-wrap into libr/io, simplify build (#18587) 2021-04-16 19:19:56 +02:00
Tomasz Gorochowik
3688bdbe8a
Fix regexp search in rafind2 ##search (#18586) 2021-04-16 19:08:29 +02:00
pancake
4905e3af91
Fix #18260 - Sort bbs before comparing them for diffing code ##diff (#18584)
Co-authored-by: pancake <pancake@nopcode.org>
2021-04-16 17:57:13 +02:00
pancake
23b838a0a9
Remove all the travis and codecov reminiscenses (#18585)
* Codecov and Travis scripts were disabled on January
2021-04-16 17:56:50 +02:00
RHL120
280a4cddba
Fixed confusion between *input and *arg in cmd_ls() (#18583) 2021-04-16 17:13:47 +02:00
pancake
3fcba682b6 Fix drx issue and step failing on linux-arm64 ##debug 2021-04-16 00:52:28 +02:00
pancake
25ba55f4db Fix iCj output 2021-04-15 15:20:32 -07:00
pancake
29abfafbb3
Fix #18576 - empty R2_GITTAP (#18581) 2021-04-15 21:16:33 +02:00
Rin
caf09b9264
Improve MIPS support(mips.gnu) by migrating new codes from binutils (#18579) ##disasm
* Refresh old files with current binutils (copyright notes are not updated for now)
* Add remain components from binutils-gdb
* Update original copyright messages
* Modify MIPS disassembler to match output style
* Try to fix wrong jalx argument decoding
* Fix a gs264e disassembling bug caused by wrong definition
* Fix MSVC compiling problem, and add original binutils commit info
* Add disasm_obj.arch assignment back
* Add missing space character in comment
2021-04-15 18:24:41 +02:00
pancake
ed5d73d3a7 Fix other empty i*j ##json 2021-04-15 01:54:24 +02:00
pancake
ec2d5c1258 Fix empty JSON issue in iMj command 2021-04-15 01:51:33 +02:00