Trace 0:
  Transitions:
    'when treating unknown void * from tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c:30 as non-NULL'
    'when treating ob_size as 0'
    'when PyList_Append() succeeds'
    'returning'
  Return value:
    repr(): ConcreteValue(gcctype='int', loc=gcc.Location(file='tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c', line=33), value=0)
    str(): (int)0 from tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c:33
  region for gcc.ParmDecl('item') on stack:
    repr(): RegionOnStack("region for gcc.ParmDecl('item')")
    str(): region for gcc.ParmDecl('item') on stack
    r->ob_refcnt: refs: 1 owned, 1 borrowed
    r->ob_type: PointerToRegion(gcctype='struct PyTypeObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c', line=30), region=Region("region-for-type-of-arg-gcc.ParmDecl('item')"))
  Exception:
    (struct PyObject *)0 from tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c:31

Trace 1:
  Transitions:
    'when treating unknown void * from tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c:30 as non-NULL'
    'when treating ob_size as 0'
    'when PyList_Append() fails'
    'returning'
  Return value:
    repr(): ConcreteValue(gcctype='int', loc=gcc.Location(file='tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c', line=33), value=-1)
    str(): (int)-1 from tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c:33
  region for gcc.ParmDecl('item') on stack:
    repr(): RegionOnStack("region for gcc.ParmDecl('item')")
    str(): region for gcc.ParmDecl('item') on stack
    r->ob_refcnt: refs: 0 owned, 1 borrowed
    r->ob_type: PointerToRegion(gcctype='struct PyTypeObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c', line=30), region=Region("region-for-type-of-arg-gcc.ParmDecl('item')"))
  Exception:
    (struct PyObject *)&RegionForGlobal(gcc.VarDecl('PyExc_MemoryError')) from tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c:33

Trace 2:
  Transitions:
    'when treating unknown void * from tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c:30 as NULL'
  error: NullPtrArgument()
  error: possibly calling PyList_Append with NULL as argument 1 (list) at tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c:33
  region for gcc.ParmDecl('item') on stack:
    repr(): RegionOnStack("region for gcc.ParmDecl('item')")
    str(): region for gcc.ParmDecl('item') on stack
    r->ob_refcnt: refs: 0 owned, 1 borrowed
    r->ob_type: PointerToRegion(gcctype='struct PyTypeObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c', line=30), region=Region("region-for-type-of-arg-gcc.ParmDecl('item')"))
  Exception:
    (struct PyObject *)0 from tests/cpychecker/refcounts/PyList_Append/ticket-19/input.c:31
