Skip to content

Commit

Permalink
Exclude more pthread types from base
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Jul 28, 2023
1 parent 6358f8c commit f5a1641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdomains/valueDomain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ struct
| _ -> false

let is_mutex_type (t: typ): bool = match t with
| TNamed (info, attr) -> info.tname = "pthread_mutex_t" || info.tname = "spinlock_t" || info.tname = "pthread_spinlock_t"
| TNamed (info, attr) -> info.tname = "pthread_mutex_t" || info.tname = "spinlock_t" || info.tname = "pthread_spinlock_t" || info.tname = "pthread_cond_t" || info.tname = "pthread_mutexattr_t"
| TInt (IInt, attr) -> hasAttribute "mutex" attr
| _ -> false

Expand Down

0 comments on commit f5a1641

Please sign in to comment.