Florian Märkl
a3fa2dde37
Fix double free in oc
( Fix #16163 ) ( #16166 )
...
* Fix double free in `oc` (Fix #16163 )
* Add test for `oc`
2020-03-09 11:56:20 +08:00
Florian Märkl
a30da17a6f
Fix some Projects Tests ( #16167 )
2020-03-08 19:56:34 -05:00
Óscar Carrasco
23bb5bb3cc
Fix afs not showing types and args ##types ( #16074 )
...
* Fix by implementing r_anal_fcn_to_str
* Refactor function syntax
* Fix testsuite
* Fix leaking pointers and code review
* Move __add_vars_sdb from aaft to af
* Fix more tests
* Rename r_function_get_name to r_function_get_signature
* Fix regression and remove extra semicolon
* Fix last regressions
2020-03-07 05:34:43 -06:00
radare
e37a2e1b9c
Fix UAF in om= ( #16149 )
2020-03-05 18:07:03 +01:00
radare
d96120799d
Added size info to anal classes ( #16129 ) ##bin
2020-03-05 18:06:27 +01:00
radare
dde3f0c25a
Convert one-line CMDS=<<EOF to single-line CMDS= ( #16150 )
2020-03-05 17:01:28 +01:00
radare
dfe3be8233
Remove duplicate test, add wopD* test ( #16148 )
2020-03-05 13:54:46 +01:00
Anton Kochkov
077a796eb5
Remove dupe tests in cmd/shell ( #16137 )
2020-03-05 12:38:33 +08:00
pancake
bb78ef3457
Drop the reset attributes on newlines
2020-03-04 02:10:07 +01:00
radare
33f2e9bed6
Fix again the EOL bgcolor issue (and improve scr.html) ( #16120 ) ##cons
2020-03-04 00:09:12 +01:00
pancake
ac7dee29ac
Fix test
2020-03-03 19:54:07 +01:00
Florian Märkl
1ec715607c
Add Test for FLIRT on static glibc 2.27
2020-03-03 18:36:17 +01:00
Riccardo Schirone
d88a76d2df
tree-sitter: support iter commands ( #16111 ) ##core
...
* radare2-shell-parser: shrink to single-command output when substituing
Before this patch, when substituing arguments the entire input string
was considered, making the process potentially slow if the input was
long. With this patch, substitute_args and parse_args work on a shrinked
version of the input, which includes only the current command.
Not only it improves performance, but it also prevents issues where
other non-related parts of the input string could be replaced during
apply_edits.
* radare2-shell-parser: implement some iter commands
* Add support for number_command and recursive help
* cmd_ignbithints should be set everywhere for consistency
* Save rnum->value before doing a cmd substitution
* Update radare2-shell-parser to fix null deref in html_disable_command
2020-03-03 12:42:38 +01:00
Florian Märkl
3a4d7365fd
Add test for loading typedefs with to ( #16101 )
2020-03-03 12:39:30 +01:00
pancake
f5aecb8534
Add test for #16094
2020-03-02 14:51:19 +01:00
Florian Märkl
9e713900e5
Fix a null-deref in afn ( #16091 )
2020-03-02 14:34:58 +01:00
Khairul Azhar Kasmiran
76c90e30ce
Convert delimited tests to <<EOF ( #16082 )
2020-03-02 13:42:06 +08:00
Florian Märkl
9672967a45
Rename the Function Flag on afn ( #16078 ) ##anal
2020-02-29 19:30:09 +01:00
Florian Märkl
6604006629
Fix null-deref on afv[rbs]-* without function ( #16071 )
2020-02-28 12:00:07 +01:00
radare
12495ec098
Fix #16063 - bgcolor not reset on newlines ##cons ( #16064 )
2020-02-28 11:34:36 +01:00
pancake
c730646374
r2r.v path/to/cmdtest works now
2020-02-28 01:54:48 +01:00
Khairul Azhar Kasmiran
c8345b05d1
Convert NAME='name' to NAME=name in tests ( #16067 )
2020-02-28 01:06:45 +01:00
Óscar Carrasco
aa8c7de595
Implement function names with dots in signatures ##anal ( #15993 )
...
* Allow function names containing dots in tcc
2020-02-26 14:23:47 +01:00
Zi Fan
97498c377c
Fix iS hash outputs ( #16044 ) ##bin
...
* Refactor bin_sections function
* Add filter_hash_string function
2020-02-25 00:08:38 +01:00
Khairul Azhar Kasmiran
ff457782e8
Remove ARGS= from tests ( #16032 )
2020-02-23 09:44:10 +01:00
Itay Cohen
0ad05eb090
Support real names in "fd" command ( #16027 )
...
* add tests for fdj and fd.j
* Add support for realnames in fd
* Add a Test for fd with realname
Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2020-02-23 10:08:04 +02:00
Khairulmizam Samsudin
07d9203366
Code cleanup for r_core_esil_step() ( #16017 ) ##esil
...
* Code cleanup in r_core_esil_step()
* remove unnecessary call to initializeEsil()
* remove another set PC register in initializeEsil()
* Add test for aes without initialization
2020-02-22 10:09:53 +01:00
Riccardo Schirone
eba038bc3c
Add test for env with spaces
2020-02-21 23:58:24 +01:00
Khairul Kasmiran
d913c8dbe6
r2r.v: Fix EXPECT_ERR check
2020-02-18 14:04:28 +01:00
Khairul Kasmiran
258ed8193f
r2r.v, BROKEN=0: Check only first char
2020-02-17 16:57:36 +01:00
bannsec
7a39bb9245
Echi bad color ( #15986 )
...
* Outputting error on ecHi bad color
* Added a testcase
2020-02-17 11:54:48 +08:00
Khairul Azhar Kasmiran
20c642ceb3
Convert ONE_STREAM tests to EXPECT_ERR ( #15979 )
2020-02-16 15:41:09 +01:00
abcSup
7ca08bf6b9
Add support for self, error register argument (Swift)
2020-02-14 07:59:41 +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
pancake
2fad5ae3c7
Fix tests
2020-02-11 01:20:56 +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
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
Khairul Kasmiran
4435011c8d
Convert cmd_i tests to <<EOF
2020-02-05 14:17:34 +01:00
Clark
f3f771d6d6
Tests for concatenated greps in pd
( #15925 )
2020-02-04 17:58:45 +01:00
Hye Sung Jung
757c23d5db
Fix spelling errors ( #15904 )
2020-01-27 07:43:47 +01:00
Khairul Azhar Kasmiran
2b7bf5bee2
Treat empty string as false when boolifying ( #15859 )
...
* Treat empty string as false when boolifying
* Fix :, in ej output
2020-01-21 21:01:06 +08:00
Florian Märkl
52820e2f58
Fix afb test ( #15861 )
2020-01-20 07:35:48 -05:00
Óscar Carrasco
1a57682ed0
Fix afs not working without rettype ##anal ( #15847 )
...
* Add test for afs without type
2020-01-19 23:56:00 +01:00
Anton Kochkov
791fabc0d4
More tests fixes
2020-01-19 16:56:08 +08:00
Itay Cohen
0d45034037
Remove realname from strings ( #15841 ) ##disasm
2020-01-18 23:11:12 +01:00
Khairul Kasmiran
50924a814e
Fix #15604 : Convert all tests from <<KEYWORD to <<EOF
2020-01-17 17:47:00 +01:00