Newly introduced findings

List of Findings

Error: COMPILER_WARNING: [#def1]
libimobiledevice-1.4.0/cython/imobiledevice.c: warning: -Wno-implicit-function-declaration detected - is this intentional ?

Error: COMPILER_WARNING (CWE-909): [#def2]
libimobiledevice-1.4.0/cython/imobiledevice.c:88985:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#88985 | };
#      | ^
/usr/include/python3.15/object.h:742: included_from: Included from here.
/usr/include/python3.15/Python.h:79: included_from: Included from here.
libimobiledevice-1.4.0/cython/imobiledevice.c:19: included_from: Included from here.
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#88983|     0, /*tp_pypy_flags*/
#88984|     #endif
#88985|-> };
#88986|   #endif
#88987|   static struct __pyx_vtabstruct_13imobiledevice_Base __pyx_vtable_13imobiledevice_Base;

Error: COMPILER_WARNING (CWE-909): [#def3]
libimobiledevice-1.4.0/cython/imobiledevice.c:89112:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#89112 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#89110|     0, /*tp_pypy_flags*/
#89111|     #endif
#89112|-> };
#89113|   #endif
#89114|   

Error: COMPILER_WARNING (CWE-909): [#def4]
libimobiledevice-1.4.0/cython/imobiledevice.c:89217:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#89217 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#89215|     0, /*tp_pypy_flags*/
#89216|     #endif
#89217|-> };
#89218|   #endif
#89219|   

Error: COMPILER_WARNING (CWE-909): [#def5]
libimobiledevice-1.4.0/cython/imobiledevice.c:89362:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#89362 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#89360|     0, /*tp_pypy_flags*/
#89361|     #endif
#89362|-> };
#89363|   #endif
#89364|   static struct __pyx_vtabstruct_13imobiledevice_iDeviceConnection __pyx_vtable_13imobiledevice_iDeviceConnection;

Error: COMPILER_WARNING (CWE-909): [#def6]
libimobiledevice-1.4.0/cython/imobiledevice.c:89467:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#89467 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#89465|     0, /*tp_pypy_flags*/
#89466|     #endif
#89467|-> };
#89468|   #endif
#89469|   static struct __pyx_vtabstruct_13imobiledevice_iDevice __pyx_vtable_13imobiledevice_iDevice;

Error: COMPILER_WARNING (CWE-909): [#def7]
libimobiledevice-1.4.0/cython/imobiledevice.c:89609:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#89609 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#89607|     0, /*tp_pypy_flags*/
#89608|     #endif
#89609|-> };
#89610|   #endif
#89611|   static struct __pyx_vtabstruct_13imobiledevice_BaseService __pyx_vtable_13imobiledevice_BaseService;

Error: COMPILER_WARNING (CWE-909): [#def8]
libimobiledevice-1.4.0/cython/imobiledevice.c:89713:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#89713 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#89711|     0, /*tp_pypy_flags*/
#89712|     #endif
#89713|-> };
#89714|   #endif
#89715|   static struct __pyx_vtabstruct_13imobiledevice_PropertyListService __pyx_vtable_13imobiledevice_PropertyListService;

Error: COMPILER_WARNING (CWE-909): [#def9]
libimobiledevice-1.4.0/cython/imobiledevice.c:89817:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#89817 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#89815|     0, /*tp_pypy_flags*/
#89816|     #endif
#89817|-> };
#89818|   #endif
#89819|   

Error: COMPILER_WARNING (CWE-909): [#def10]
libimobiledevice-1.4.0/cython/imobiledevice.c:89922:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#89922 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#89920|     0, /*tp_pypy_flags*/
#89921|     #endif
#89922|-> };
#89923|   #endif
#89924|   

Error: COMPILER_WARNING (CWE-909): [#def11]
libimobiledevice-1.4.0/cython/imobiledevice.c:90070:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#90070 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#90068|     0, /*tp_pypy_flags*/
#90069|     #endif
#90070|-> };
#90071|   #endif
#90072|   static struct __pyx_vtabstruct_13imobiledevice_LockdownServiceDescriptor __pyx_vtable_13imobiledevice_LockdownServiceDescriptor;

Error: COMPILER_WARNING (CWE-909): [#def12]
libimobiledevice-1.4.0/cython/imobiledevice.c:90208:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#90208 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#90206|     0, /*tp_pypy_flags*/
#90207|     #endif
#90208|-> };
#90209|   #endif
#90210|   static struct __pyx_vtabstruct_13imobiledevice_LockdownClient __pyx_vtable_13imobiledevice_LockdownClient;

Error: COMPILER_WARNING (CWE-909): [#def13]
libimobiledevice-1.4.0/cython/imobiledevice.c:90389:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#90389 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#90387|     0, /*tp_pypy_flags*/
#90388|     #endif
#90389|-> };
#90390|   #endif
#90391|   static struct __pyx_vtabstruct_13imobiledevice_DeviceLinkService __pyx_vtable_13imobiledevice_DeviceLinkService;

Error: COMPILER_WARNING (CWE-909): [#def14]
libimobiledevice-1.4.0/cython/imobiledevice.c:90493:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#90493 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#90491|     0, /*tp_pypy_flags*/
#90492|     #endif
#90493|-> };
#90494|   #endif
#90495|   

Error: COMPILER_WARNING (CWE-909): [#def15]
libimobiledevice-1.4.0/cython/imobiledevice.c:90598:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#90598 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#90596|     0, /*tp_pypy_flags*/
#90597|     #endif
#90598|-> };
#90599|   #endif
#90600|   static struct __pyx_vtabstruct_13imobiledevice_MobileSyncClient __pyx_vtable_13imobiledevice_MobileSyncClient;

Error: COMPILER_WARNING (CWE-909): [#def16]
libimobiledevice-1.4.0/cython/imobiledevice.c:90725:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#90725 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#90723|     0, /*tp_pypy_flags*/
#90724|     #endif
#90725|-> };
#90726|   #endif
#90727|   

Error: COMPILER_WARNING (CWE-909): [#def17]
libimobiledevice-1.4.0/cython/imobiledevice.c:90830:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#90830 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#90828|     0, /*tp_pypy_flags*/
#90829|     #endif
#90830|-> };
#90831|   #endif
#90832|   static struct __pyx_vtabstruct_13imobiledevice_NotificationProxyClient __pyx_vtable_13imobiledevice_NotificationProxyClient;

Error: COMPILER_WARNING (CWE-909): [#def18]
libimobiledevice-1.4.0/cython/imobiledevice.c:90957:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#90957 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#90955|     0, /*tp_pypy_flags*/
#90956|     #endif
#90957|-> };
#90958|   #endif
#90959|   

Error: COMPILER_WARNING (CWE-909): [#def19]
libimobiledevice-1.4.0/cython/imobiledevice.c:91062:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#91062 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#91060|     0, /*tp_pypy_flags*/
#91061|     #endif
#91062|-> };
#91063|   #endif
#91064|   static struct __pyx_vtabstruct_13imobiledevice_SpringboardServicesClient __pyx_vtable_13imobiledevice_SpringboardServicesClient;

Error: COMPILER_WARNING (CWE-909): [#def20]
libimobiledevice-1.4.0/cython/imobiledevice.c:91224:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#91224 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#91222|     0, /*tp_pypy_flags*/
#91223|     #endif
#91224|-> };
#91225|   #endif
#91226|   

Error: COMPILER_WARNING (CWE-909): [#def21]
libimobiledevice-1.4.0/cython/imobiledevice.c:91329:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#91329 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#91327|     0, /*tp_pypy_flags*/
#91328|     #endif
#91329|-> };
#91330|   #endif
#91331|   static struct __pyx_vtabstruct_13imobiledevice_MobileBackupClient __pyx_vtable_13imobiledevice_MobileBackupClient;

Error: COMPILER_WARNING (CWE-909): [#def22]
libimobiledevice-1.4.0/cython/imobiledevice.c:91456:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#91456 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#91454|     0, /*tp_pypy_flags*/
#91455|     #endif
#91456|-> };
#91457|   #endif
#91458|   

Error: COMPILER_WARNING (CWE-909): [#def23]
libimobiledevice-1.4.0/cython/imobiledevice.c:91561:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#91561 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#91559|     0, /*tp_pypy_flags*/
#91560|     #endif
#91561|-> };
#91562|   #endif
#91563|   static struct __pyx_vtabstruct_13imobiledevice_MobileBackup2Client __pyx_vtable_13imobiledevice_MobileBackup2Client;

Error: COMPILER_WARNING (CWE-909): [#def24]
libimobiledevice-1.4.0/cython/imobiledevice.c:91688:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#91688 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#91686|     0, /*tp_pypy_flags*/
#91687|     #endif
#91688|-> };
#91689|   #endif
#91690|   

Error: COMPILER_WARNING (CWE-909): [#def25]
libimobiledevice-1.4.0/cython/imobiledevice.c:91793:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#91793 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#91791|     0, /*tp_pypy_flags*/
#91792|     #endif
#91793|-> };
#91794|   #endif
#91795|   static struct __pyx_vtabstruct_13imobiledevice_AfcClient __pyx_vtable_13imobiledevice_AfcClient;

Error: COMPILER_WARNING (CWE-909): [#def26]
libimobiledevice-1.4.0/cython/imobiledevice.c:91920:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#91920 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#91918|     0, /*tp_pypy_flags*/
#91919|     #endif
#91920|-> };
#91921|   #endif
#91922|   static struct __pyx_vtabstruct_13imobiledevice_AfcFile __pyx_vtable_13imobiledevice_AfcFile;

Error: COMPILER_WARNING (CWE-909): [#def27]
libimobiledevice-1.4.0/cython/imobiledevice.c:92084:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#92084 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#92082|     0, /*tp_pypy_flags*/
#92083|     #endif
#92084|-> };
#92085|   #endif
#92086|   static struct __pyx_vtabstruct_13imobiledevice_Afc2Client __pyx_vtable_13imobiledevice_Afc2Client;

Error: COMPILER_WARNING (CWE-909): [#def28]
libimobiledevice-1.4.0/cython/imobiledevice.c:92188:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#92188 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#92186|     0, /*tp_pypy_flags*/
#92187|     #endif
#92188|-> };
#92189|   #endif
#92190|   

Error: COMPILER_WARNING (CWE-909): [#def29]
libimobiledevice-1.4.0/cython/imobiledevice.c:92293:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#92293 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#92291|     0, /*tp_pypy_flags*/
#92292|     #endif
#92293|-> };
#92294|   #endif
#92295|   static struct __pyx_vtabstruct_13imobiledevice_FileRelayClient __pyx_vtable_13imobiledevice_FileRelayClient;

Error: COMPILER_WARNING (CWE-909): [#def30]
libimobiledevice-1.4.0/cython/imobiledevice.c:92420:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#92420 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#92418|     0, /*tp_pypy_flags*/
#92419|     #endif
#92420|-> };
#92421|   #endif
#92422|   

Error: COMPILER_WARNING (CWE-909): [#def31]
libimobiledevice-1.4.0/cython/imobiledevice.c:92525:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#92525 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#92523|     0, /*tp_pypy_flags*/
#92524|     #endif
#92525|-> };
#92526|   #endif
#92527|   static struct __pyx_vtabstruct_13imobiledevice_ScreenshotrClient __pyx_vtable_13imobiledevice_ScreenshotrClient;

Error: COMPILER_WARNING (CWE-909): [#def32]
libimobiledevice-1.4.0/cython/imobiledevice.c:92652:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#92652 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#92650|     0, /*tp_pypy_flags*/
#92651|     #endif
#92652|-> };
#92653|   #endif
#92654|   

Error: COMPILER_WARNING (CWE-909): [#def33]
libimobiledevice-1.4.0/cython/imobiledevice.c:92757:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#92757 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#92755|     0, /*tp_pypy_flags*/
#92756|     #endif
#92757|-> };
#92758|   #endif
#92759|   static struct __pyx_vtabstruct_13imobiledevice_InstallationProxyClient __pyx_vtable_13imobiledevice_InstallationProxyClient;

Error: COMPILER_WARNING (CWE-909): [#def34]
libimobiledevice-1.4.0/cython/imobiledevice.c:92884:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#92884 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#92882|     0, /*tp_pypy_flags*/
#92883|     #endif
#92884|-> };
#92885|   #endif
#92886|   

Error: COMPILER_WARNING (CWE-909): [#def35]
libimobiledevice-1.4.0/cython/imobiledevice.c:92989:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#92989 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#92987|     0, /*tp_pypy_flags*/
#92988|     #endif
#92989|-> };
#92990|   #endif
#92991|   static struct __pyx_vtabstruct_13imobiledevice_MobileImageMounterClient __pyx_vtable_13imobiledevice_MobileImageMounterClient;

Error: COMPILER_WARNING (CWE-909): [#def36]
libimobiledevice-1.4.0/cython/imobiledevice.c:93116:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#93116 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#93114|     0, /*tp_pypy_flags*/
#93115|     #endif
#93116|-> };
#93117|   #endif
#93118|   

Error: COMPILER_WARNING (CWE-909): [#def37]
libimobiledevice-1.4.0/cython/imobiledevice.c:93221:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#93221 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#93219|     0, /*tp_pypy_flags*/
#93220|     #endif
#93221|-> };
#93222|   #endif
#93223|   static struct __pyx_vtabstruct_13imobiledevice_WebinspectorClient __pyx_vtable_13imobiledevice_WebinspectorClient;

Error: COMPILER_WARNING (CWE-909): [#def38]
libimobiledevice-1.4.0/cython/imobiledevice.c:93348:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#93348 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#93346|     0, /*tp_pypy_flags*/
#93347|     #endif
#93348|-> };
#93349|   #endif
#93350|   

Error: COMPILER_WARNING (CWE-909): [#def39]
libimobiledevice-1.4.0/cython/imobiledevice.c:93453:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#93453 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#93451|     0, /*tp_pypy_flags*/
#93452|     #endif
#93453|-> };
#93454|   #endif
#93455|   static struct __pyx_vtabstruct_13imobiledevice_HeartbeatClient __pyx_vtable_13imobiledevice_HeartbeatClient;

Error: COMPILER_WARNING (CWE-909): [#def40]
libimobiledevice-1.4.0/cython/imobiledevice.c:93580:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#93580 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#93578|     0, /*tp_pypy_flags*/
#93579|     #endif
#93580|-> };
#93581|   #endif
#93582|   

Error: COMPILER_WARNING (CWE-909): [#def41]
libimobiledevice-1.4.0/cython/imobiledevice.c:93685:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#93685 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#93683|     0, /*tp_pypy_flags*/
#93684|     #endif
#93685|-> };
#93686|   #endif
#93687|   static struct __pyx_vtabstruct_13imobiledevice_DiagnosticsRelayClient __pyx_vtable_13imobiledevice_DiagnosticsRelayClient;

Error: COMPILER_WARNING (CWE-909): [#def42]
libimobiledevice-1.4.0/cython/imobiledevice.c:93812:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#93812 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#93810|     0, /*tp_pypy_flags*/
#93811|     #endif
#93812|-> };
#93813|   #endif
#93814|   

Error: COMPILER_WARNING (CWE-909): [#def43]
libimobiledevice-1.4.0/cython/imobiledevice.c:93917:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#93917 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#93915|     0, /*tp_pypy_flags*/
#93916|     #endif
#93917|-> };
#93918|   #endif
#93919|   static struct __pyx_vtabstruct_13imobiledevice_MisagentClient __pyx_vtable_13imobiledevice_MisagentClient;

Error: COMPILER_WARNING (CWE-909): [#def44]
libimobiledevice-1.4.0/cython/imobiledevice.c:94044:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#94044 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#94042|     0, /*tp_pypy_flags*/
#94043|     #endif
#94044|-> };
#94045|   #endif
#94046|   

Error: COMPILER_WARNING (CWE-909): [#def45]
libimobiledevice-1.4.0/cython/imobiledevice.c:94149:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#94149 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#94147|     0, /*tp_pypy_flags*/
#94148|     #endif
#94149|-> };
#94150|   #endif
#94151|   static struct __pyx_vtabstruct_13imobiledevice_HouseArrestClient __pyx_vtable_13imobiledevice_HouseArrestClient;

Error: COMPILER_WARNING (CWE-909): [#def46]
libimobiledevice-1.4.0/cython/imobiledevice.c:94276:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#94276 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#94274|     0, /*tp_pypy_flags*/
#94275|     #endif
#94276|-> };
#94277|   #endif
#94278|   

Error: COMPILER_WARNING (CWE-909): [#def47]
libimobiledevice-1.4.0/cython/imobiledevice.c:94381:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#94381 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#94379|     0, /*tp_pypy_flags*/
#94380|     #endif
#94381|-> };
#94382|   #endif
#94383|   static struct __pyx_vtabstruct_13imobiledevice_RestoreClient __pyx_vtable_13imobiledevice_RestoreClient;

Error: COMPILER_WARNING (CWE-909): [#def48]
libimobiledevice-1.4.0/cython/imobiledevice.c:94508:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#94508 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#94506|     0, /*tp_pypy_flags*/
#94507|     #endif
#94508|-> };
#94509|   #endif
#94510|   

Error: COMPILER_WARNING (CWE-909): [#def49]
libimobiledevice-1.4.0/cython/imobiledevice.c:94613:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#94613 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#94611|     0, /*tp_pypy_flags*/
#94612|     #endif
#94613|-> };
#94614|   #endif
#94615|   static struct __pyx_vtabstruct_13imobiledevice_DebugServerCommand __pyx_vtable_13imobiledevice_DebugServerCommand;

Error: COMPILER_WARNING (CWE-909): [#def50]
libimobiledevice-1.4.0/cython/imobiledevice.c:94720:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#94720 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#94718|     0, /*tp_pypy_flags*/
#94719|     #endif
#94720|-> };
#94721|   #endif
#94722|   static struct __pyx_vtabstruct_13imobiledevice_DebugServerClient __pyx_vtable_13imobiledevice_DebugServerClient;

Error: COMPILER_WARNING (CWE-909): [#def51]
libimobiledevice-1.4.0/cython/imobiledevice.c:94847:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#94847 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#94845|     0, /*tp_pypy_flags*/
#94846|     #endif
#94847|-> };
#94848|   #endif
#94849|   static struct __pyx_vtabstruct_array __pyx_vtable_array;

Error: COMPILER_WARNING (CWE-909): [#def52]
libimobiledevice-1.4.0/cython/imobiledevice.c:95077:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#95077 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#95075|     0, /*tp_pypy_flags*/
#95076|     #endif
#95077|-> };
#95078|   #endif
#95079|   

Error: COMPILER_WARNING (CWE-909): [#def53]
libimobiledevice-1.4.0/cython/imobiledevice.c:95232:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#95232 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#95230|     0, /*tp_pypy_flags*/
#95231|     #endif
#95232|-> };
#95233|   #endif
#95234|   static struct __pyx_vtabstruct_memoryview __pyx_vtable_memoryview;

Error: COMPILER_WARNING (CWE-909): [#def54]
libimobiledevice-1.4.0/cython/imobiledevice.c:95533:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#95533 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#95531|     0, /*tp_pypy_flags*/
#95532|     #endif
#95533|-> };
#95534|   #endif
#95535|   static struct __pyx_vtabstruct__memoryviewslice __pyx_vtable__memoryviewslice;

Error: COMPILER_WARNING (CWE-909): [#def55]
libimobiledevice-1.4.0/cython/imobiledevice.c:95694:1: warning[-Wmissing-field-initializers]: missing initializer for field '_tp_iteritem' of 'PyTypeObject' {aka 'struct _typeobject'}
#95694 | };
#      | ^
/usr/include/python3.15/cpython/object.h:248:22: note: '_tp_iteritem' declared here
#  248 |     _Py_iteritemfunc _tp_iteritem;
#      |                      ^~~~~~~~~~~~
#95692|     0, /*tp_pypy_flags*/
#95693|     #endif
#95694|-> };
#95695|   #endif
#95696|   

Error: CPPCHECK_WARNING (CWE-476): [#def56]
libimobiledevice-1.4.0/src/idevice.c:541: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_connection
#  539|   		idevice_connection_t new_connection = (idevice_connection_t)malloc(sizeof(struct idevice_connection_private));
#  540|   		new_connection->type = CONNECTION_USBMUXD;
#  541|-> 		new_connection->data = (void*)(uintptr_t)sfd;
#  542|   		new_connection->ssl_data = NULL;
#  543|   		new_connection->device = device;

Error: CPPCHECK_WARNING (CWE-476): [#def57]
libimobiledevice-1.4.0/src/idevice.c:586: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_connection
#  584|   		idevice_connection_t new_connection = (idevice_connection_t)malloc(sizeof(struct idevice_connection_private));
#  585|   		new_connection->type = CONNECTION_NETWORK;
#  586|-> 		new_connection->data = (void*)(uintptr_t)sfd;
#  587|   		new_connection->ssl_data = NULL;
#  588|   		new_connection->device = device;

Error: CPPCHECK_WARNING (CWE-476): [#def58]
libimobiledevice-1.4.0/src/ostrace.c:90: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: client_loc
#   88|   
#   89|   	ostrace_client_t client_loc = (ostrace_client_t) malloc(sizeof(struct ostrace_client_private));
#   90|-> 	client_loc->parent = parent;
#   91|   	client_loc->worker = THREAD_T_NULL;
#   92|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
libimobiledevice-1.4.0/src/ostrace.c:90:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'client_loc'
libimobiledevice-1.4.0/src/ostrace.c:71:17: enter_function: entry to 'ostrace_client_new'
libimobiledevice-1.4.0/src/ostrace.c:75:12: branch_false: following 'false' branch...
libimobiledevice-1.4.0/src/ostrace.c:83:31: call_function: inlined call to 'ostrace_error' from 'ostrace_client_new'
libimobiledevice-1.4.0/src/ostrace.c:84:12: branch_false: following 'false' branch...
libimobiledevice-1.4.0/src/ostrace.c:89:58: branch_false: ...to here
libimobiledevice-1.4.0/src/ostrace.c:89:58: acquire_memory: this call could return NULL
libimobiledevice-1.4.0/src/ostrace.c:90:9: danger: 'client_loc' could be NULL: unchecked value from [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
#   88|   
#   89|   	ostrace_client_t client_loc = (ostrace_client_t) malloc(sizeof(struct ostrace_client_private));
#   90|-> 	client_loc->parent = parent;
#   91|   	client_loc->worker = THREAD_T_NULL;
#   92|   

Error: CPPCHECK_WARNING (CWE-476): [#def60]
libimobiledevice-1.4.0/src/ostrace.c:91: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: client_loc
#   89|   	ostrace_client_t client_loc = (ostrace_client_t) malloc(sizeof(struct ostrace_client_private));
#   90|   	client_loc->parent = parent;
#   91|-> 	client_loc->worker = THREAD_T_NULL;
#   92|   
#   93|   	*client = client_loc;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
libimobiledevice-1.4.0/tools/afcclient.c:237:13: warning[-Wanalyzer-malloc-leak]: leak of ‘get_absolute_path(path)’
libimobiledevice-1.4.0/tools/afcclient.c:1426:5: enter_function: entry to ‘main’
libimobiledevice-1.4.0/tools/afcclient.c:1514:25: branch_true: following ‘true’ branch...
libimobiledevice-1.4.0/tools/afcclient.c:1515:28: branch_true: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1522:12: branch_false: following ‘false’ branch (when ‘count != 0’)...
libimobiledevice-1.4.0/tools/afcclient.c:1527:9: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1529:16: branch_true: following ‘true’ branch...
libimobiledevice-1.4.0/tools/afcclient.c:1529:30: branch_true: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1536:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/afcclient.c:1540:69: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1541:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/afcclient.c:1551:52: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1551:20: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/afcclient.c:1557:20: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1557:20: branch_false: following ‘false’ branch (when ‘appid’ is NULL)...
libimobiledevice-1.4.0/tools/afcclient.c:1561:25: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1562:20: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/afcclient.c:1568:20: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1568:20: branch_false: following ‘false’ branch (when ‘appid’ is NULL)...
libimobiledevice-1.4.0/tools/afcclient.c:1602:25: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1611:20: branch_true: following ‘true’ branch (when ‘argc > 0’)...
libimobiledevice-1.4.0/tools/afcclient.c:1613:25: branch_true: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1613:25: call_function: calling ‘process_args’ from ‘main’
#  235|   static char* get_absolute_path(const char *path)
#  236|   {
#  237|-> 	if (*path == '/') {
#  238|   		return strdup(path);
#  239|   	} else {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def62]
libimobiledevice-1.4.0/tools/afcclient.c:1111:26: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘srcpath’ where non-null expected
libimobiledevice-1.4.0/tools/afcclient.c:1426:5: enter_function: entry to ‘main’
libimobiledevice-1.4.0/tools/afcclient.c:1514:25: branch_true: following ‘true’ branch...
libimobiledevice-1.4.0/tools/afcclient.c:1515:28: branch_true: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1522:12: branch_false: following ‘false’ branch (when ‘count != 0’)...
libimobiledevice-1.4.0/tools/afcclient.c:1527:9: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1529:16: branch_true: following ‘true’ branch...
libimobiledevice-1.4.0/tools/afcclient.c:1529:30: branch_true: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1536:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/afcclient.c:1540:69: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1541:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/afcclient.c:1551:52: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1551:20: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/afcclient.c:1557:20: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1557:20: branch_false: following ‘false’ branch (when ‘appid’ is NULL)...
libimobiledevice-1.4.0/tools/afcclient.c:1561:25: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1562:20: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/afcclient.c:1568:20: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1568:20: branch_false: following ‘false’ branch (when ‘appid’ is NULL)...
libimobiledevice-1.4.0/tools/afcclient.c:1602:25: branch_false: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1611:20: branch_true: following ‘true’ branch (when ‘argc > 0’)...
libimobiledevice-1.4.0/tools/afcclient.c:1613:25: branch_true: ...to here
libimobiledevice-1.4.0/tools/afcclient.c:1613:25: call_function: calling ‘process_args’ from ‘main’
# 1109|   	}
# 1110|   	char *srcpath = strdup(argv[i]);
# 1111|-> 	size_t src_len = strlen(srcpath);
# 1112|   	if (src_len > 1 && srcpath[src_len - 1] == '/') {
# 1113|   		srcpath[src_len - 1] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-688): [#def63]
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:331:72: warning[-Wanalyzer-null-argument]: use of NULL ‘image_sig_path’ where non-null expected
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:185:15: release_memory: ‘image_sig_path’ is NULL
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:195:12: branch_false: following ‘false’ branch (when ‘argc != 0’)...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:201:15: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:257:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:266:44: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:266:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:271:39: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:294:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:299:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:304:13: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:309:12: branch_true: following ‘true’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:311:20: branch_true: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:311:20: branch_false: following ‘false’ branch (when ‘disk_image_upload_type != 0’)...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:326:21: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:326:20: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:330:30: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:331:20: branch_true: following ‘true’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:331:72: branch_true: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:331:72: release_memory: ‘image_sig_path’ is NULL
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:331:72: danger: argument 1 (‘image_sig_path’) NULL where non-null expected
#  329|   		}
#  330|   		image_size = fst.st_size;
#  331|-> 		if (device_version < IDEVICE_DEVICE_VERSION(17,0,0) && stat(image_sig_path, &fst) != 0) {
#  332|   			fprintf(stderr, "ERROR: stat: %s: %s\n", image_sig_path, strerror(errno));
#  333|   			goto leave;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def64]
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:331:72: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘image_sig_path’ where non-null expected
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:195:12: branch_false: following ‘false’ branch (when ‘argc != 0’)...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:201:15: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:231:28: branch_false: following ‘false’ branch (when ‘argc > 0’)...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:236:38: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:237:28: branch_true: following ‘true’ branch (when ‘argc != 1’)...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:238:50: branch_true: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:238:50: acquire_memory: this call could return NULL
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:257:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:266:44: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:266:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:271:39: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:294:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:299:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:304:13: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:309:12: branch_true: following ‘true’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:311:20: branch_true: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:311:20: branch_false: following ‘false’ branch (when ‘disk_image_upload_type != 0’)...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:326:21: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:326:20: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:330:30: branch_false: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:331:20: branch_true: following ‘true’ branch...
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:331:72: branch_true: ...to here
libimobiledevice-1.4.0/tools/ideviceimagemounter.c:331:72: danger: argument 1 (‘image_sig_path’) from [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
#  329|   		}
#  330|   		image_size = fst.st_size;
#  331|-> 		if (device_version < IDEVICE_DEVICE_VERSION(17,0,0) && stat(image_sig_path, &fst) != 0) {
#  332|   			fprintf(stderr, "ERROR: stat: %s: %s\n", image_sig_path, strerror(errno));
#  333|   			goto leave;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
libimobiledevice-1.4.0/tools/idevicesyslog.c:787:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘elem’
libimobiledevice-1.4.0/tools/idevicesyslog.c:915:5: enter_function: entry to ‘main’
libimobiledevice-1.4.0/tools/idevicesyslog.c:1117:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/idevicesyslog.c:1123:13: branch_false: ...to here
libimobiledevice-1.4.0/tools/idevicesyslog.c:1123:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/idevicesyslog.c:1128:13: branch_false: ...to here
libimobiledevice-1.4.0/tools/idevicesyslog.c:1128:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/idevicesyslog.c:1134:12: branch_false: ...to here
libimobiledevice-1.4.0/tools/idevicesyslog.c:1156:12: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/idevicesyslog.c:1160:14: branch_false: ...to here
libimobiledevice-1.4.0/tools/idevicesyslog.c:1163:12: branch_true: following ‘true’ branch (when ‘argc > 0’)...
libimobiledevice-1.4.0/tools/idevicesyslog.c:1164:22: branch_true: ...to here
libimobiledevice-1.4.0/tools/idevicesyslog.c:1164:20: branch_true: following ‘true’ branch (when the strings are equal)...
libimobiledevice-1.4.0/tools/idevicesyslog.c:1165:29: branch_true: ...to here
libimobiledevice-1.4.0/tools/idevicesyslog.c:1165:29: call_function: calling ‘connect_service’ from ‘main’
libimobiledevice-1.4.0/tools/idevicesyslog.c:1165:29: return_function: returning to ‘main’ from ‘connect_service’
libimobiledevice-1.4.0/tools/idevicesyslog.c:1165:28: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/idevicesyslog.c:1168:33: branch_false: ...to here
libimobiledevice-1.4.0/tools/idevicesyslog.c:1174:28: branch_false: following ‘false’ branch...
libimobiledevice-1.4.0/tools/idevicesyslog.c:1177:25: branch_false: ...to here
libimobiledevice-1.4.0/tools/idevicesyslog.c:1177:25: call_function: calling ‘print_sorted_pidlist’ from ‘main’
#  785|   				int pidval = (int)strtol(key, NULL, 10);
#  786|   				struct listelem* elem = (struct listelem*)malloc(sizeof(struct listelem));
#  787|-> 				elem->val = pidval;
#  788|   				elem->next = NULL;
#  789|   				struct listelem* prev = NULL;

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-145.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namelibimobiledevice-1.3.0^20240916gited9703d-7.fc44
diffbase-store-results-to/tmp/tmpvmych4tg/libimobiledevice-1.3.0^20240916gited9703d-7.fc44.tar.xz
diffbase-time-created2026-08-03 17:26:13
diffbase-time-finished2026-08-03 17:28:39
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpvmych4tg/libimobiledevice-1.3.0^20240916gited9703d-7.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpvmych4tg/libimobiledevice-1.3.0^20240916gited9703d-7.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-145.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelibimobiledevice-1.4.0-7.fc45
store-results-to/tmp/tmp5dqyqxqc/libimobiledevice-1.4.0-7.fc45.tar.xz
time-created2026-08-03 17:28:55
time-finished2026-08-03 17:31:08
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp5dqyqxqc/libimobiledevice-1.4.0-7.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp5dqyqxqc/libimobiledevice-1.4.0-7.fc45.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9