Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A bug in checking undefined behavior #212

Open
mchalupa opened this issue Nov 24, 2021 · 1 comment
Open

A bug in checking undefined behavior #212

mchalupa opened this issue Nov 24, 2021 · 1 comment
Labels

Comments

@mchalupa
Copy link
Member

Symbiotic reports false(def-behavior) for this program

int main() {
        int array1[1];
        int count;
        for(count=0;count<1;count++)        {
                array1[count] = 0;
        }
}

The command: symbiotic/bin/symbiotic --sv-comp --prp undefined --save-files --no-slice program.c
Symbiotic version: SV-COMP 2022 (the official archive)

@mchalupa mchalupa added the bug label Nov 24, 2021
@MichalHe
Copy link
Contributor

This program probably triggers the same bug - undefined behavior is reported.

int main() {
    int c = 0;
    int arr[1];
    arr[c] = 42;
    return 0;
}

@lzaoral lzaoral added sv-comp Related to sv-comp and removed sv-comp Related to sv-comp labels Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants