Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit d0c7e851 authored by PHILIPPE Pierrick's avatar PHILIPPE Pierrick
Browse files

Adding a test for full struct tainting

parent c9a1b573
No related branches found
No related tags found
No related merge requests found
struct foo {
int x;
int z;
};
int main(void) {
int res = 0;
int y = 42;
struct foo __attribute__((__taint__)) bar = { y , 50 };
if (bar.x) // Should be detected
res = 42;
if (bar.z) // Should be detected
res = 60;
return res;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment