Commit Graph

22191 Commits

Author SHA1 Message Date
Anthoine Bourgeois
a846d314dc Fix type "intgerp" -> "intgrep"
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
pancake
cbc949c039 Remove tree-sitter and the r2-shell-parser ##shell
* Will be reimplemented soon with a new parser
* Simplifies and speedup the build
2021-04-24 21:58:09 +02:00
Dennis Goodlett
f550986e8e
Add byte signature diff zd ##diff ##signatures () 2021-04-24 09:26:13 +02:00
David CARLIER
9a14c294fc
r_types: Reverse order of constant definitions for Darwin () 2021-04-23 19:56:58 +02:00
condret
704d779cb2 Speedup r_codemeta_in on 32-bit platforms 2021-04-21 21:11:13 +02:00
pancake
07be57f33a
Fix loading symbols from nested ELF ##bin () 2021-04-21 20:25:04 +02:00
condret
e28606ffb9
Fix upper boundary check in r_codemeta_in () 2021-04-21 19:57:59 +02:00
pancake
be248ddc1b
Fix some Leaks in Dex ()
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 () 2021-04-21 18:10:12 +02:00
pancake
580ebc8edc
Fix oobreads in the PE SEH parser () 2021-04-21 15:21:55 +02:00
pancake
46fbda4183
Fix a couple of oobreads () 2021-04-21 14:46:31 +02:00
pancake
bfcc61b48f
Fix OOB read crash in dex parser () 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 () 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
f98bdc775f
Add dbg.wrap for changing want_ptrace at runtime ##debug () 2021-04-21 12:07:01 +02:00
pancake
1721ebf558
Fix - UB in left shift parsing uleb128 () 2021-04-21 11:29:33 +02:00
pancake
ba10740fe5
F keys in interactive graph forces to refresh the thing () ##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
05cf509ef8 API compat define for 5.2.0 2021-04-21 08:24:46 +02:00
Michal Ambroz
3b95a8f754
Avoid c99 feature ()
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
f90995b526 Break the RCodeMeta API once again 2021-04-21 00:15:46 +02:00
condret
e80982d7f3
Codemeta speedup ()
* 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 ()
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 ()
* Only allow lowercase letters, numbers and lowerdash
2021-04-19 14:15:27 +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 () 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 () 2021-04-19 09:38:58 +02:00
Sylvain Pelissier
0cb68b4c7c
ESIL for some SSE and MMX bitwise instructions ()##esil 2021-04-19 09:38:32 +02:00
pancake
dbcbbce7b4
Fix pdcj () 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
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' () ##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 () 2021-04-16 19:19:56 +02:00
Tomasz Gorochowik
3688bdbe8a
Fix regexp search in rafind2 ##search () 2021-04-16 19:08:29 +02:00
pancake
4905e3af91
Fix - Sort bbs before comparing them for diffing code ##diff ()
Co-authored-by: pancake <pancake@nopcode.org>
2021-04-16 17:57:13 +02:00
RHL120
280a4cddba
Fixed confusion between *input and *arg in cmd_ls() () 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
Rin
caf09b9264
Improve MIPS support(mips.gnu) by migrating new codes from binutils () ##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