goblint / goblint/analyzer

warn before analyzing a program that doesn't compile?

Open
#38 1 comment 0 reactions 1 assignee View on GitHub

@karoliineh is already working on this.

Since Mar 4, 2025.

good first issue usability
Dominant language
OCaml
Stars
252
Forks
90
Avg merge
4d 1m
Merged PRs (30d)
19

Description

For example the following doesn't compile, but goblint doesn't say anything:

int f(int a, int b){
    int x = b; // this is bottom
    return a;
}
int main(){
    return f(1);
}
  • Add option (on by default, but possible to turn off) to use GCC to check whether the program compiles, and abort if if does not
  • stop Goblint execution when Cil creates a Boo inline Assembly instruction.
    • In Cil: when this assembly instruction is produces, as of now, instead fail.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.