pancake
36653ebe5a
Honor rc in unit runs and fix execution path in make run
2020-02-17 16:36:31 +01:00
pancake
f55c51443d
Handle return code in r2r.v and fix crashing unit test
2020-02-17 16:36:31 +01:00
pancake
306b6f11cd
Fix asan crash in ecH-
2020-02-17 16:35:10 +01:00
Zi Fan
b3e4c5d8e0
Fix compilation warnings ( #15988 )
2020-02-17 16:05:51 +08: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 Kasmiran
78e21373be
Revert "ONE_STREAM_HACK & scr.onestream: Force expected ONE_STREAM order if necessary ( #15535 )"
...
This reverts commit 39b40cdedd
.
2020-02-17 00:00:46 +01:00
fooxax
9e02536974
Fixing typo in command documentation of /m ( #15982 )
...
'patters' -> 'patterns'
2020-02-16 21:38:16 +01:00
Riccardo Schirone
a62b46eda2
Fix memory leak in test_rbtree ( #15983 )
2020-02-16 21:37:29 +01:00
Francesco Tamagni
e9c7896154
Parse dyldcache local symbols ##bin ( #15980 )
...
Add logic to parse unmapped local symbols.
Every macho image present in the dyldcache has all the metadata about its local symbols stripped away from the corresponding macho header. Instead, this information is present as dyldcache-specific metadata stored in unmapped parts of the cache file.
This PR, for every loaded image, takes care of adding the local symbols which are missing.
Bonus
Fix a potential use-after-free caused by r_bin_object_set_items, by rebuilding class-related hash tables after replacing the class list.
2020-02-16 15:43:31 +01:00
Khairul Azhar Kasmiran
20c642ceb3
Convert ONE_STREAM tests to EXPECT_ERR ( #15979 )
2020-02-16 15:41:09 +01:00
Florian Märkl
cf09972367
Remove more members from RAnalBlock ##anal ( #15975 )
...
* Remove RAnalBlock.type
* Remove RAnalBlock.cases
* Remove RAnalBlock.label
* Reorder RAnalBlock members to free 16 more bytes
2020-02-14 17:50:10 +01:00
Khairulmizam Samsudin
e94b70b900
Fix #13908 - x86 aoj for instruction with hidden operand ##asm ( #15972 )
...
* Handle instructions with hidden operand
* Add hidden_op() for instructions with hidden operand
* Added operands info for pushf, popf, pushfd, popfd, pushfq, popfq
* Add test for aoj for pushf
2020-02-14 17:34:14 +01:00
radare
7c115b1eda
Fix last covs ( #15976 )
2020-02-14 17:30:34 +01:00
Riccardo Schirone
88a424164c
Fix too long var name and assert on strlen (c) > 1
2020-02-14 16:29:36 +01:00
Riccardo Schirone
54404da94b
Fix grep when there is also {}
...
r_cons_grep_strip expects the ~, otherwise it does not work well.
2020-02-14 16:29:36 +01:00
Riccardo Schirone
78db2b12dc
new parser: fix multiple words in grep and add support for > $alias
2020-02-14 16:29:36 +01:00
abcSup
1d575aefde
Add tests for swift-x86-64 calling convention
2020-02-14 07:59:41 +01:00
abcSup
30b6ae559b
Update afcr, afs command
2020-02-14 07:59:41 +01:00
abcSup
7ca08bf6b9
Add support for self, error register argument (Swift)
2020-02-14 07:59:41 +01:00
abcSup
ffdb81d41a
Refactor and Add Swift calling conventions to sdb
2020-02-14 07:59:41 +01:00
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