- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 0f3780b8-2f7b-4602-aed4-d7d14316c35c
    creation_time: 2024-09-27T14:09:17Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''mutex-meet'' ''--set'' ''ana.activated[+]'' ''apron''
        ''--set'' ''ana.autotune.activated[-]'' ''octagon'' ''--sets'' ''ana.specification''
        ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/properties/unreach-call.prp''
        ''--sets'' ''exp.architecture'' ''32bit'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content:
    ghost_variables:
    - name: multithreaded
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - name: m_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 761
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 750
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 742
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 750
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 742
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 750
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 742
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 750
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 742
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 750
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 742
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 750
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 742
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 733
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 726
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 733
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 726
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 733
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 726
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 733
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 726
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 733
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 726
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 733
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 726
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 733
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 726
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 51d42ece-1e73-43e0-b0d5-793d3e2d6b35
    creation_time: 2024-09-27T14:09:17Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''mutex-meet'' ''--set'' ''ana.activated[+]'' ''apron''
        ''--set'' ''ana.autotune.activated[-]'' ''octagon'' ''--sets'' ''ana.specification''
        ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/properties/unreach-call.prp''
        ''--sets'' ''exp.architecture'' ''32bit'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content:
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 762
        column: 3
        function: main
      value: '! multithreaded || (m_locked || ((-1LL + (long long )receive) + (long
        long )send >= 0LL && (1LL - (long long )receive) - (long long )send >= 0LL))'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_bad.i
        file_hash: a5ee9b9286f55973fff2cea9c449f3602c5be2a48fed2e7e6cce6beebc18d9bc
        line: 763
        column: 3
        function: main
      value: '! multithreaded || (m_locked || ((-1LL + (long long )receive) + (long
        long )send >= 0LL && (1LL - (long long )receive) - (long long )send >= 0LL))'
      format: c_expression
