Trace 0:
  Transitions:
    'when considering range: -0x80000000 <= value <= -1'
    'taking True path'
    'when PyDict_New() succeeds'
    'returning'
  Return value:
    repr(): PointerToRegion(gcctype='struct PyObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/cplusplus/method/input.cc', line=37), region=RegionOnHeap('PyDictObject', gcc.Location(file='tests/cpychecker/refcounts/cplusplus/method/input.cc', line=37)))
    str(): (struct PyObject *)&RegionOnHeap('PyDictObject', gcc.Location(file='tests/cpychecker/refcounts/cplusplus/method/input.cc', line=37)) from tests/cpychecker/refcounts/cplusplus/method/input.cc:37
    r->ob_refcnt: refs: 1 owned
    r->ob_type: PointerToRegion(gcctype='struct PyTypeObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/cplusplus/method/input.cc', line=37), region=RegionForGlobal(gcc.VarDecl('PyDict_Type')))
  Exception:
    (struct PyObject *)0 from tests/cpychecker/refcounts/cplusplus/method/input.cc:31

Trace 1:
  Transitions:
    'when considering range: -0x80000000 <= value <= -1'
    'taking True path'
    'when PyDict_New() fails'
    'returning'
  Return value:
    repr(): ConcreteValue(gcctype='struct PyObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/cplusplus/method/input.cc', line=37), value=0)
    str(): (struct PyObject *)0 from tests/cpychecker/refcounts/cplusplus/method/input.cc:37
  Exception:
    (struct PyObject *)&RegionForGlobal(gcc.VarDecl('PyExc_MemoryError')) from tests/cpychecker/refcounts/cplusplus/method/input.cc:37

Trace 2:
  Transitions:
    'when considering value == (int)0 from tests/cpychecker/refcounts/cplusplus/method/input.cc:30'
    'taking False path'
    'returning'
  Return value:
    repr(): PointerToRegion(gcctype='struct PyObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/cplusplus/method/input.cc', line=41), region=RegionForGlobal(gcc.VarDecl('_Py_NoneStruct')))
    str(): (struct PyObject *)&RegionForGlobal(gcc.VarDecl('_Py_NoneStruct')) from tests/cpychecker/refcounts/cplusplus/method/input.cc:41
    r->ob_refcnt: refs: 0 owned, 1 borrowed
    r->ob_type: None
  Exception:
    (struct PyObject *)0 from tests/cpychecker/refcounts/cplusplus/method/input.cc:31

Trace 3:
  Transitions:
    'when considering range: 1 <= value <= 0x7fffffff'
    'taking True path'
    'when PyDict_New() succeeds'
    'returning'
  Return value:
    repr(): PointerToRegion(gcctype='struct PyObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/cplusplus/method/input.cc', line=37), region=RegionOnHeap('PyDictObject', gcc.Location(file='tests/cpychecker/refcounts/cplusplus/method/input.cc', line=37)))
    str(): (struct PyObject *)&RegionOnHeap('PyDictObject', gcc.Location(file='tests/cpychecker/refcounts/cplusplus/method/input.cc', line=37)) from tests/cpychecker/refcounts/cplusplus/method/input.cc:37
    r->ob_refcnt: refs: 1 owned
    r->ob_type: PointerToRegion(gcctype='struct PyTypeObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/cplusplus/method/input.cc', line=37), region=RegionForGlobal(gcc.VarDecl('PyDict_Type')))
  Exception:
    (struct PyObject *)0 from tests/cpychecker/refcounts/cplusplus/method/input.cc:31

Trace 4:
  Transitions:
    'when considering range: 1 <= value <= 0x7fffffff'
    'taking True path'
    'when PyDict_New() fails'
    'returning'
  Return value:
    repr(): ConcreteValue(gcctype='struct PyObject *', loc=gcc.Location(file='tests/cpychecker/refcounts/cplusplus/method/input.cc', line=37), value=0)
    str(): (struct PyObject *)0 from tests/cpychecker/refcounts/cplusplus/method/input.cc:37
  Exception:
    (struct PyObject *)&RegionForGlobal(gcc.VarDecl('PyExc_MemoryError')) from tests/cpychecker/refcounts/cplusplus/method/input.cc:37
