25812 Commits

Author SHA1 Message Date
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
pancake
7b49d06713 Remove unexistant r_flag_color() and mention iaito instead of r2cutter in pdcj 2021-04-15 01:15:09 +02:00
Tomasz Gorochowik
f235a59d9d
Filename printing improvements in rafind2 ##search
* Show filename only when match is found
* Refactor rafind2 json output to use pj
2021-04-14 19:05:16 +02:00
Tomasz Gorochowik
4f1f0775cd
Clang format script fixes (#18580) ##dev
* Fix off-by-one error in clang-format-diff detector
* Improve debug messages in clang-format-diff (Thanks to this change the detected ranges will be actually wrapped in the start/end debug messages.)
* Make clang-format-diff detect changes in each chunk separately
2021-04-14 19:03:55 +02:00
pancake
62c5707303 Use dbg.map in {search,anal}.in when cfg.debug is set ##debug
* Improves `aaa` in debugger
2021-04-14 11:47:57 +02:00
pancake
374a9fbd85 Avoid scanning for preludes on large regions ##debug 2021-04-14 11:40:31 +02:00
murphy
702e1c1ada Fix CI 2021-04-13 20:09:33 +02:00
murphy
5febb2dbc6 Fix error in file.c 2021-04-13 20:09:33 +02:00
murphy
2d1733c3dc Fix 1445553 Uninitialized scalar variable 2021-04-13 20:09:33 +02:00
murphy
d95406b82e Fix 1445924 Resource leak 2021-04-13 20:09:33 +02:00
murphy
d0f60a1dd1 Fix 1446205 Resource leak 2021-04-13 20:09:33 +02:00
murphy
0fc8f7ad0c Fix 1446541 Resource leak 2021-04-13 20:09:33 +02:00
murphy
f7ff702e58 Fix 1446543 Resource leak 2021-04-13 20:09:33 +02:00
murphy
60290f8629 Fix 1446544 Argument cannot be negative 2021-04-13 20:09:33 +02:00
murphy
4bef13edc3 Fix 1446545 Resource leak 2021-04-13 20:09:33 +02:00
murphy
ec15814134 Fix 1446672 Resource leak 2021-04-13 20:09:33 +02:00
murphy
985abf8c10 Fix 1447033 Resource leak 2021-04-13 20:09:33 +02:00
murphy
bbc2fbbbb0 Fix 1450830 Resource leak 2021-04-13 20:09:33 +02:00