Commit Graph

23488 Commits

Author SHA1 Message Date
Riccardo Schirone
037a521d39
Use state struct and start handling cmd_substition_arg in tree-sitter (#15966) ##core
* Fix escape/unescape in new shell parser
2020-02-13 20:41:00 +01:00
Florian Märkl
19ee4b2df7
Remove prev, jumpbb and failbb from RAnalBlock ##anal (#15969) 2020-02-13 20:40:37 +01:00
pancake
51020062bc Fix #15963 - Handle / in Vx (visual xrefs) ##visual 2020-02-13 20:38:52 +01:00
radare
f502016c57
Fix UB, oobread, infinite loop and other bugs in the LE parser (#15968) 2020-02-13 19:39:15 +01:00
Marco Grassi
73325df4d2
Fix some out of bound accesses in LE (#15943) ##bin 2020-02-13 18:31:38 +01:00
Khairul Azhar Kasmiran
4145bc9968
r2r.v: Slurp empty lines as well (#15964) 2020-02-13 17:02:49 +01:00
Florian Märkl
896c417f27
Cleanup some RAnalBlock Members (#15965) 2020-02-13 17:02:23 +01:00
pancake
9e3d175638 Simplify ownership in the PE resource parser to fix a double free 2020-02-13 16:54:53 +01:00
Florian Märkl
a5e11a3f55
Refactor Anal Hints (#15876) ##anal
* Use RVector for Address Hints
* Add Arch/Bits Hint Trees
* Add Unit Tests for Addr, Arch and Bits Hints
* Add unset for newbits
* Fix jmptbl hint fetching
* Fix r_anal_*_bits_foreach
* Print grouped Anal Hints
* Fix arch bit affect on disasm
* Add Reset Hints to Commands
2020-02-13 11:48:24 +01:00
Khairulmizam Samsudin
6dfc90c0ed Add test for type uint64_t 2020-02-13 09:56:46 +01:00
Khairul Kasmiran
b660a01020 r2r.v: Fix wg race 2020-02-13 09:56:28 +01:00
David Carlier
ab19ced2af Memory leak fix for kernel cache module. 2020-02-13 09:55:27 +01:00
abcSup
7f41c28a2e Add missing afis info in afi? and fix afis? 2020-02-13 09:49:43 +01:00
pancake
2fad5ae3c7 Fix tests 2020-02-11 01:20:56 +01:00
pancake
2fca96c248 Skip empty esil expressions in 'aeab' to fix partial results issue ##anal 2020-02-11 01:20:56 +01:00
pancake
bca9d74b1a Add graph.aeab to show esil stats instead of disasm ##graph 2020-02-11 01:20:56 +01:00
pancake
5ed92be0c0 Add 'aba' command as an alias for aeab ##anal 2020-02-11 01:20:56 +01:00
pancake
00bf84610d Fix aeab and add V (values) in aea outputs ##anal 2020-02-11 01:20:56 +01:00
pancake
446727b1f8 Improve the gentoo theme ##cons 2020-02-11 00:49:40 +01:00
pancake
bd3ae4fcaf Handle ^C in r2r.v and support threads in fuzz tests ##test
* Note that ^c is only supported on unix systems for now
* Some tests use the new radare.r2 api to use RCons.isBreaked()
* Other tests use os.signal() to catch C.SIGINT
2020-02-10 22:58:15 +01:00
Khairulmizam Samsudin
135e180d19
Add tests for assemble/disassemble neg al (#15949) 2020-02-10 21:49:02 +01:00
Khairulmizam Samsudin
95ffcdaf29
Update neg eax test (#15950) 2020-02-10 22:00:32 +02:00
pancake
10d2a1bfba Implement aeab command ##anal 2020-02-10 19:23:07 +01:00
Khairul Azhar Kasmiran
eac05b99f7
r2r.v: Fix Success: 0 when running cmd tests (#15948) 2020-02-10 15:20:49 +01:00
Anton Kochkov
a80802c608 Try V suite on FreeBSD and OpenBSD (#15852)
* Try V suite on FreeBSD
* Try V suite on OpenBSD
* Fix V lang error
* Update V lang
2020-02-10 18:00:20 +08:00
Khairulmizam Samsudin
fbd6667dc9 Fix #15851 /wj without arg produce '\n' (#15885) ##json
* Fix /wj without argument produce stray \n
- Change logic to prevent unreachable branch
- Revert to R_MODE_RADARE if there is no argument
2020-02-10 09:25:45 +01:00
Khairulmizam Samsudin
0de6f6481d Add asm x86 neg 2020-02-10 08:09:17 +01:00
pancake
0075f3fdcb Add 'wao jinf' for Dalvik ##asm 2020-02-10 00:59:39 +01:00
pancake
5cdd8b50d0 Upgrade V 2020-02-10 00:29:57 +01:00
pancake
844463444e Upgrade V 2020-02-10 00:29:07 +01:00
Khairul Kasmiran
2bb96ad4b9 Convert '..' tests to <<EOF 2020-02-10 00:23:37 +01:00
Khairul Kasmiran
38252427fc Convert EXPECT_ERR= tests to <<EOF 2020-02-10 00:23:37 +01:00
Khairul Azhar Kasmiran
be10bbe7b0
Convert some tests to use CMDS/EXPECT without enclosing quotes (#15939)
* Convert some tests to use CMDS/EXPECT without enclosing quotes
* Add test version that is friendly with node-r2r, r2r.v and AppVeyor
2020-02-08 23:10:31 +02:00
Khairul Azhar Kasmiran
8b832774be
Fix unit tests by upgrading V (#15940) 2020-02-08 13:33:51 +01:00
Khairul Azhar Kasmiran
8cc2a0bddc
r2r.v: Assume BROKEN=1 if not 0 or "" (#15936) ##test 2020-02-07 16:40:40 +01:00
Khairulmizam Samsudin
f4fa3923e7
Fix /j when there is no input argument (#15935) 2020-02-07 13:56:16 +02:00
Manuel Prinz
273133da7d
Determine Gameboy hardware registers in disassembly (#15909) ##asm
* Return address for unknown Gameboy hardware registers
2020-02-07 09:41:30 +01:00
yossizap
0881f89703
Add 'dbH' to set hardware breakpoints (#15933) ##debug 2020-02-07 09:40:23 +01:00
pancake
79c7a98488 Improve warning messages in r2r.v 2020-02-07 09:39:06 +01:00
pancake
efbc2c7345 Convert more tests to use a strictier syntax
* r2r can load test files when passed as argument
* duplicated test names are reported as warnings
* run tests from test/new instead of test/src (like r2r.js do)
2020-02-07 00:45:40 +01:00
Zi Fan
78d870bec0
Fix tccj, tccl, tcc* output errors and add tests (#15931) ##types 2020-02-07 00:41:20 +01:00
Zi Fan
9de9237c86
Fix #14325 - Honor segments in DEX files (#15920) ##bin 2020-02-07 00:34:46 +01:00
pancake
0e86459727 Upgrade to the latest V 2020-02-06 22:52:05 +01:00
Khairul Azhar Kasmiran
30cdcd8252
Use only BROKEN=1 in tests (#15932) 2020-02-06 22:47:05 +08:00
Vane11ope
2d7f7e4e6d
Fix a bug on clicking in panels (on Mac and Linux) ##panels 2020-02-06 00:19:33 +01:00
Khairul Kasmiran
4435011c8d Convert cmd_i tests to <<EOF 2020-02-05 14:17:34 +01:00
Khairul Kasmiran
7208cb54bb Upgrade node-r2r to 0.3.0 2020-02-05 14:17:34 +01:00
Florian Märkl
d1e2b8fda4
Add Unit Tests to Meson (#15926) ##test 2020-02-05 09:55:30 +01:00
Clark
f3f771d6d6
Tests for concatenated greps in pd (#15925) 2020-02-04 17:58:45 +01:00
Michael Rodler
8850bc6aaf
fixed esil for arm push/pop with conditional (#15922) 2020-02-04 09:34:02 +01:00