- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 1eb6dd8f-0403-47b8-971c-839c58e63fe8
    creation_time: 2024-09-27T12:03:32Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''protection'' ''--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/stack_longest-2.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
      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/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1021
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1013
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1007
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1013
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1007
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1013
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1007
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1013
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1007
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1013
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1007
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1013
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1007
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1013
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1007
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1013
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1007
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1013
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1007
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 998
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 993
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 998
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 993
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 998
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 993
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 998
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 993
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 998
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 993
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 998
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 993
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: b37fcfe9-1065-4159-9e62-3d2cd12abe91
    creation_time: 2024-09-27T12:03:32Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''protection'' ''--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/stack_longest-2.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
      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/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1022
        column: 3
        function: main
      value: '! multithreaded || flag == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack_longest-2.i
        file_hash: 5773bc320dd9dee5d943610df8c4ec3040864edddf388dd42a51d37167245e47
        line: 1023
        column: 3
        function: main
      value: '! multithreaded || flag == (_Bool)0'
      format: c_expression
