pancake
17ddbfd7d4
Fix linux-x64 test
2021-04-25 02:26:50 +02:00
pancake
c217db6b8d
Fix oob crash in 'pri' command ##print
2021-04-25 01:44:35 +02:00
pancake
04cf5922b9
Fix asan-fuzz tests (fixes recent uaf and ub around)
2021-04-25 01:35:53 +02:00
pancake
0ab7d91471
Improved type propagation analysis ##anal
2021-04-25 01:11:57 +02:00
pancake
9f64bd3228
Fix #18323 - honor anal.calls in aa ##anal
2021-04-25 01:11:57 +02:00
pancake
a839e0f760
Speedup dwarf loading when no files are found in disk ##bin ( #18623 )
2021-04-24 23:16:21 +02:00
pancake
55699b9a2a
Use afls in aflm call on ppc test to avoid analysis order diff issues
2021-04-24 22:44:02 +02:00
pancake
a8238d3e37
Add io.cache.nodup to not write the same bytes in the cache ##io
2021-04-24 22:40:51 +02:00
pancake
2434c3ca74
Switch to Capstone5 as default ##asm ( #18127 )
...
* Add riscv for capstone5 in the meson
* Report capstone version in the asm plugins
* Many changes in the ppc analysis, seems like it's improved, (emulation quality and xrefs)
* Update all tests and report issues in capstone4 to upstream
* Fix-x86-16 test marked as broken as it needs better fix
2021-04-24 22:04:51 +02:00
pancake
e53ed0ab04
Use proper ascii quotes
2021-04-24 21:58:09 +02:00
pancake
0bba1059f8
Don’t treat warnings as errors in the macOS CI
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
c66854e85d
remove use_newshell, there is only one now
...
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
7b150217b3
Test "db/cmd/cmd_seek seekinstr" is valid with newshell
...
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
3a6a27727d
Mark oldshell as broken
...
Broken tests:
db/cmd/regexp - "/e /t\wst\d\d\d\s\w\w/i" - oldshell
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
603bb3bee0
Trim tail sub-command buffer to avoid tailing space
...
Finally fix:
db/cmd/feat_quote Quotes and substitution - newshell
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
1b3e24257e
Handle $() and `` as equal sub-command.
...
Test fix:
db/cmd/feat_quote Quotes and substitution - newshell
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
b6fd9e2d11
backtick is a known escape subcommand character.
...
New test in:
db/cmd/feat_quote Quotes and substitution - newshell
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
41339efd7c
Do not execute subcommand under simple quotes protection.
...
Partially fix:
db/cmd/feat_quote Quotes and substitution - newshell
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
6a6b8a0e41
Protect arroba under quotes.
...
Tests fix:
db/cmd/feat_quote Single quotes - newshell
db/cmd/feat_quote Double quotes - newshell
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
6544e53680
Write cmd also need to handle quotes like echo cmd
...
Partially fix:
db/cmd/feat_quote Double quotes - newshell
db/cmd/feat_quote Single quotes - newshell
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
63f874c310
simple and double quotes also unescape.
...
Partially fix:
db/cmd/feat_quote Single quotes - newshell
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
4cf97fadc2
Trim arguments to be closer to echo
...
Test fixed:
db/cmd/cmds hash comment and simple quote
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
752ddf6a46
debug: Do not print 0 on unknown register
...
Fix CI linux-test.
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
c88877f990
Remove refs to radare2-shell-parser
...
This fix the CI build of linux-static.
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
987212fdd6
unescape the alias' argument
...
Test fixed:
db/cmd/cmd_interpret $foo=#!pipe
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
074f027fd3
cmd: simple quotes also escape the hash comment
...
Add a new test:
db/cmd/cmds hash comment and simple quote
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
6e838b6ba4
cmd: double quotes escape the semi-colon command separator
...
Simple quotes already has.
Test fixed:
db/tools/rax2 C array {0x33,33,23,32}
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
Anthoine Bourgeois
e55da9853f
cmd: flush console buffer between multi-command
...
Tests fixed:
db/cmd/feat_grep multi-command single-line grep
db/cmd/cmd_zignature af ; af ; zfs libc-v10.sig - newshell
db/cmd/cmd_zignature af ; af ; zfs libc-v7.sig - newshell
New test failed:
db/tools/rax2 C array {0x33,33,23,32}
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
2021-04-24 21:58:09 +02:00
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
pancake
5f5d05d9dc
After release version bump
2021-04-24 17:59:49 +02:00
Dennis Goodlett
f550986e8e
Add byte signature diff zd
##diff ##signatures ( #18620 )
2021-04-24 09:26:13 +02:00
David CARLIER
9a14c294fc
r_types: Reverse order of constant definitions for Darwin ( #18618 )
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
8399b8859b
Release 5.2.1
5.2.1
2021-04-21 20:25:58 +02:00
pancake
07be57f33a
Fix loading symbols from nested ELF ##bin ( #18615 )
2021-04-21 20:25:04 +02:00
pancake
c3aafd6930
Aim to blind fix the termux build date issue
2021-04-21 20:11:42 +02:00
condret
e28606ffb9
Fix upper boundary check in r_codemeta_in ( #18614 )
2021-04-21 19:57:59 +02:00
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