analyzer icon indicating copy to clipboard operation
analyzer copied to clipboard

Non-unique thread spawns

Open sim642 opened this issue 3 years ago • 0 comments

In some special cases it's desirable to spawn threads as non-unique right off the bat:

  1. Unknown functions which spawn create unique threads: https://github.com/goblint/analyzer/pull/837#discussion_r984570708. This is unsound and we should instead create the new thread immediately as non-unique.
  2. Klever stubs have a non-unique thread spawning function: https://github.com/goblint/analyzer/pull/688#discussion_r851624003.

An extra uniqueness argument needs to be added and passed from ctx.spawn to the threadid analysis through the numerous transfer functions involved.

sim642 avatar Sep 30 '22 13:09 sim642