Trace 0:
  Transitions:
    'when PyCapsule_GetPointer() succeeds'
    'returning'
  Return value:
    repr(): UnknownValue(gcctype=gcc.PointerType(dereference=<gcc.VoidType object at 0xdeadbeef>), loc=gcc.Location(file='tests/cpychecker/refcounts/PyCapsule_GetPointer/basic/input.c', line=29))
    str(): unknown void * from tests/cpychecker/refcounts/PyCapsule_GetPointer/basic/input.c:29
  region for gcc.ParmDecl('capsule') on stack:
    repr(): RegionOnStack("region for gcc.ParmDecl('capsule')")
    str(): region for gcc.ParmDecl('capsule') on stack
    r->ob_refcnt: refs: 0 owned, 1 borrowed
    r->ob_type: PointerToRegion(gcctype='struct PyTypeObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/PyCapsule_GetPointer/basic/input.c', line=27), region=Region("region-for-type-of-arg-gcc.ParmDecl('capsule')"))
  Exception:
    (struct PyObject *)0 from tests/cpychecker/refcounts/PyCapsule_GetPointer/basic/input.c:28

Trace 1:
  Transitions:
    'when PyCapsule_GetPointer() fails'
    'returning'
  Return value:
    repr(): ConcreteValue(gcctype='void *', loc=gcc.Location(file='tests/cpychecker/refcounts/PyCapsule_GetPointer/basic/input.c', line=29), value=0)
    str(): (void *)0 from tests/cpychecker/refcounts/PyCapsule_GetPointer/basic/input.c:29
  region for gcc.ParmDecl('capsule') on stack:
    repr(): RegionOnStack("region for gcc.ParmDecl('capsule')")
    str(): region for gcc.ParmDecl('capsule') on stack
    r->ob_refcnt: refs: 0 owned, 1 borrowed
    r->ob_type: PointerToRegion(gcctype='struct PyTypeObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/PyCapsule_GetPointer/basic/input.c', line=27), region=Region("region-for-type-of-arg-gcc.ParmDecl('capsule')"))
  Exception:
    (struct PyObject *)&RegionForGlobal(gcc.VarDecl('PyExc_ValueError')) from tests/cpychecker/refcounts/PyCapsule_GetPointer/basic/input.c:29
