And tried using cv2pdb to exract the pdb files from the dll's and place a libgsf-1-114.pdb next to the libgsf-1-114.dll.
In both methods, the pdb's arent recognized by binskim:
2020-12-28T16:41:32.0320303Z D:\a\1\s\src\external\libgsf\win32\lib\x64\libgsf-1-114.dll : error ERR997.ExceptionLoadingPdb : BA2002 : 'libgsf-1-114.dll' was not evaluated for check 'DoNotIncorporateVulnerableDependencies' because its PDB could not be loaded. (E_PDB_NO_DEBUG_INFO (Pdb is stripped of cv (CodeView) info))
2020-12-28T16:41:32.0385001Z D:\a\1\s\src\external\libgsf\win32\lib\x64\libgsf-1-114.dll : error ERR997.ExceptionLoadingPdb : BA2006 : 'libgsf-1-114.dll' was not evaluated for check 'BuildWithSecureTools' because its PDB could not be loaded. (E_PDB_NO_DEBUG_INFO (Pdb is stripped of cv (CodeView) info))
2020-12-28T16:41:32.0386712Z D:\a\1\s\src\external\libgsf\win32\lib\x64\libgsf-1-114.dll : error ERR997.ExceptionLoadingPdb : BA2007 : 'libgsf-1-114.dll' was not evaluated for check 'EnableCriticalCompilerWarnings' because its PDB could not be loaded. (E_PDB_NO_DEBUG_INFO (Pdb is stripped of cv (CodeView) info))
2020-12-28T16:41:32.0390102Z D:\a\1\s\src\external\libgsf\win32\lib\x64\libgsf-1-114.dll : error ERR997.ExceptionLoadingPdb : BA2011 : 'libgsf-1-114.dll' was not evaluated for check 'EnableStackProtection' because its PDB could not be loaded. (E_PDB_NO_DEBUG_INFO (Pdb is stripped of cv (CodeView) info))
2020-12-28T16:41:32.0391816Z D:\a\1\s\src\external\libgsf\win32\lib\x64\libgsf-1-114.dll : error ERR997.ExceptionLoadingPdb : BA2013 : 'libgsf-1-114.dll' was not evaluated for check 'InitializeStackProtection' because its PDB could not be loaded. (E_PDB_NO_DEBUG_INFO (Pdb is stripped of cv (CodeView) info))
2020-12-28T16:41:32.0568052Z D:\a\1\s\src\external\libgsf\win32\lib\x64\libgsf-1-114.dll : error ERR997.ExceptionLoadingPdb : BA2014 : 'libgsf-1-114.dll' was not evaluated for check 'DoNotDisableStackProtectionForFunctions' because its PDB could not be loaded. (E_PDB_NO_DEBUG_INFO (Pdb is stripped of cv (CodeView) info))
2020-12-28T16:41:32.0691178Z D:\a\1\s\src\external\libgsf\win32\lib\x64\libgsf-1-114.dll : error ERR997.ExceptionLoadingPdb : BA2024 : 'libgsf-1-114.dll' was not evaluated for check 'EnableSpectreMitigations' because its PDB could not be loaded. (E_PDB_NO_DEBUG_INFO (Pdb is stripped of cv (CodeView) info))
we are using
libgsf
which compiled usingmingw
(gcc porting for win).I've compiled the library with debug symbols:
And tried using cv2pdb to exract the
pdb
files from the dll's and place alibgsf-1-114.pdb
next to thelibgsf-1-114.dll
.In both methods, the pdb's arent recognized by binskim: