Open Maijin opened 6 years ago
This is called flag tags. It was already there. See libr/flag/d
On 7 Sep 2018, at 13:37, Maijin notifications@github.com wrote:
Move Unsafe function feature in radare2 -
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@trufae This needs to be merged with the function definition database, it's a dup
To create a consolidate database, something like XXX.unsafe similar to the noreturn in the types sdb
is this tracked in r2?
Not yet
@radare @Maijin what would be the best option to create this in r2?
I wonder if we should not remove this feature for now.
what are your arguments?
@ITAYC0HEN there is a database for this on r2 side see @trufae messages previously. But this needs to be merge with the function prototype database with something like "XXX.unsafe=1".
I think the list we have is non exhaustive, linux only (afair), and so not very useful. Either do it correctly which is having a complete list of "dangerous" functions, otherwise it might not be that interesting, or remove it. As said I prefer to have stable things than "work in progress" or "proof of concept" things inside Cutter.
@xarkes so you want to remove it? do you find it useless?
I wouldn't say it's totally useless, but it's a feature that should be supported in radare2, or as a plugin.
its already in r2, read my comments above
I have created this issue to improve it https://github.com/radare/radare2/issues/13782 feedback is welcome
Move Unsafe function feature in radare2 -
https://github.com/radare/radare2/blob/217edd4be5e4f31e728156d19f1b3ddcaa4c512a/libr/anal/d/types.sdb.txt#L184