-
Notifications
You must be signed in to change notification settings - Fork 169
Invalid tasks in HeapMemSafety #301
Comments
Yes, that's the case. So all |
@leostrakosch thank you for your response. So should I prepare a pull request removing the tasks |
This is a duplicate of #262 and #274. I actually changed About |
These tasks were added only lately in b21675b , I presume with the intent that we don't have any unclassified/unused files lying around. So my suggestion would be to keep all these incorrectly introduced And @mikhailramalho
Does the second condition [ For quick access: LexIndexValue-Pointer_false-valid-deref.c ] |
Hi @leostrakosch,
Only if it is evaluated before I checked it with clang's address sanitizer and it finds a buffer overflow. I used a slightly modified version of the program, to better localize the bug (program). As you can see, it complains about line 22, the
|
Hey, even better then, thank you for the clarification! So now only the question about renaming/removing the other files remains. |
Just to fill in the list of related pull-requests and issues, there's the #280 PR. I also added there a list of files that are suffering (or suffered) from this mislabeling: #280 (comment) |
So just to add my notes on this issue: I've rather blindly added them to categories according to their labels, only deciding between Heap vs. Array based on contents. I'm happy with any proposal that is different from "let's name them somehow and fix it later" as that has failed us before, as those files prove. |
@tautschnig as you pointed in #274 there is even no undefined behavior in |
Solved by PR #314 "Fix wrong valid-deref labels". |
Hi all,
@tautschnig and @dbeyer have currently added the following tasks
to the HeapMemSafety category. However, I don't see any invalid pointer dereference in these tasks. E.g. there is even no pointer manipulation in the task "termination-crafted/Nyala-2lex_false-valid-deref.c" at all. It looks that the tasks have been added to the repository by @leostrakosch.
I suppose that these tasks have been derived from the same tasks with
_true-termination
suffix on fixing the undefined behavior in the original tasks. The programs were left in the benchmark asfalse
cases but maybe with incorrect property (i.e., invalid dereference). Am I right or is there any invalid pointer dereference that I have not noticed? If the tasks are in the HeapMemSafety by mistake I would like to propose to remove them.The text was updated successfully, but these errors were encountered: