diff --git a/src/client_backend/.vs/client_backend/v17/.suo b/src/client_backend/.vs/client_backend/v17/.suo index 5754949..a79227b 100644 Binary files a/src/client_backend/.vs/client_backend/v17/.suo and b/src/client_backend/.vs/client_backend/v17/.suo differ diff --git a/src/client_backend/.vs/client_backend/v17/Browse.VC.db b/src/client_backend/.vs/client_backend/v17/Browse.VC.db index 50f31bf..890f06b 100644 Binary files a/src/client_backend/.vs/client_backend/v17/Browse.VC.db and b/src/client_backend/.vs/client_backend/v17/Browse.VC.db differ diff --git a/src/client_backend/.vs/client_backend/v17/DocumentLayout.json b/src/client_backend/.vs/client_backend/v17/DocumentLayout.json index 7c7537d..b31af3c 100644 --- a/src/client_backend/.vs/client_backend/v17/DocumentLayout.json +++ b/src/client_backend/.vs/client_backend/v17/DocumentLayout.json @@ -6,6 +6,22 @@ "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\scan.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:scan.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" }, + { + "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\check_process.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:check_process.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\md5hash.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:md5hash.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\connect.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:connect.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, + { + "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\check_dir.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:check_dir.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + }, { "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\scan.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:scan.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" @@ -14,10 +30,6 @@ "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\virus_ctrl.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:virus_ctrl.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" }, - { - "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\check_process.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", - "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:check_process.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" - }, { "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\check_process.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:check_process.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" @@ -30,10 +42,6 @@ "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\client_backend.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:client_backend.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" }, - { - "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\connect.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", - "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:connect.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" - }, { "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\local_com.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:local_com.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" @@ -42,14 +50,6 @@ "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\local_schedule.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:local_schedule.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" }, - { - "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\check_dir.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", - "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:check_dir.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" - }, - { - "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\md5hash.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", - "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:md5hash.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" - }, { "AbsoluteMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\update.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", "RelativeMoniker": "D:0:0:{56E65283-AAC9-43F6-9613-72BE8D648AC4}|client_backend.vcxproj|solutionrelative:update.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" @@ -106,7 +106,7 @@ }, { "$type": "Document", - "DocumentIndex": 4, + "DocumentIndex": 7, "Title": "check_process.h", "DocumentMoniker": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\check_process.h", "RelativeDocumentMoniker": "check_process.h", @@ -114,31 +114,30 @@ "RelativeToolTip": "check_process.h", "ViewState": "AQIAAAAAAAAAAAAAAAAAAAYAAAAAAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", - "WhenOpened": "2024-03-10T14:40:13.284Z", - "EditorCaption": "" + "WhenOpened": "2024-03-10T14:40:13.284Z" }, { "$type": "Document", - "DocumentIndex": 3, + "DocumentIndex": 1, "Title": "check_process.cpp", "DocumentMoniker": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\check_process.cpp", "RelativeDocumentMoniker": "check_process.cpp", "ToolTip": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\check_process.cpp", "RelativeToolTip": "check_process.cpp", - "ViewState": "AQIAAAYAAAAAAAAAAAAAADQAAAAtAAAA", + "ViewState": "AQIAABgAAAAAAAAAAAAAADQAAAAtAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", "WhenOpened": "2024-03-10T14:40:03.094Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 11, + "DocumentIndex": 2, "Title": "md5hash.cpp", "DocumentMoniker": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\md5hash.cpp", "RelativeDocumentMoniker": "md5hash.cpp", "ToolTip": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\md5hash.cpp", "RelativeToolTip": "md5hash.cpp", - "ViewState": "AQIAAAAAAAAAAAAAAAAAACwAAAAnAAAA", + "ViewState": "AQIAAB4AAAAAAAAAAAAkwCoAAAAqAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", "WhenOpened": "2024-03-09T19:22:09.647Z", "EditorCaption": "" @@ -169,13 +168,13 @@ }, { "$type": "Document", - "DocumentIndex": 10, + "DocumentIndex": 4, "Title": "check_dir.cpp", "DocumentMoniker": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\check_dir.cpp", "RelativeDocumentMoniker": "check_dir.cpp", "ToolTip": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\check_dir.cpp", "RelativeToolTip": "check_dir.cpp", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAB8AAAAnAAAA", + "ViewState": "AQIAADEAAAAAAAAAAAAIwGgAAAAAAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", "WhenOpened": "2024-02-25T13:36:05.414Z", "EditorCaption": "" @@ -206,7 +205,7 @@ }, { "$type": "Document", - "DocumentIndex": 8, + "DocumentIndex": 10, "Title": "local_com.cpp", "DocumentMoniker": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\local_com.cpp", "RelativeDocumentMoniker": "local_com.cpp", @@ -214,12 +213,11 @@ "RelativeToolTip": "local_com.cpp", "ViewState": "AQIAAAAAAAAAAAAAAAAAAAcAAAAeAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", - "WhenOpened": "2024-01-28T20:40:06.217Z", - "EditorCaption": "" + "WhenOpened": "2024-01-28T20:40:06.217Z" }, { "$type": "Document", - "DocumentIndex": 5, + "DocumentIndex": 8, "Title": "settings.cpp", "DocumentMoniker": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\settings.cpp", "RelativeDocumentMoniker": "settings.cpp", @@ -227,8 +225,7 @@ "RelativeToolTip": "settings.cpp", "ViewState": "AQIAALIAAAAAAAAAAAAkwNUAAAACAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", - "WhenOpened": "2024-01-28T20:40:06.264Z", - "EditorCaption": "" + "WhenOpened": "2024-01-28T20:40:06.264Z" }, { "$type": "Document", @@ -244,7 +241,7 @@ }, { "$type": "Document", - "DocumentIndex": 6, + "DocumentIndex": 9, "Title": "client_backend.cpp", "DocumentMoniker": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\client_backend.cpp", "RelativeDocumentMoniker": "client_backend.cpp", @@ -252,8 +249,7 @@ "RelativeToolTip": "client_backend.cpp", "ViewState": "AQIAAAAAAAAAAAAAAAAAABkAAABBAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", - "WhenOpened": "2024-01-28T20:40:06.279Z", - "EditorCaption": "" + "WhenOpened": "2024-01-28T20:40:06.279Z" }, { "$type": "Document", @@ -263,7 +259,7 @@ "RelativeDocumentMoniker": "scan.cpp", "ToolTip": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\scan.cpp", "RelativeToolTip": "scan.cpp", - "ViewState": "AQIAAKwAAAAAAAAAAAAkwN8AAAArAAAA", + "ViewState": "AQIAALIAAAAAAAAAAAAkwNkAAAA2AAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", "WhenOpened": "2024-01-28T20:40:06.248Z", "EditorCaption": "" @@ -278,12 +274,11 @@ "RelativeToolTip": "update.cpp", "ViewState": "AQIAACwAAAAAAAAAAAAkwFIAAAAWAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", - "WhenOpened": "2024-01-28T20:40:06.248Z", - "EditorCaption": "" + "WhenOpened": "2024-01-28T20:40:06.248Z" }, { "$type": "Document", - "DocumentIndex": 9, + "DocumentIndex": 11, "Title": "local_schedule.cpp", "DocumentMoniker": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\local_schedule.cpp", "RelativeDocumentMoniker": "local_schedule.cpp", @@ -291,12 +286,11 @@ "RelativeToolTip": "local_schedule.cpp", "ViewState": "AQIAAAAAAAAAAAAAAAAAAFcAAAAvAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", - "WhenOpened": "2024-01-28T20:40:06.279Z", - "EditorCaption": "" + "WhenOpened": "2024-01-28T20:40:06.279Z" }, { "$type": "Document", - "DocumentIndex": 1, + "DocumentIndex": 5, "Title": "scan.h", "DocumentMoniker": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\scan.h", "RelativeDocumentMoniker": "scan.h", @@ -304,8 +298,7 @@ "RelativeToolTip": "scan.h", "ViewState": "AQIAAAAAAAAAAAAAAAAAABIAAAAyAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|", - "WhenOpened": "2024-01-28T20:40:06.295Z", - "EditorCaption": "" + "WhenOpened": "2024-01-28T20:40:06.295Z" }, { "$type": "Document", @@ -321,20 +314,20 @@ }, { "$type": "Document", - "DocumentIndex": 7, + "DocumentIndex": 3, "Title": "connect.cpp", "DocumentMoniker": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\connect.cpp", "RelativeDocumentMoniker": "connect.cpp", "ToolTip": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\connect.cpp", "RelativeToolTip": "connect.cpp", - "ViewState": "AQIAABIAAAAAAAAAAAAAAG0AAAAbAAAA", + "ViewState": "AQIAABQAAAAAAAAAAAAkwEAAAAAVAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", "WhenOpened": "2024-01-28T20:40:06.315Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 2, + "DocumentIndex": 6, "Title": "virus_ctrl.cpp", "DocumentMoniker": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_backend\\virus_ctrl.cpp", "RelativeDocumentMoniker": "virus_ctrl.cpp", @@ -342,8 +335,7 @@ "RelativeToolTip": "virus_ctrl.cpp", "ViewState": "AQIAAHsAAAAAAAAAAAAAAJMAAAAkAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", - "WhenOpened": "2024-02-18T12:49:41.861Z", - "EditorCaption": "" + "WhenOpened": "2024-02-18T12:49:41.861Z" } ] } diff --git a/src/client_backend/client_backend/x64/Debug/CodeAnalysisResultManifest.txt b/src/client_backend/client_backend/x64/Debug/CodeAnalysisResultManifest.txt new file mode 100644 index 0000000..00216a1 Binary files /dev/null and b/src/client_backend/client_backend/x64/Debug/CodeAnalysisResultManifest.txt differ diff --git a/src/client_backend/client_backend/x64/Debug/NativeCodeAnalysis.read.1.tlog b/src/client_backend/client_backend/x64/Debug/NativeCodeAnalysis.read.1.tlog new file mode 100644 index 0000000..2ae0d71 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/NativeCodeAnalysis.read.1.tlog @@ -0,0 +1 @@ +C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\TEAM TOOLS\STATIC ANALYSIS TOOLS\\RULE SETS\NATIVERECOMMENDEDRULES.RULESET diff --git a/src/client_backend/client_backend/x64/Debug/app_ctrl.h.ifcast b/src/client_backend/client_backend/x64/Debug/app_ctrl.h.ifcast new file mode 100644 index 0000000..bd5110d Binary files /dev/null and b/src/client_backend/client_backend/x64/Debug/app_ctrl.h.ifcast differ diff --git a/src/client_backend/client_backend/x64/Debug/app_ctrl.h.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/app_ctrl.h.nativecodeanalysis.sarif new file mode 100644 index 0000000..e6f6190 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/app_ctrl.h.nativecodeanalysis.sarif @@ -0,0 +1,35 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/app_ctrl.h" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "949745b3f4233286e01263aacdea68962f4ee9a816d9ff12990292b2831aaa2d" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/app_ctrl.h.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/app_ctrl.h.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/app_ctrl.h.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/app_ctrl.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/app_ctrl.nativecodeanalysis.sarif new file mode 100644 index 0000000..c613492 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/app_ctrl.nativecodeanalysis.sarif @@ -0,0 +1,43 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/app_ctrl.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "a798c47c547aef22ce331b36f1ed7db111ddaf8fb940251a70fb676845d6be76" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/app_ctrl.h" + }, + "hashes": { + "sha-256": "949745b3f4233286e01263aacdea68962f4ee9a816d9ff12990292b2831aaa2d" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/app_ctrl.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/app_ctrl.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/app_ctrl.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/check_dir.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/check_dir.nativecodeanalysis.sarif new file mode 100644 index 0000000..7402c7f --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/check_dir.nativecodeanalysis.sarif @@ -0,0 +1,1353 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [ + { + "ruleId": "C6387", + "message": { + "text": "\"overlapped.hEvent\" könnte \"0\" sein: dies entspricht nicht der Spezifikation für Funktion \"WaitForSingleObject\". " + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 89, + "startColumn": 15, + "endLine": 89, + "endColumn": 67 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "monitor_directory", + "decoratedName": "?monitor_directory@@YAXPEBD@Z", + "kind": "function" + } + ] + } + ], + "codeFlows": [ + { + "threadFlows": [ + { + "locations": [ + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 89, + "startColumn": 15 + } + }, + "message": { + "text": "\"overlapped\" ist ein Eingabe-/Ausgabeargument für \"WaitForSingleObject\" (in c:\\program files (x86)\\windows kits\\10\\include\\10.0.22621.0\\um\\synchapi.h:346 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 44, + "startColumn": 12 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 54, + "startColumn": 14 + } + }, + "message": { + "text": "Diese Verzweigung überspringen (Annahme: \"hDir==(((void *)(LONG_PTR)-1))\" ist false)" + } + }, + "kinds": [ + "branch" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 60, + "startColumn": 21 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 61, + "startColumn": 10 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 64, + "startColumn": 16 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 65, + "startColumn": 11 + } + }, + "message": { + "text": "\"overlapped\" ist eine Ausgabe von \"memset\" (in c:\\program files\\microsoft visual studio\\2022\\community\\vc\\tools\\msvc\\14.39.33519\\include\\vcruntime_string.h:63 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 66, + "startColumn": 11 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 67, + "startColumn": 23 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 78, + "startColumn": 15 + } + }, + "message": { + "text": "\"overlapped\" ist ein Eingabe-/Ausgabeargument für \"ReadDirectoryChangesW\" (in c:\\program files (x86)\\windows kits\\10\\include\\10.0.22621.0\\um\\winbase.h:6994 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 78, + "startColumn": 15 + } + }, + "message": { + "text": "Diese Verzweigung überspringen (Annahme: \"\" ist false)" + } + }, + "kinds": [ + "branch" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 84, + "startColumn": 8 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 84, + "startColumn": 25 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 84, + "startColumn": 8 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 87, + "startColumn": 12 + } + }, + "message": { + "text": "In diese Schleife eintreten (Annahme: \"!app_stop()\")" + } + }, + "kinds": [ + "branch" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 88, + "startColumn": 15 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 89, + "startColumn": 15 + } + }, + "message": { + "text": "\"overlapped\" ist ein Eingabe-/Ausgabeargument für \"WaitForSingleObject\" (in c:\\program files (x86)\\windows kits\\10\\include\\10.0.22621.0\\um\\synchapi.h:346 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 89, + "startColumn": 15 + } + }, + "message": { + "text": "\"overlapped.hEvent\" sollte nicht NULL sein, da dies nicht der SAL-Anmerkung zu \"WaitForSingleObject\" entspricht." + } + }, + "kinds": [ + "usage" + ], + "importance": "essential" + } + ] + } + ] + } + ] + }, + { + "ruleId": "C6387", + "message": { + "text": "\"overlapped.hEvent\" könnte \"0\" sein: dies entspricht nicht der Spezifikation für Funktion \"ResetEvent\". In Zeile 89 finden Sie einen früheren Ort, an dem dies vorkommen kann." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 105, + "startColumn": 17, + "endLine": 105, + "endColumn": 38 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "monitor_directory", + "decoratedName": "?monitor_directory@@YAXPEBD@Z", + "kind": "function" + } + ] + } + ], + "codeFlows": [ + { + "threadFlows": [ + { + "locations": [ + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 89, + "startColumn": 15 + } + }, + "message": { + "text": "\"overlapped\" ist ein Eingabe-/Ausgabeargument für \"WaitForSingleObject\" (in c:\\program files (x86)\\windows kits\\10\\include\\10.0.22621.0\\um\\synchapi.h:346 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 44, + "startColumn": 12 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 54, + "startColumn": 14 + } + }, + "message": { + "text": "Diese Verzweigung überspringen (Annahme: \"hDir==(((void *)(LONG_PTR)-1))\" ist false)" + } + }, + "kinds": [ + "branch" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 60, + "startColumn": 21 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 61, + "startColumn": 10 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 64, + "startColumn": 16 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 65, + "startColumn": 11 + } + }, + "message": { + "text": "\"overlapped\" ist eine Ausgabe von \"memset\" (in c:\\program files\\microsoft visual studio\\2022\\community\\vc\\tools\\msvc\\14.39.33519\\include\\vcruntime_string.h:63 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 66, + "startColumn": 11 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 67, + "startColumn": 23 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 78, + "startColumn": 15 + } + }, + "message": { + "text": "\"overlapped\" ist ein Eingabe-/Ausgabeargument für \"ReadDirectoryChangesW\" (in c:\\program files (x86)\\windows kits\\10\\include\\10.0.22621.0\\um\\winbase.h:6994 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 78, + "startColumn": 15 + } + }, + "message": { + "text": "Diese Verzweigung überspringen (Annahme: \"\" ist false)" + } + }, + "kinds": [ + "branch" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 84, + "startColumn": 8 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 84, + "startColumn": 25 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 84, + "startColumn": 8 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 87, + "startColumn": 12 + } + }, + "message": { + "text": "In diese Schleife eintreten (Annahme: \"!app_stop()\")" + } + }, + "kinds": [ + "branch" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 88, + "startColumn": 15 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 89, + "startColumn": 15 + } + }, + "message": { + "text": "\"overlapped\" ist ein Eingabe-/Ausgabeargument für \"WaitForSingleObject\" (in c:\\program files (x86)\\windows kits\\10\\include\\10.0.22621.0\\um\\synchapi.h:346 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 91, + "startColumn": 24 + } + }, + "message": { + "text": "In diese Verzweigung eintreten (Annahme: \"waitStatus==(((((DWORD)0))+0))\")" + } + }, + "kinds": [ + "branch" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 92, + "startColumn": 36 + } + }, + "message": { + "text": "\"overlapped\" ist ein Eingabe-/Ausgabeargument für \"GetOverlappedResult\" (in c:\\program files (x86)\\windows kits\\10\\include\\10.0.22621.0\\um\\ioapiset.h:105 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 92, + "startColumn": 36 + } + }, + "message": { + "text": "In diese Verzweigung eintreten (Annahme: \"\")" + } + }, + "kinds": [ + "branch" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 94, + "startColumn": 42 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 97, + "startColumn": 36 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 99, + "startColumn": 27 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 102, + "startColumn": 49 + } + }, + "message": { + "text": "Diese Schleife überspringen (Annahme: \"pInfo->NextEntryOffset!=0\" ist false)" + } + }, + "kinds": [ + "branch" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 105, + "startColumn": 27 + } + }, + "message": { + "text": "\"overlapped\" ist ein Eingabe-/Ausgabeargument für \"ResetEvent\" (in c:\\program files (x86)\\windows kits\\10\\include\\10.0.22621.0\\um\\synchapi.h:323 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 105, + "startColumn": 27 + } + }, + "message": { + "text": "\"overlapped.hEvent\" sollte nicht NULL sein, da dies nicht der SAL-Anmerkung zu \"ResetEvent\" entspricht." + } + }, + "kinds": [ + "usage" + ], + "importance": "essential" + } + ] + } + ] + } + ] + }, + { + "ruleId": "C6387", + "message": { + "text": "\"overlapped.hEvent\" könnte \"0\" sein: dies entspricht nicht der Spezifikation für Funktion \"CloseHandle\". " + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 134, + "startColumn": 5, + "endLine": 134, + "endColumn": 27 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "monitor_directory", + "decoratedName": "?monitor_directory@@YAXPEBD@Z", + "kind": "function" + } + ] + } + ], + "codeFlows": [ + { + "threadFlows": [ + { + "locations": [ + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 89, + "startColumn": 15 + } + }, + "message": { + "text": "\"overlapped\" ist ein Eingabe-/Ausgabeargument für \"WaitForSingleObject\" (in c:\\program files (x86)\\windows kits\\10\\include\\10.0.22621.0\\um\\synchapi.h:346 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 44, + "startColumn": 12 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 54, + "startColumn": 14 + } + }, + "message": { + "text": "Diese Verzweigung überspringen (Annahme: \"hDir==(((void *)(LONG_PTR)-1))\" ist false)" + } + }, + "kinds": [ + "branch" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 60, + "startColumn": 21 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 61, + "startColumn": 10 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 64, + "startColumn": 16 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 65, + "startColumn": 11 + } + }, + "message": { + "text": "\"overlapped\" ist eine Ausgabe von \"memset\" (in c:\\program files\\microsoft visual studio\\2022\\community\\vc\\tools\\msvc\\14.39.33519\\include\\vcruntime_string.h:63 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 66, + "startColumn": 11 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 67, + "startColumn": 23 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 78, + "startColumn": 15 + } + }, + "message": { + "text": "\"overlapped\" ist ein Eingabe-/Ausgabeargument für \"ReadDirectoryChangesW\" (in c:\\program files (x86)\\windows kits\\10\\include\\10.0.22621.0\\um\\winbase.h:6994 deklariert)" + } + }, + "kinds": [ + "declaration" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 78, + "startColumn": 15 + } + }, + "message": { + "text": "Diese Verzweigung überspringen (Annahme: \"\" ist false)" + } + }, + "kinds": [ + "branch" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 84, + "startColumn": 8 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 84, + "startColumn": 25 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 84, + "startColumn": 8 + } + } + }, + "importance": "unimportant" + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 87, + "startColumn": 12 + } + }, + "message": { + "text": "Diese Schleife überspringen (Annahme: \"!app_stop()\" ist false)" + } + }, + "kinds": [ + "branch" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 134, + "startColumn": 16 + } + }, + "message": { + "text": "\"overlapped\" ist eine Eingabe für \"CloseHandle\" (in c:\\program files (x86)\\windows kits\\10\\include\\10.0.22621.0\\um\\handleapi.h:39 deklariert)" + } + }, + "kinds": [ + "usage" + ] + }, + { + "location": { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "region": { + "startLine": 134, + "startColumn": 16 + } + }, + "message": { + "text": "\"overlapped.hEvent\" sollte nicht NULL sein, da dies nicht der SAL-Anmerkung zu \"CloseHandle\" entspricht." + } + }, + "kinds": [ + "usage" + ], + "importance": "essential" + } + ] + } + ] + } + ] + } + ], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/check_dir.cpp" + }, + "roles": [ + "analysisTarget", + "resultFile" + ], + "hashes": { + "sha-256": "6144ed5772d4d87f468bd58e261cdba81aa5e3780dd077b7be2c7ebb76d726bc" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/check_dir.h" + }, + "hashes": { + "sha-256": "f210a5cfc0ed07c2fe76b3337d0ad6c96ed534cf7b8c7cc7031c0884e89eb3e8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/log.h" + }, + "hashes": { + "sha-256": "7a7e01e1420f0f67bc89f7e76dd89b1a5e581e7d0fb2b8e03f9cdc7a87a10b39" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/connect.h" + }, + "hashes": { + "sha-256": "3bcd94c10a140501663755358e97e084d2a7434e33de1f244583535d34f29433" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curl.h" + }, + "hashes": { + "sha-256": "92f1cb78f6e7bde3889da35f627d393661d65734a2226824c6b8fd814a706b85" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curlver.h" + }, + "hashes": { + "sha-256": "beca18fe096fb23ad478cf4283acf7befda740aca7987a0ff31826eabbec39d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/system.h" + }, + "hashes": { + "sha-256": "c3d6c08073af28edaa73a6715afc0ac00ba0289c632d6ce6b654c5e7f98f98c2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/easy.h" + }, + "hashes": { + "sha-256": "0890e063d2bea8ba815d747d4f665994e263e1043f0e14a85733c9445cb83a6d" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/multi.h" + }, + "hashes": { + "sha-256": "3dd2ff1eeea4298f08d0aa5c6a46140644b6ee2e710ee8bc64513e732f32975c" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/urlapi.h" + }, + "hashes": { + "sha-256": "dd631108b8503994fcf6c416eeaea2973822fc778ea2cff440c6b6e21c8712d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/options.h" + }, + "hashes": { + "sha-256": "5716018d27e783283825bed2a8a051190487722fdeb64b7aa2d03a997e99b8d1" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/header.h" + }, + "hashes": { + "sha-256": "614be48a86f4e5d304c5aa40ef1c85245e25b97732921c3631840146669d992f" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/websockets.h" + }, + "hashes": { + "sha-256": "b58bb1d7eda3fd2372feb4d856c256897d83006dfe7933d69be54bc4a2ba5a3f" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/settings.h" + }, + "hashes": { + "sha-256": "ed1d0fa804c8ffccedab1a30d76ffc4b4ffc497c6fdc60d5e217fcec55ee42b8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/md5hash.h" + }, + "hashes": { + "sha-256": "9d4115dcc579db3aee366f7f99a17ed809a20d0ad597ef29ef6d46f715197920" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/md5.h" + }, + "hashes": { + "sha-256": "22d8a36f6528150f4355b304477a258a6c7ab06d642f9c8e2dd9e35cd480053b" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/macros.h" + }, + "hashes": { + "sha-256": "d699d2286f1738cf935a2c6c7667be6d8a16c91874ec9cb7b93244b01526b9f2" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/opensslconf.h" + }, + "hashes": { + "sha-256": "8343f2eccc78f00a1cd05f7a994f341697213785370910afc1c7bf31cdf6fcb3" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/configuration.h" + }, + "hashes": { + "sha-256": "d7d44be54377e736d9da5f531cda3c0152abd77cbf14d9c5800047afb507fb01" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/opensslv.h" + }, + "hashes": { + "sha-256": "4283184b7b71f4694728701afbe1316821933b394c7c8e69f180d7fa8d8084ff" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/e_os2.h" + }, + "hashes": { + "sha-256": "59a517cccd94403c7037102f4beb10f33d5b8cf768a000ea8e730a23ec3e23a9" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/scan.h" + }, + "hashes": { + "sha-256": "e33f61518e1f2e16b91c8fabe516a1c03ab32a6a7516cbd97a37d226c5e69f9e" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/app_ctrl.h" + }, + "hashes": { + "sha-256": "949745b3f4233286e01263aacdea68962f4ee9a816d9ff12990292b2831aaa2d" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/virus_ctrl.h" + }, + "hashes": { + "sha-256": "9c9bfdb314288b42047892bff1af6340f0fde4b3c6040f65771a38e377ee20b1" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/check_dir.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/check_dir.nativecodeanalysis.xml new file mode 100644 index 0000000..b6a7e1a --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/check_dir.nativecodeanalysis.xml @@ -0,0 +1,603 @@ + + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 6387 + "overlapped.hEvent" könnte "0" sein: dies entspricht nicht der Spezifikation für Funktion "WaitForSingleObject". + monitor_directory + ?monitor_directory@@YAXPEBD@Z + 42 + 1 + 4 + + mspft + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 1 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "WaitForSingleObject" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\synchapi.h:346 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 44 + 11 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 54 + 13 + + 2 + branch + Full + Diese Verzweigung überspringen (Annahme: "hDir==(((void *)(LONG_PTR)-1))" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 60 + 20 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 61 + 9 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 64 + 15 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 65 + 10 + + 3 + declaration + Full + "overlapped" ist eine Ausgabe von "memset" (in c:\program files\microsoft visual studio\2022\community\vc\tools\msvc\14.39.33519\include\vcruntime_string.h:63 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 66 + 10 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 67 + 22 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 78 + 14 + + 4 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "ReadDirectoryChangesW" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\winbase.h:6994 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 78 + 14 + + 5 + branch + Full + Diese Verzweigung überspringen (Annahme: "<Verzweigungsbedingung>" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 7 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 24 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 7 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 87 + 11 + + 6 + branch + Full + In diese Schleife eintreten (Annahme: "!app_stop()") + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 88 + 14 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 7 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "WaitForSingleObject" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\synchapi.h:346 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 8 + usage + Essential + "overlapped.hEvent" sollte nicht NULL sein, da dies nicht der SAL-Anmerkung zu "WaitForSingleObject" entspricht. + + + + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 105 + 26 + + 6387 + "overlapped.hEvent" könnte "0" sein: dies entspricht nicht der Spezifikation für Funktion "ResetEvent". In Zeile 89 finden Sie einen früheren Ort, an dem dies vorkommen kann. + monitor_directory + ?monitor_directory@@YAXPEBD@Z + 42 + 1 + 4 + + mspft + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 1 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "WaitForSingleObject" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\synchapi.h:346 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 44 + 11 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 54 + 13 + + 2 + branch + Full + Diese Verzweigung überspringen (Annahme: "hDir==(((void *)(LONG_PTR)-1))" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 60 + 20 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 61 + 9 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 64 + 15 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 65 + 10 + + 3 + declaration + Full + "overlapped" ist eine Ausgabe von "memset" (in c:\program files\microsoft visual studio\2022\community\vc\tools\msvc\14.39.33519\include\vcruntime_string.h:63 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 66 + 10 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 67 + 22 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 78 + 14 + + 4 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "ReadDirectoryChangesW" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\winbase.h:6994 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 78 + 14 + + 5 + branch + Full + Diese Verzweigung überspringen (Annahme: "<Verzweigungsbedingung>" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 7 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 24 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 7 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 87 + 11 + + 6 + branch + Full + In diese Schleife eintreten (Annahme: "!app_stop()") + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 88 + 14 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 7 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "WaitForSingleObject" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\synchapi.h:346 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 91 + 23 + + 8 + branch + Full + In diese Verzweigung eintreten (Annahme: "waitStatus==(((((DWORD)0))+0))") + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 92 + 35 + + 9 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "GetOverlappedResult" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\ioapiset.h:105 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 92 + 35 + + 10 + branch + Full + In diese Verzweigung eintreten (Annahme: "<Verzweigungsbedingung>") + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 94 + 41 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 97 + 35 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 99 + 26 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 102 + 48 + + 11 + branch + Full + Diese Schleife überspringen (Annahme: "pInfo->NextEntryOffset!=0" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 105 + 26 + + 12 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "ResetEvent" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\synchapi.h:323 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 105 + 26 + + 13 + usage + Essential + "overlapped.hEvent" sollte nicht NULL sein, da dies nicht der SAL-Anmerkung zu "ResetEvent" entspricht. + + + + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 134 + 15 + + 6387 + "overlapped.hEvent" könnte "0" sein: dies entspricht nicht der Spezifikation für Funktion "CloseHandle". + monitor_directory + ?monitor_directory@@YAXPEBD@Z + 42 + 1 + 4 + + mspft + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 1 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "WaitForSingleObject" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\synchapi.h:346 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 44 + 11 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 54 + 13 + + 2 + branch + Full + Diese Verzweigung überspringen (Annahme: "hDir==(((void *)(LONG_PTR)-1))" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 60 + 20 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 61 + 9 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 64 + 15 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 65 + 10 + + 3 + declaration + Full + "overlapped" ist eine Ausgabe von "memset" (in c:\program files\microsoft visual studio\2022\community\vc\tools\msvc\14.39.33519\include\vcruntime_string.h:63 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 66 + 10 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 67 + 22 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 78 + 14 + + 4 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "ReadDirectoryChangesW" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\winbase.h:6994 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 78 + 14 + + 5 + branch + Full + Diese Verzweigung überspringen (Annahme: "<Verzweigungsbedingung>" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 7 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 24 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 7 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 87 + 11 + + 6 + branch + Full + Diese Schleife überspringen (Annahme: "!app_stop()" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 134 + 15 + + 7 + usage + Full + "overlapped" ist eine Eingabe für "CloseHandle" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\handleapi.h:39 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 134 + 15 + + 8 + usage + Essential + "overlapped.hEvent" sollte nicht NULL sein, da dies nicht der SAL-Anmerkung zu "CloseHandle" entspricht. + + + + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/check_process.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/check_process.nativecodeanalysis.sarif new file mode 100644 index 0000000..623dd8d --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/check_process.nativecodeanalysis.sarif @@ -0,0 +1,171 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/check_process.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "c2ab3cf36b05a23a672e3b2727fc84cc7309ef4b97dd924947ad4cc2a5368327" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/check_process.h" + }, + "hashes": { + "sha-256": "5175105c62e50eebab69188120a956dd44f696da98f06b7cf15c7a99a2c8015a" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/log.h" + }, + "hashes": { + "sha-256": "7a7e01e1420f0f67bc89f7e76dd89b1a5e581e7d0fb2b8e03f9cdc7a87a10b39" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/connect.h" + }, + "hashes": { + "sha-256": "3bcd94c10a140501663755358e97e084d2a7434e33de1f244583535d34f29433" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curl.h" + }, + "hashes": { + "sha-256": "92f1cb78f6e7bde3889da35f627d393661d65734a2226824c6b8fd814a706b85" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curlver.h" + }, + "hashes": { + "sha-256": "beca18fe096fb23ad478cf4283acf7befda740aca7987a0ff31826eabbec39d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/system.h" + }, + "hashes": { + "sha-256": "c3d6c08073af28edaa73a6715afc0ac00ba0289c632d6ce6b654c5e7f98f98c2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/easy.h" + }, + "hashes": { + "sha-256": "0890e063d2bea8ba815d747d4f665994e263e1043f0e14a85733c9445cb83a6d" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/multi.h" + }, + "hashes": { + "sha-256": "3dd2ff1eeea4298f08d0aa5c6a46140644b6ee2e710ee8bc64513e732f32975c" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/urlapi.h" + }, + "hashes": { + "sha-256": "dd631108b8503994fcf6c416eeaea2973822fc778ea2cff440c6b6e21c8712d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/options.h" + }, + "hashes": { + "sha-256": "5716018d27e783283825bed2a8a051190487722fdeb64b7aa2d03a997e99b8d1" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/header.h" + }, + "hashes": { + "sha-256": "614be48a86f4e5d304c5aa40ef1c85245e25b97732921c3631840146669d992f" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/websockets.h" + }, + "hashes": { + "sha-256": "b58bb1d7eda3fd2372feb4d856c256897d83006dfe7933d69be54bc4a2ba5a3f" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/settings.h" + }, + "hashes": { + "sha-256": "ed1d0fa804c8ffccedab1a30d76ffc4b4ffc497c6fdc60d5e217fcec55ee42b8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/scan.h" + }, + "hashes": { + "sha-256": "e33f61518e1f2e16b91c8fabe516a1c03ab32a6a7516cbd97a37d226c5e69f9e" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/app_ctrl.h" + }, + "hashes": { + "sha-256": "949745b3f4233286e01263aacdea68962f4ee9a816d9ff12990292b2831aaa2d" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/check_process.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/check_process.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/check_process.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/client_backend.Build.CppClean.log b/src/client_backend/client_backend/x64/Debug/client_backend.Build.CppClean.log new file mode 100644 index 0000000..674800e --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/client_backend.Build.CppClean.log @@ -0,0 +1,81 @@ +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\vc143.pdb +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\vc143.idb +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\app_ctrl.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\app_ctrl.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\check_dir.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\check_dir.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\check_process.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\check_process.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\connect.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\connect.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\local_com.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\local_com.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\local_schedule.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\local_schedule.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\log.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\log.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\md5hash.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\md5hash.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\permissions.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\permissions.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\queue _ctrl.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\queue _ctrl.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\scan.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\scan.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\security.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\security.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\settings.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\settings.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\thread_ctrl.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\thread_ctrl.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\update.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\update.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\virus_ctrl.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\virus_ctrl.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\virus_ctrl.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\update.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\thread_ctrl.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\settings.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\security.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\scan.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\queue _ctrl.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\permissions.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\md5hash.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\log.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\local_schedule.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\local_com.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\connect.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\check_process.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\check_dir.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\app_ctrl.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\app_ctrl.h.ifc +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\app_ctrl.h.ifc.d.json +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\app_ctrl.h.ifcast +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\app_ctrl.h.nativecodeanalysis.sarif +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\app_ctrl.h.nativecodeanalysis.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\app_ctrl.h.obj +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\x64\debug\libcrypto-3-x64.dll +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\x64\debug\client_backend.exe +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\x64\debug\client_backend.pdb +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.res +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\app_ctrl.h.module.json +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.ilk +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\vc.nativecodeanalysis.all.xml +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.tlog\cl.command.1.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.tlog\cl.items.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.tlog\cl.read.1.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.tlog\cl.write.1.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.tlog\client_backend.write.1u.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.tlog\link.command.1.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.tlog\link.read.1.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.tlog\link.secondary.1.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.tlog\link.write.1.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.tlog\rc.command.1.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.tlog\rc.read.1.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend.tlog\rc.write.1.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend_md.tlog\cl.command.1.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend_md.tlog\microsoft.build.cpptasks.cl.read.1.tlog +c:\users\janis\documents\projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\debug\client_backend_md.tlog\microsoft.build.cpptasks.cl.write.1.tlog diff --git a/src/client_backend/client_backend/x64/Debug/client_backend.ilk b/src/client_backend/client_backend/x64/Debug/client_backend.ilk index 705e54b..e71069d 100644 Binary files a/src/client_backend/client_backend/x64/Debug/client_backend.ilk and b/src/client_backend/client_backend/x64/Debug/client_backend.ilk differ diff --git a/src/client_backend/client_backend/x64/Debug/client_backend.log b/src/client_backend/client_backend/x64/Debug/client_backend.log index 60c0301..23036a4 100644 --- a/src/client_backend/client_backend/x64/Debug/client_backend.log +++ b/src/client_backend/client_backend/x64/Debug/client_backend.log @@ -1,4 +1,8 @@  Quellen werden auf Modulabhängigkeiten überprüft... + app_ctrl.h + Kompilieren... + app_ctrl.h + app_ctrl.cpp check_dir.cpp C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xutility(4537,18): warning C4244: "=": Konvertierung von "wchar_t" in "char", möglicher Datenverlust (Quelldatei „check_dir.cpp“ wird kompiliert) @@ -40,7 +44,23 @@ C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\client_backend. C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\client_backend.cpp(112,24): warning C4244: [ C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\client_backend.cpp(112,24): warning C4244: _Rep=__int64 C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\client_backend.cpp(112,24): warning C4244: ] + connect.cpp + local_com.cpp + local_schedule.cpp + log.cpp + md5hash.cpp + permissions.cpp + queue _ctrl.cpp scan.cpp + security.cpp + settings.cpp thread_ctrl.cpp + update.cpp + virus_ctrl.cpp + Code Analysis für C/C++ wird ausgeführt... Code wird generiert... client_backend.vcxproj -> C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\x64\Debug\client_backend.exe +C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\check_dir.cpp(89): warning C6387: "overlapped.hEvent" könnte "0" sein: dies entspricht nicht der Spezifikation für Funktion "WaitForSingleObject". +C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\check_dir.cpp(105): warning C6387: "overlapped.hEvent" könnte "0" sein: dies entspricht nicht der Spezifikation für Funktion "ResetEvent". In Zeile 89 finden Sie einen früheren Ort, an dem dies vorkommen kann. +C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\check_dir.cpp(134): warning C6387: "overlapped.hEvent" könnte "0" sein: dies entspricht nicht der Spezifikation für Funktion "CloseHandle". +C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\connect.cpp(118): warning C6031: Rückgabewert wird ignoriert: "fscanf". diff --git a/src/client_backend/client_backend/x64/Debug/client_backend.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/client_backend.nativecodeanalysis.sarif new file mode 100644 index 0000000..8022e31 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/client_backend.nativecodeanalysis.sarif @@ -0,0 +1,283 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/client_backend.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "e37ec2172f4cebaa6d7af45759759c8e8f1d58574d2ac12da84be92b997fe056" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curl.h" + }, + "hashes": { + "sha-256": "92f1cb78f6e7bde3889da35f627d393661d65734a2226824c6b8fd814a706b85" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curlver.h" + }, + "hashes": { + "sha-256": "beca18fe096fb23ad478cf4283acf7befda740aca7987a0ff31826eabbec39d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/system.h" + }, + "hashes": { + "sha-256": "c3d6c08073af28edaa73a6715afc0ac00ba0289c632d6ce6b654c5e7f98f98c2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/easy.h" + }, + "hashes": { + "sha-256": "0890e063d2bea8ba815d747d4f665994e263e1043f0e14a85733c9445cb83a6d" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/multi.h" + }, + "hashes": { + "sha-256": "3dd2ff1eeea4298f08d0aa5c6a46140644b6ee2e710ee8bc64513e732f32975c" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/urlapi.h" + }, + "hashes": { + "sha-256": "dd631108b8503994fcf6c416eeaea2973822fc778ea2cff440c6b6e21c8712d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/options.h" + }, + "hashes": { + "sha-256": "5716018d27e783283825bed2a8a051190487722fdeb64b7aa2d03a997e99b8d1" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/header.h" + }, + "hashes": { + "sha-256": "614be48a86f4e5d304c5aa40ef1c85245e25b97732921c3631840146669d992f" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/websockets.h" + }, + "hashes": { + "sha-256": "b58bb1d7eda3fd2372feb4d856c256897d83006dfe7933d69be54bc4a2ba5a3f" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/md5.h" + }, + "hashes": { + "sha-256": "22d8a36f6528150f4355b304477a258a6c7ab06d642f9c8e2dd9e35cd480053b" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/macros.h" + }, + "hashes": { + "sha-256": "d699d2286f1738cf935a2c6c7667be6d8a16c91874ec9cb7b93244b01526b9f2" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/opensslconf.h" + }, + "hashes": { + "sha-256": "8343f2eccc78f00a1cd05f7a994f341697213785370910afc1c7bf31cdf6fcb3" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/configuration.h" + }, + "hashes": { + "sha-256": "d7d44be54377e736d9da5f531cda3c0152abd77cbf14d9c5800047afb507fb01" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/opensslv.h" + }, + "hashes": { + "sha-256": "4283184b7b71f4694728701afbe1316821933b394c7c8e69f180d7fa8d8084ff" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/e_os2.h" + }, + "hashes": { + "sha-256": "59a517cccd94403c7037102f4beb10f33d5b8cf768a000ea8e730a23ec3e23a9" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/app_ctrl.h" + }, + "hashes": { + "sha-256": "949745b3f4233286e01263aacdea68962f4ee9a816d9ff12990292b2831aaa2d" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/md5hash.h" + }, + "hashes": { + "sha-256": "9d4115dcc579db3aee366f7f99a17ed809a20d0ad597ef29ef6d46f715197920" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/connect.h" + }, + "hashes": { + "sha-256": "3bcd94c10a140501663755358e97e084d2a7434e33de1f244583535d34f29433" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/scan.h" + }, + "hashes": { + "sha-256": "e33f61518e1f2e16b91c8fabe516a1c03ab32a6a7516cbd97a37d226c5e69f9e" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/queue_ctrl.h" + }, + "hashes": { + "sha-256": "d1f0d8199a91544fced66cbbbbab8f712d5546c52155865be68abcdb07b7ebe9" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/local_com.h" + }, + "hashes": { + "sha-256": "b43737b780f66ec5117bed01096c46eccfebb70bb258505faec8cf03f43aa840" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/local_schedule.h" + }, + "hashes": { + "sha-256": "e5efa2ab8842e4c55f74723bdf41a1c961f7d335682a7148dfb2e0d9ff5f0cab" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/log.h" + }, + "hashes": { + "sha-256": "7a7e01e1420f0f67bc89f7e76dd89b1a5e581e7d0fb2b8e03f9cdc7a87a10b39" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/settings.h" + }, + "hashes": { + "sha-256": "ed1d0fa804c8ffccedab1a30d76ffc4b4ffc497c6fdc60d5e217fcec55ee42b8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/thread_ctrl.h" + }, + "hashes": { + "sha-256": "4a2e011f91a655485ade3c858ea9e2ab4bb87d558107c32cf455530e55bd4cb1" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/check_dir.h" + }, + "hashes": { + "sha-256": "f210a5cfc0ed07c2fe76b3337d0ad6c96ed534cf7b8c7cc7031c0884e89eb3e8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/virus_ctrl.h" + }, + "hashes": { + "sha-256": "9c9bfdb314288b42047892bff1af6340f0fde4b3c6040f65771a38e377ee20b1" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/update.h" + }, + "hashes": { + "sha-256": "81734fd4fa321faab7fa16471ce61319625095215a05c69e66848b2ee4474832" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/check_process.h" + }, + "hashes": { + "sha-256": "5175105c62e50eebab69188120a956dd44f696da98f06b7cf15c7a99a2c8015a" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/client_backend.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/client_backend.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/client_backend.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/client_backend.tlog/CL.command.1.tlog b/src/client_backend/client_backend/x64/Debug/client_backend.tlog/CL.command.1.tlog index bf66675..58ab28d 100644 Binary files a/src/client_backend/client_backend/x64/Debug/client_backend.tlog/CL.command.1.tlog and b/src/client_backend/client_backend/x64/Debug/client_backend.tlog/CL.command.1.tlog differ diff --git a/src/client_backend/client_backend/x64/Debug/client_backend.tlog/CL.read.1.tlog b/src/client_backend/client_backend/x64/Debug/client_backend.tlog/CL.read.1.tlog index f1ebb0e..e004754 100644 Binary files a/src/client_backend/client_backend/x64/Debug/client_backend.tlog/CL.read.1.tlog and b/src/client_backend/client_backend/x64/Debug/client_backend.tlog/CL.read.1.tlog differ diff --git a/src/client_backend/client_backend/x64/Debug/client_backend.tlog/CL.write.1.tlog b/src/client_backend/client_backend/x64/Debug/client_backend.tlog/CL.write.1.tlog index e344473..72c1b0a 100644 Binary files a/src/client_backend/client_backend/x64/Debug/client_backend.tlog/CL.write.1.tlog and b/src/client_backend/client_backend/x64/Debug/client_backend.tlog/CL.write.1.tlog differ diff --git a/src/client_backend/client_backend/x64/Debug/client_backend.tlog/client_backend.write.1u.tlog b/src/client_backend/client_backend/x64/Debug/client_backend.tlog/client_backend.write.1u.tlog index 98b1796..aafb69e 100644 Binary files a/src/client_backend/client_backend/x64/Debug/client_backend.tlog/client_backend.write.1u.tlog and b/src/client_backend/client_backend/x64/Debug/client_backend.tlog/client_backend.write.1u.tlog differ diff --git a/src/client_backend/client_backend/x64/Debug/client_backend.vcxproj.FileListAbsolute.txt b/src/client_backend/client_backend/x64/Debug/client_backend.vcxproj.FileListAbsolute.txt index d364fae..d3a1f57 100644 --- a/src/client_backend/client_backend/x64/Debug/client_backend.vcxproj.FileListAbsolute.txt +++ b/src/client_backend/client_backend/x64/Debug/client_backend.vcxproj.FileListAbsolute.txt @@ -1,2 +1,4 @@ C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\x64\Debug\libcrypto-3-x64.dll C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\Debug\client_b.C1767528.Up2Date +C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\x64\Debug\client_backend.exe.lastcodeanalysissucceeded +C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\client_backend\x64\Debug\NativeCodeAnalysis.read.1.tlog diff --git a/src/client_backend/client_backend/x64/Debug/client_backend_MD.tlog/CL.command.1.tlog b/src/client_backend/client_backend/x64/Debug/client_backend_MD.tlog/CL.command.1.tlog index a03a93e..3abc46d 100644 Binary files a/src/client_backend/client_backend/x64/Debug/client_backend_MD.tlog/CL.command.1.tlog and b/src/client_backend/client_backend/x64/Debug/client_backend_MD.tlog/CL.command.1.tlog differ diff --git a/src/client_backend/client_backend/x64/Debug/connect.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/connect.nativecodeanalysis.sarif new file mode 100644 index 0000000..444dcb8 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/connect.nativecodeanalysis.sarif @@ -0,0 +1,161 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [ + { + "ruleId": "C6031", + "message": { + "text": "Rückgabewert wird ignoriert: \"fscanf\"." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/connect.cpp" + }, + "region": { + "startLine": 118, + "startColumn": 9, + "endLine": 118, + "endColumn": 38 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "download_file_from_srv", + "decoratedName": "?download_file_from_srv@@YAHPEBD0_N@Z", + "kind": "function" + } + ] + } + ] + } + ], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///C:/Users/janis/Documents/Projekte_mit_c/ma/ma/src/client_backend/connect.cpp" + }, + "roles": [ + "analysisTarget", + "resultFile" + ], + "hashes": { + "sha-256": "79e72738054edfb6bca222406480fdea13dac036adf29aed7b467216387379fd" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/connect.h" + }, + "hashes": { + "sha-256": "3bcd94c10a140501663755358e97e084d2a7434e33de1f244583535d34f29433" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curl.h" + }, + "hashes": { + "sha-256": "92f1cb78f6e7bde3889da35f627d393661d65734a2226824c6b8fd814a706b85" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curlver.h" + }, + "hashes": { + "sha-256": "beca18fe096fb23ad478cf4283acf7befda740aca7987a0ff31826eabbec39d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/system.h" + }, + "hashes": { + "sha-256": "c3d6c08073af28edaa73a6715afc0ac00ba0289c632d6ce6b654c5e7f98f98c2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/easy.h" + }, + "hashes": { + "sha-256": "0890e063d2bea8ba815d747d4f665994e263e1043f0e14a85733c9445cb83a6d" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/multi.h" + }, + "hashes": { + "sha-256": "3dd2ff1eeea4298f08d0aa5c6a46140644b6ee2e710ee8bc64513e732f32975c" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/urlapi.h" + }, + "hashes": { + "sha-256": "dd631108b8503994fcf6c416eeaea2973822fc778ea2cff440c6b6e21c8712d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/options.h" + }, + "hashes": { + "sha-256": "5716018d27e783283825bed2a8a051190487722fdeb64b7aa2d03a997e99b8d1" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/header.h" + }, + "hashes": { + "sha-256": "614be48a86f4e5d304c5aa40ef1c85245e25b97732921c3631840146669d992f" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/websockets.h" + }, + "hashes": { + "sha-256": "b58bb1d7eda3fd2372feb4d856c256897d83006dfe7933d69be54bc4a2ba5a3f" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/connect.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/connect.nativecodeanalysis.xml new file mode 100644 index 0000000..690a89e --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/connect.nativecodeanalysis.xml @@ -0,0 +1,17 @@ + + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + connect.cpp + 118 + 14 + + 6031 + Rückgabewert wird ignoriert: "fscanf". + download_file_from_srv + ?download_file_from_srv@@YAHPEBD0_N@Z + 68 + + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/local_com.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/local_com.nativecodeanalysis.sarif new file mode 100644 index 0000000..6208adb --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/local_com.nativecodeanalysis.sarif @@ -0,0 +1,59 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/local_com.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "3f1b55415c3c15df8749032a377ad1fe7d7f310232d28e1107c3cb022ea4187c" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/local_com.h" + }, + "hashes": { + "sha-256": "b43737b780f66ec5117bed01096c46eccfebb70bb258505faec8cf03f43aa840" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/queue_ctrl.h" + }, + "hashes": { + "sha-256": "d1f0d8199a91544fced66cbbbbab8f712d5546c52155865be68abcdb07b7ebe9" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/local_com.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/local_com.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/local_com.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/local_schedule.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/local_schedule.nativecodeanalysis.sarif new file mode 100644 index 0000000..c037120 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/local_schedule.nativecodeanalysis.sarif @@ -0,0 +1,163 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/local_schedule.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "1dbe2ccf2e8b11f67d83e2c682b7608cef0c95ab14923d6047a9a94a1e3a1f5e" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/local_schedule.h" + }, + "hashes": { + "sha-256": "e5efa2ab8842e4c55f74723bdf41a1c961f7d335682a7148dfb2e0d9ff5f0cab" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/queue_ctrl.h" + }, + "hashes": { + "sha-256": "d1f0d8199a91544fced66cbbbbab8f712d5546c52155865be68abcdb07b7ebe9" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/log.h" + }, + "hashes": { + "sha-256": "7a7e01e1420f0f67bc89f7e76dd89b1a5e581e7d0fb2b8e03f9cdc7a87a10b39" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/connect.h" + }, + "hashes": { + "sha-256": "3bcd94c10a140501663755358e97e084d2a7434e33de1f244583535d34f29433" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curl.h" + }, + "hashes": { + "sha-256": "92f1cb78f6e7bde3889da35f627d393661d65734a2226824c6b8fd814a706b85" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curlver.h" + }, + "hashes": { + "sha-256": "beca18fe096fb23ad478cf4283acf7befda740aca7987a0ff31826eabbec39d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/system.h" + }, + "hashes": { + "sha-256": "c3d6c08073af28edaa73a6715afc0ac00ba0289c632d6ce6b654c5e7f98f98c2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/easy.h" + }, + "hashes": { + "sha-256": "0890e063d2bea8ba815d747d4f665994e263e1043f0e14a85733c9445cb83a6d" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/multi.h" + }, + "hashes": { + "sha-256": "3dd2ff1eeea4298f08d0aa5c6a46140644b6ee2e710ee8bc64513e732f32975c" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/urlapi.h" + }, + "hashes": { + "sha-256": "dd631108b8503994fcf6c416eeaea2973822fc778ea2cff440c6b6e21c8712d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/options.h" + }, + "hashes": { + "sha-256": "5716018d27e783283825bed2a8a051190487722fdeb64b7aa2d03a997e99b8d1" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/header.h" + }, + "hashes": { + "sha-256": "614be48a86f4e5d304c5aa40ef1c85245e25b97732921c3631840146669d992f" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/websockets.h" + }, + "hashes": { + "sha-256": "b58bb1d7eda3fd2372feb4d856c256897d83006dfe7933d69be54bc4a2ba5a3f" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/settings.h" + }, + "hashes": { + "sha-256": "ed1d0fa804c8ffccedab1a30d76ffc4b4ffc497c6fdc60d5e217fcec55ee42b8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/local_schedule.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/local_schedule.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/local_schedule.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/log.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/log.nativecodeanalysis.sarif new file mode 100644 index 0000000..be04de0 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/log.nativecodeanalysis.sarif @@ -0,0 +1,147 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/log.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "75e29822b121c6c0f9e2824ee59675f6b13b0913d8a7dafa841b1d75860ccf4f" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/log.h" + }, + "hashes": { + "sha-256": "7a7e01e1420f0f67bc89f7e76dd89b1a5e581e7d0fb2b8e03f9cdc7a87a10b39" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/connect.h" + }, + "hashes": { + "sha-256": "3bcd94c10a140501663755358e97e084d2a7434e33de1f244583535d34f29433" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curl.h" + }, + "hashes": { + "sha-256": "92f1cb78f6e7bde3889da35f627d393661d65734a2226824c6b8fd814a706b85" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curlver.h" + }, + "hashes": { + "sha-256": "beca18fe096fb23ad478cf4283acf7befda740aca7987a0ff31826eabbec39d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/system.h" + }, + "hashes": { + "sha-256": "c3d6c08073af28edaa73a6715afc0ac00ba0289c632d6ce6b654c5e7f98f98c2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/easy.h" + }, + "hashes": { + "sha-256": "0890e063d2bea8ba815d747d4f665994e263e1043f0e14a85733c9445cb83a6d" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/multi.h" + }, + "hashes": { + "sha-256": "3dd2ff1eeea4298f08d0aa5c6a46140644b6ee2e710ee8bc64513e732f32975c" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/urlapi.h" + }, + "hashes": { + "sha-256": "dd631108b8503994fcf6c416eeaea2973822fc778ea2cff440c6b6e21c8712d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/options.h" + }, + "hashes": { + "sha-256": "5716018d27e783283825bed2a8a051190487722fdeb64b7aa2d03a997e99b8d1" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/header.h" + }, + "hashes": { + "sha-256": "614be48a86f4e5d304c5aa40ef1c85245e25b97732921c3631840146669d992f" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/websockets.h" + }, + "hashes": { + "sha-256": "b58bb1d7eda3fd2372feb4d856c256897d83006dfe7933d69be54bc4a2ba5a3f" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/settings.h" + }, + "hashes": { + "sha-256": "ed1d0fa804c8ffccedab1a30d76ffc4b4ffc497c6fdc60d5e217fcec55ee42b8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/log.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/log.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/log.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/md5hash.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/md5hash.nativecodeanalysis.sarif new file mode 100644 index 0000000..b306654 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/md5hash.nativecodeanalysis.sarif @@ -0,0 +1,203 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/md5hash.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "ededb70a737eea79bf7b9c2fb50a9b20c26749ca2074c6d5c44ec0eb9110cacc" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/md5hash.h" + }, + "hashes": { + "sha-256": "9d4115dcc579db3aee366f7f99a17ed809a20d0ad597ef29ef6d46f715197920" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/md5.h" + }, + "hashes": { + "sha-256": "22d8a36f6528150f4355b304477a258a6c7ab06d642f9c8e2dd9e35cd480053b" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/macros.h" + }, + "hashes": { + "sha-256": "d699d2286f1738cf935a2c6c7667be6d8a16c91874ec9cb7b93244b01526b9f2" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/opensslconf.h" + }, + "hashes": { + "sha-256": "8343f2eccc78f00a1cd05f7a994f341697213785370910afc1c7bf31cdf6fcb3" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/configuration.h" + }, + "hashes": { + "sha-256": "d7d44be54377e736d9da5f531cda3c0152abd77cbf14d9c5800047afb507fb01" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/opensslv.h" + }, + "hashes": { + "sha-256": "4283184b7b71f4694728701afbe1316821933b394c7c8e69f180d7fa8d8084ff" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/e_os2.h" + }, + "hashes": { + "sha-256": "59a517cccd94403c7037102f4beb10f33d5b8cf768a000ea8e730a23ec3e23a9" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/log.h" + }, + "hashes": { + "sha-256": "7a7e01e1420f0f67bc89f7e76dd89b1a5e581e7d0fb2b8e03f9cdc7a87a10b39" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/connect.h" + }, + "hashes": { + "sha-256": "3bcd94c10a140501663755358e97e084d2a7434e33de1f244583535d34f29433" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curl.h" + }, + "hashes": { + "sha-256": "92f1cb78f6e7bde3889da35f627d393661d65734a2226824c6b8fd814a706b85" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curlver.h" + }, + "hashes": { + "sha-256": "beca18fe096fb23ad478cf4283acf7befda740aca7987a0ff31826eabbec39d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/system.h" + }, + "hashes": { + "sha-256": "c3d6c08073af28edaa73a6715afc0ac00ba0289c632d6ce6b654c5e7f98f98c2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/easy.h" + }, + "hashes": { + "sha-256": "0890e063d2bea8ba815d747d4f665994e263e1043f0e14a85733c9445cb83a6d" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/multi.h" + }, + "hashes": { + "sha-256": "3dd2ff1eeea4298f08d0aa5c6a46140644b6ee2e710ee8bc64513e732f32975c" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/urlapi.h" + }, + "hashes": { + "sha-256": "dd631108b8503994fcf6c416eeaea2973822fc778ea2cff440c6b6e21c8712d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/options.h" + }, + "hashes": { + "sha-256": "5716018d27e783283825bed2a8a051190487722fdeb64b7aa2d03a997e99b8d1" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/header.h" + }, + "hashes": { + "sha-256": "614be48a86f4e5d304c5aa40ef1c85245e25b97732921c3631840146669d992f" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/websockets.h" + }, + "hashes": { + "sha-256": "b58bb1d7eda3fd2372feb4d856c256897d83006dfe7933d69be54bc4a2ba5a3f" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/settings.h" + }, + "hashes": { + "sha-256": "ed1d0fa804c8ffccedab1a30d76ffc4b4ffc497c6fdc60d5e217fcec55ee42b8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/md5hash.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/md5hash.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/md5hash.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/permissions.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/permissions.nativecodeanalysis.sarif new file mode 100644 index 0000000..d942ac3 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/permissions.nativecodeanalysis.sarif @@ -0,0 +1,43 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/permissions.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "fca3e64e0f3385a740e829ac450f17f7e10bcb763dcaad63890e694711c820cb" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/permissions.h" + }, + "hashes": { + "sha-256": "2ba87ad7cae29b5ed6035d75517b23af7349bbcd06f6165d0b89acc9b1bd4529" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/permissions.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/permissions.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/permissions.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/queue _ctrl.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/queue _ctrl.nativecodeanalysis.sarif new file mode 100644 index 0000000..a9dd236 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/queue _ctrl.nativecodeanalysis.sarif @@ -0,0 +1,43 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/queue _ctrl.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "2a7691f3ab8e4d8637ece091beb11cc3a6ae3daa949a81aefabc72500c84c770" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/queue_ctrl.h" + }, + "hashes": { + "sha-256": "d1f0d8199a91544fced66cbbbbab8f712d5546c52155865be68abcdb07b7ebe9" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/queue _ctrl.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/queue _ctrl.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/queue _ctrl.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/scan.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/scan.nativecodeanalysis.sarif new file mode 100644 index 0000000..e5f7a14 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/scan.nativecodeanalysis.sarif @@ -0,0 +1,227 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/scan.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "704a854edd6e404f45841dd5718ec170deefa6394ce1466aae42f6feca36809e" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/scan.h" + }, + "hashes": { + "sha-256": "e33f61518e1f2e16b91c8fabe516a1c03ab32a6a7516cbd97a37d226c5e69f9e" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/md5.h" + }, + "hashes": { + "sha-256": "22d8a36f6528150f4355b304477a258a6c7ab06d642f9c8e2dd9e35cd480053b" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/macros.h" + }, + "hashes": { + "sha-256": "d699d2286f1738cf935a2c6c7667be6d8a16c91874ec9cb7b93244b01526b9f2" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/opensslconf.h" + }, + "hashes": { + "sha-256": "8343f2eccc78f00a1cd05f7a994f341697213785370910afc1c7bf31cdf6fcb3" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/configuration.h" + }, + "hashes": { + "sha-256": "d7d44be54377e736d9da5f531cda3c0152abd77cbf14d9c5800047afb507fb01" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/opensslv.h" + }, + "hashes": { + "sha-256": "4283184b7b71f4694728701afbe1316821933b394c7c8e69f180d7fa8d8084ff" + } + }, + { + "location": { + "uri": "file:///c:/program files/openssl-win64/include/openssl/e_os2.h" + }, + "hashes": { + "sha-256": "59a517cccd94403c7037102f4beb10f33d5b8cf768a000ea8e730a23ec3e23a9" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/md5hash.h" + }, + "hashes": { + "sha-256": "9d4115dcc579db3aee366f7f99a17ed809a20d0ad597ef29ef6d46f715197920" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/log.h" + }, + "hashes": { + "sha-256": "7a7e01e1420f0f67bc89f7e76dd89b1a5e581e7d0fb2b8e03f9cdc7a87a10b39" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/connect.h" + }, + "hashes": { + "sha-256": "3bcd94c10a140501663755358e97e084d2a7434e33de1f244583535d34f29433" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curl.h" + }, + "hashes": { + "sha-256": "92f1cb78f6e7bde3889da35f627d393661d65734a2226824c6b8fd814a706b85" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curlver.h" + }, + "hashes": { + "sha-256": "beca18fe096fb23ad478cf4283acf7befda740aca7987a0ff31826eabbec39d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/system.h" + }, + "hashes": { + "sha-256": "c3d6c08073af28edaa73a6715afc0ac00ba0289c632d6ce6b654c5e7f98f98c2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/easy.h" + }, + "hashes": { + "sha-256": "0890e063d2bea8ba815d747d4f665994e263e1043f0e14a85733c9445cb83a6d" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/multi.h" + }, + "hashes": { + "sha-256": "3dd2ff1eeea4298f08d0aa5c6a46140644b6ee2e710ee8bc64513e732f32975c" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/urlapi.h" + }, + "hashes": { + "sha-256": "dd631108b8503994fcf6c416eeaea2973822fc778ea2cff440c6b6e21c8712d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/options.h" + }, + "hashes": { + "sha-256": "5716018d27e783283825bed2a8a051190487722fdeb64b7aa2d03a997e99b8d1" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/header.h" + }, + "hashes": { + "sha-256": "614be48a86f4e5d304c5aa40ef1c85245e25b97732921c3631840146669d992f" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/websockets.h" + }, + "hashes": { + "sha-256": "b58bb1d7eda3fd2372feb4d856c256897d83006dfe7933d69be54bc4a2ba5a3f" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/settings.h" + }, + "hashes": { + "sha-256": "ed1d0fa804c8ffccedab1a30d76ffc4b4ffc497c6fdc60d5e217fcec55ee42b8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/virus_ctrl.h" + }, + "hashes": { + "sha-256": "9c9bfdb314288b42047892bff1af6340f0fde4b3c6040f65771a38e377ee20b1" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/app_ctrl.h" + }, + "hashes": { + "sha-256": "949745b3f4233286e01263aacdea68962f4ee9a816d9ff12990292b2831aaa2d" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/scan.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/scan.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/scan.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/security.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/security.nativecodeanalysis.sarif new file mode 100644 index 0000000..38771e0 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/security.nativecodeanalysis.sarif @@ -0,0 +1,43 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "f8e4e57027886ae1cffe42214b6d3db548155ab92893c14d2e9426e53a858de4" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/security.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/security.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/security.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/settings.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/settings.nativecodeanalysis.sarif new file mode 100644 index 0000000..fd66630 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/settings.nativecodeanalysis.sarif @@ -0,0 +1,147 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/settings.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "3bef24ca4a7863295470408dc579c03ebd4ed8219d703f00752f78c525eb7f65" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/settings.h" + }, + "hashes": { + "sha-256": "ed1d0fa804c8ffccedab1a30d76ffc4b4ffc497c6fdc60d5e217fcec55ee42b8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/log.h" + }, + "hashes": { + "sha-256": "7a7e01e1420f0f67bc89f7e76dd89b1a5e581e7d0fb2b8e03f9cdc7a87a10b39" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/connect.h" + }, + "hashes": { + "sha-256": "3bcd94c10a140501663755358e97e084d2a7434e33de1f244583535d34f29433" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curl.h" + }, + "hashes": { + "sha-256": "92f1cb78f6e7bde3889da35f627d393661d65734a2226824c6b8fd814a706b85" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curlver.h" + }, + "hashes": { + "sha-256": "beca18fe096fb23ad478cf4283acf7befda740aca7987a0ff31826eabbec39d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/system.h" + }, + "hashes": { + "sha-256": "c3d6c08073af28edaa73a6715afc0ac00ba0289c632d6ce6b654c5e7f98f98c2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/easy.h" + }, + "hashes": { + "sha-256": "0890e063d2bea8ba815d747d4f665994e263e1043f0e14a85733c9445cb83a6d" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/multi.h" + }, + "hashes": { + "sha-256": "3dd2ff1eeea4298f08d0aa5c6a46140644b6ee2e710ee8bc64513e732f32975c" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/urlapi.h" + }, + "hashes": { + "sha-256": "dd631108b8503994fcf6c416eeaea2973822fc778ea2cff440c6b6e21c8712d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/options.h" + }, + "hashes": { + "sha-256": "5716018d27e783283825bed2a8a051190487722fdeb64b7aa2d03a997e99b8d1" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/header.h" + }, + "hashes": { + "sha-256": "614be48a86f4e5d304c5aa40ef1c85245e25b97732921c3631840146669d992f" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/websockets.h" + }, + "hashes": { + "sha-256": "b58bb1d7eda3fd2372feb4d856c256897d83006dfe7933d69be54bc4a2ba5a3f" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/settings.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/settings.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/settings.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/thread_ctrl.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/thread_ctrl.nativecodeanalysis.sarif new file mode 100644 index 0000000..f40a88d --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/thread_ctrl.nativecodeanalysis.sarif @@ -0,0 +1,179 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/thread_ctrl.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "4bd7b2f5f31be5a93e3009cfdfeaac9467b592445a8007a3893128445660d7c4" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/thread_ctrl.h" + }, + "hashes": { + "sha-256": "4a2e011f91a655485ade3c858ea9e2ab4bb87d558107c32cf455530e55bd4cb1" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/log.h" + }, + "hashes": { + "sha-256": "7a7e01e1420f0f67bc89f7e76dd89b1a5e581e7d0fb2b8e03f9cdc7a87a10b39" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/connect.h" + }, + "hashes": { + "sha-256": "3bcd94c10a140501663755358e97e084d2a7434e33de1f244583535d34f29433" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curl.h" + }, + "hashes": { + "sha-256": "92f1cb78f6e7bde3889da35f627d393661d65734a2226824c6b8fd814a706b85" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curlver.h" + }, + "hashes": { + "sha-256": "beca18fe096fb23ad478cf4283acf7befda740aca7987a0ff31826eabbec39d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/system.h" + }, + "hashes": { + "sha-256": "c3d6c08073af28edaa73a6715afc0ac00ba0289c632d6ce6b654c5e7f98f98c2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/easy.h" + }, + "hashes": { + "sha-256": "0890e063d2bea8ba815d747d4f665994e263e1043f0e14a85733c9445cb83a6d" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/multi.h" + }, + "hashes": { + "sha-256": "3dd2ff1eeea4298f08d0aa5c6a46140644b6ee2e710ee8bc64513e732f32975c" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/urlapi.h" + }, + "hashes": { + "sha-256": "dd631108b8503994fcf6c416eeaea2973822fc778ea2cff440c6b6e21c8712d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/options.h" + }, + "hashes": { + "sha-256": "5716018d27e783283825bed2a8a051190487722fdeb64b7aa2d03a997e99b8d1" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/header.h" + }, + "hashes": { + "sha-256": "614be48a86f4e5d304c5aa40ef1c85245e25b97732921c3631840146669d992f" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/websockets.h" + }, + "hashes": { + "sha-256": "b58bb1d7eda3fd2372feb4d856c256897d83006dfe7933d69be54bc4a2ba5a3f" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/settings.h" + }, + "hashes": { + "sha-256": "ed1d0fa804c8ffccedab1a30d76ffc4b4ffc497c6fdc60d5e217fcec55ee42b8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/scan.h" + }, + "hashes": { + "sha-256": "e33f61518e1f2e16b91c8fabe516a1c03ab32a6a7516cbd97a37d226c5e69f9e" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/app_ctrl.h" + }, + "hashes": { + "sha-256": "949745b3f4233286e01263aacdea68962f4ee9a816d9ff12990292b2831aaa2d" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/update.h" + }, + "hashes": { + "sha-256": "81734fd4fa321faab7fa16471ce61319625095215a05c69e66848b2ee4474832" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/thread_ctrl.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/thread_ctrl.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/thread_ctrl.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/update.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/update.nativecodeanalysis.sarif new file mode 100644 index 0000000..554d598 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/update.nativecodeanalysis.sarif @@ -0,0 +1,155 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/update.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "9668a56d250566aa2ad5b34605e873c89a5468278ef838323352893fa50bb0a5" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/update.h" + }, + "hashes": { + "sha-256": "81734fd4fa321faab7fa16471ce61319625095215a05c69e66848b2ee4474832" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curl.h" + }, + "hashes": { + "sha-256": "92f1cb78f6e7bde3889da35f627d393661d65734a2226824c6b8fd814a706b85" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curlver.h" + }, + "hashes": { + "sha-256": "beca18fe096fb23ad478cf4283acf7befda740aca7987a0ff31826eabbec39d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/system.h" + }, + "hashes": { + "sha-256": "c3d6c08073af28edaa73a6715afc0ac00ba0289c632d6ce6b654c5e7f98f98c2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/easy.h" + }, + "hashes": { + "sha-256": "0890e063d2bea8ba815d747d4f665994e263e1043f0e14a85733c9445cb83a6d" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/multi.h" + }, + "hashes": { + "sha-256": "3dd2ff1eeea4298f08d0aa5c6a46140644b6ee2e710ee8bc64513e732f32975c" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/urlapi.h" + }, + "hashes": { + "sha-256": "dd631108b8503994fcf6c416eeaea2973822fc778ea2cff440c6b6e21c8712d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/options.h" + }, + "hashes": { + "sha-256": "5716018d27e783283825bed2a8a051190487722fdeb64b7aa2d03a997e99b8d1" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/header.h" + }, + "hashes": { + "sha-256": "614be48a86f4e5d304c5aa40ef1c85245e25b97732921c3631840146669d992f" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/websockets.h" + }, + "hashes": { + "sha-256": "b58bb1d7eda3fd2372feb4d856c256897d83006dfe7933d69be54bc4a2ba5a3f" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/log.h" + }, + "hashes": { + "sha-256": "7a7e01e1420f0f67bc89f7e76dd89b1a5e581e7d0fb2b8e03f9cdc7a87a10b39" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/connect.h" + }, + "hashes": { + "sha-256": "3bcd94c10a140501663755358e97e084d2a7434e33de1f244583535d34f29433" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/settings.h" + }, + "hashes": { + "sha-256": "ed1d0fa804c8ffccedab1a30d76ffc4b4ffc497c6fdc60d5e217fcec55ee42b8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/update.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/update.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/update.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/vc.nativecodeanalysis.all.xml b/src/client_backend/client_backend/x64/Debug/vc.nativecodeanalysis.all.xml new file mode 100644 index 0000000..a279429 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/vc.nativecodeanalysis.all.xml @@ -0,0 +1,611 @@ + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 6387 + "overlapped.hEvent" könnte "0" sein: dies entspricht nicht der Spezifikation für Funktion "WaitForSingleObject". + monitor_directory + ?monitor_directory@@YAXPEBD@Z + 42 + 1 + 4 + + mspft + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 1 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "WaitForSingleObject" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\synchapi.h:346 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 44 + 11 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 54 + 13 + + 2 + branch + Full + Diese Verzweigung überspringen (Annahme: "hDir==(((void *)(LONG_PTR)-1))" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 60 + 20 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 61 + 9 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 64 + 15 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 65 + 10 + + 3 + declaration + Full + "overlapped" ist eine Ausgabe von "memset" (in c:\program files\microsoft visual studio\2022\community\vc\tools\msvc\14.39.33519\include\vcruntime_string.h:63 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 66 + 10 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 67 + 22 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 78 + 14 + + 4 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "ReadDirectoryChangesW" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\winbase.h:6994 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 78 + 14 + + 5 + branch + Full + Diese Verzweigung überspringen (Annahme: "<Verzweigungsbedingung>" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 7 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 24 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 7 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 87 + 11 + + 6 + branch + Full + In diese Schleife eintreten (Annahme: "!app_stop()") + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 88 + 14 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 7 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "WaitForSingleObject" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\synchapi.h:346 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 8 + usage + Essential + "overlapped.hEvent" sollte nicht NULL sein, da dies nicht der SAL-Anmerkung zu "WaitForSingleObject" entspricht. + + + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 105 + 26 + + 6387 + "overlapped.hEvent" könnte "0" sein: dies entspricht nicht der Spezifikation für Funktion "ResetEvent". In Zeile 89 finden Sie einen früheren Ort, an dem dies vorkommen kann. + monitor_directory + ?monitor_directory@@YAXPEBD@Z + 42 + 1 + 4 + + mspft + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 1 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "WaitForSingleObject" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\synchapi.h:346 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 44 + 11 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 54 + 13 + + 2 + branch + Full + Diese Verzweigung überspringen (Annahme: "hDir==(((void *)(LONG_PTR)-1))" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 60 + 20 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 61 + 9 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 64 + 15 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 65 + 10 + + 3 + declaration + Full + "overlapped" ist eine Ausgabe von "memset" (in c:\program files\microsoft visual studio\2022\community\vc\tools\msvc\14.39.33519\include\vcruntime_string.h:63 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 66 + 10 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 67 + 22 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 78 + 14 + + 4 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "ReadDirectoryChangesW" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\winbase.h:6994 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 78 + 14 + + 5 + branch + Full + Diese Verzweigung überspringen (Annahme: "<Verzweigungsbedingung>" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 7 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 24 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 7 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 87 + 11 + + 6 + branch + Full + In diese Schleife eintreten (Annahme: "!app_stop()") + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 88 + 14 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 7 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "WaitForSingleObject" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\synchapi.h:346 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 91 + 23 + + 8 + branch + Full + In diese Verzweigung eintreten (Annahme: "waitStatus==(((((DWORD)0))+0))") + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 92 + 35 + + 9 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "GetOverlappedResult" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\ioapiset.h:105 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 92 + 35 + + 10 + branch + Full + In diese Verzweigung eintreten (Annahme: "<Verzweigungsbedingung>") + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 94 + 41 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 97 + 35 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 99 + 26 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 102 + 48 + + 11 + branch + Full + Diese Schleife überspringen (Annahme: "pInfo->NextEntryOffset!=0" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 105 + 26 + + 12 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "ResetEvent" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\synchapi.h:323 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 105 + 26 + + 13 + usage + Essential + "overlapped.hEvent" sollte nicht NULL sein, da dies nicht der SAL-Anmerkung zu "ResetEvent" entspricht. + + + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 134 + 15 + + 6387 + "overlapped.hEvent" könnte "0" sein: dies entspricht nicht der Spezifikation für Funktion "CloseHandle". + monitor_directory + ?monitor_directory@@YAXPEBD@Z + 42 + 1 + 4 + + mspft + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 89 + 14 + + 1 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "WaitForSingleObject" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\synchapi.h:346 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 44 + 11 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 54 + 13 + + 2 + branch + Full + Diese Verzweigung überspringen (Annahme: "hDir==(((void *)(LONG_PTR)-1))" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 60 + 20 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 61 + 9 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 64 + 15 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 65 + 10 + + 3 + declaration + Full + "overlapped" ist eine Ausgabe von "memset" (in c:\program files\microsoft visual studio\2022\community\vc\tools\msvc\14.39.33519\include\vcruntime_string.h:63 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 66 + 10 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 67 + 22 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 78 + 14 + + 4 + declaration + Full + "overlapped" ist ein Eingabe-/Ausgabeargument für "ReadDirectoryChangesW" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\winbase.h:6994 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 78 + 14 + + 5 + branch + Full + Diese Verzweigung überspringen (Annahme: "<Verzweigungsbedingung>" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 7 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 24 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 84 + 7 + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 87 + 11 + + 6 + branch + Full + Diese Schleife überspringen (Annahme: "!app_stop()" ist false) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 134 + 15 + + 7 + usage + Full + "overlapped" ist eine Eingabe für "CloseHandle" (in c:\program files (x86)\windows kits\10\include\10.0.22621.0\um\handleapi.h:39 deklariert) + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + check_dir.cpp + 134 + 15 + + 8 + usage + Essential + "overlapped.hEvent" sollte nicht NULL sein, da dies nicht der SAL-Anmerkung zu "CloseHandle" entspricht. + + + + + + C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\ + connect.cpp + 118 + 14 + + 6031 + Rückgabewert wird ignoriert: "fscanf". + download_file_from_srv + ?download_file_from_srv@@YAHPEBD0_N@Z + 68 + + \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/vc143.idb b/src/client_backend/client_backend/x64/Debug/vc143.idb index f26c5fa..d66ef9b 100644 Binary files a/src/client_backend/client_backend/x64/Debug/vc143.idb and b/src/client_backend/client_backend/x64/Debug/vc143.idb differ diff --git a/src/client_backend/client_backend/x64/Debug/vc143.pdb b/src/client_backend/client_backend/x64/Debug/vc143.pdb index 59c47f3..adbc1f0 100644 Binary files a/src/client_backend/client_backend/x64/Debug/vc143.pdb and b/src/client_backend/client_backend/x64/Debug/vc143.pdb differ diff --git a/src/client_backend/client_backend/x64/Debug/virus_ctrl.nativecodeanalysis.sarif b/src/client_backend/client_backend/x64/Debug/virus_ctrl.nativecodeanalysis.sarif new file mode 100644 index 0000000..88fb865 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/virus_ctrl.nativecodeanalysis.sarif @@ -0,0 +1,155 @@ +{ + "version": "2.1.0", + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "runs": [ + { + "results": [], + "tool": { + "driver": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.39.33519.0", + "informationUri": "https://aka.ms/cpp/ca" + } + }, + "invocations": [ + { + "executionSuccessful": true + } + ], + "artifacts": [ + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/virus_ctrl.cpp" + }, + "roles": [ + "analysisTarget" + ], + "hashes": { + "sha-256": "0aec44ab3a1448c63f1e2c097c1f37526372404f172a5d374271b02ec52fa1ec" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/virus_ctrl.h" + }, + "hashes": { + "sha-256": "9c9bfdb314288b42047892bff1af6340f0fde4b3c6040f65771a38e377ee20b1" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/well_known.h" + }, + "hashes": { + "sha-256": "3247ec4bcea740366b4b7ce7b9c8a5fa5b76f3d76ef2f6d7005d3ecca4e9e236" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/log.h" + }, + "hashes": { + "sha-256": "7a7e01e1420f0f67bc89f7e76dd89b1a5e581e7d0fb2b8e03f9cdc7a87a10b39" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/connect.h" + }, + "hashes": { + "sha-256": "3bcd94c10a140501663755358e97e084d2a7434e33de1f244583535d34f29433" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curl.h" + }, + "hashes": { + "sha-256": "92f1cb78f6e7bde3889da35f627d393661d65734a2226824c6b8fd814a706b85" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/curlver.h" + }, + "hashes": { + "sha-256": "beca18fe096fb23ad478cf4283acf7befda740aca7987a0ff31826eabbec39d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/system.h" + }, + "hashes": { + "sha-256": "c3d6c08073af28edaa73a6715afc0ac00ba0289c632d6ce6b654c5e7f98f98c2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/easy.h" + }, + "hashes": { + "sha-256": "0890e063d2bea8ba815d747d4f665994e263e1043f0e14a85733c9445cb83a6d" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/multi.h" + }, + "hashes": { + "sha-256": "3dd2ff1eeea4298f08d0aa5c6a46140644b6ee2e710ee8bc64513e732f32975c" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/urlapi.h" + }, + "hashes": { + "sha-256": "dd631108b8503994fcf6c416eeaea2973822fc778ea2cff440c6b6e21c8712d2" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/options.h" + }, + "hashes": { + "sha-256": "5716018d27e783283825bed2a8a051190487722fdeb64b7aa2d03a997e99b8d1" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/header.h" + }, + "hashes": { + "sha-256": "614be48a86f4e5d304c5aa40ef1c85245e25b97732921c3631840146669d992f" + } + }, + { + "location": { + "uri": "file:///c:/vcpkg/vcpkg-2023.08.09/installed/x64-windows/include/curl/websockets.h" + }, + "hashes": { + "sha-256": "b58bb1d7eda3fd2372feb4d856c256897d83006dfe7933d69be54bc4a2ba5a3f" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/settings.h" + }, + "hashes": { + "sha-256": "ed1d0fa804c8ffccedab1a30d76ffc4b4ffc497c6fdc60d5e217fcec55ee42b8" + } + }, + { + "location": { + "uri": "file:///c:/users/janis/documents/projekte_mit_c/ma/ma/src/client_backend/security.h" + }, + "hashes": { + "sha-256": "8520edfaf25eaf8ef2106d2b308376b887caeebc379ddd5fa7b1aec1376b5be4" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/client_backend/client_backend/x64/Debug/virus_ctrl.nativecodeanalysis.xml b/src/client_backend/client_backend/x64/Debug/virus_ctrl.nativecodeanalysis.xml new file mode 100644 index 0000000..dcdf088 --- /dev/null +++ b/src/client_backend/client_backend/x64/Debug/virus_ctrl.nativecodeanalysis.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/client_backend/connect.cpp b/src/client_backend/connect.cpp index 996452b..1070fca 100644 --- a/src/client_backend/connect.cpp +++ b/src/client_backend/connect.cpp @@ -77,6 +77,8 @@ int download_file_from_srv(const char* url, const char* output_file_path, bool i curl = curl_easy_init(); if (!curl) { + delete[] temp_path; + delete[] buf; return 1; } diff --git a/src/client_backend/md5hash.cpp b/src/client_backend/md5hash.cpp index a284c66..0c11d65 100644 --- a/src/client_backend/md5hash.cpp +++ b/src/client_backend/md5hash.cpp @@ -34,6 +34,7 @@ int md5_file( const char*path, char*md5Hash) { for (int i = 0; i < MD5_DIGEST_LENGTH; i++) { snprintf(&md5Hash[i * 2], 3, "%02x", result[i]); } + return 0; } //thread save implementation diff --git a/src/client_backend/x64/Debug/client_backend.exe.lastcodeanalysissucceeded b/src/client_backend/x64/Debug/client_backend.exe.lastcodeanalysissucceeded new file mode 100644 index 0000000..e69de29 diff --git a/src/client_backend/x64/Debug/client_backend.ilk b/src/client_backend/x64/Debug/client_backend.ilk deleted file mode 100644 index 96cca87..0000000 Binary files a/src/client_backend/x64/Debug/client_backend.ilk and /dev/null differ diff --git a/src/client_backend/x64/Debug/client_backend.pdb b/src/client_backend/x64/Debug/client_backend.pdb index 8187546..1055314 100644 Binary files a/src/client_backend/x64/Debug/client_backend.pdb and b/src/client_backend/x64/Debug/client_backend.pdb differ diff --git a/src/server/cyberhex-code/system/secure_zone/php/client_list.php b/src/server/cyberhex-code/system/secure_zone/php/client_list.php index 5fad864..95c492a 100644 --- a/src/server/cyberhex-code/system/secure_zone/php/client_list.php +++ b/src/server/cyberhex-code/system/secure_zone/php/client_list.php @@ -45,14 +45,20 @@ include "perms_functions.php"; include "../../../config.php"; //delete user if requested if(isset($_GET["delete"])){ - $userid=htmlspecialchars($_GET["delete"]); + $machine_id=htmlspecialchars($_GET["delete"]); $conn = new mysqli($DB_SERVERNAME, $DB_USERNAME, $DB_PASSWORD, $DB_DATABASE); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } - $sql = "DELETE FROM machines WHERE id = ?"; + $sql = "DELETE FROM machines WHERE machine_name = ?"; $stmt = $conn->prepare($sql); - $stmt->bind_param("i", $userid); + $stmt->bind_param("s", $machine_id); + // Execute the statement + $stmt->execute(); + $stmt->close(); + $sql = "DELETE FROM secrets WHERE machine_id = ?"; + $stmt = $conn->prepare($sql); + $stmt->bind_param("s", $machine_id); // Execute the statement $stmt->execute(); $stmt->close(); @@ -112,7 +118,7 @@ include "perms_functions.php"; echo(''.$machine_id.''); echo(''.$machine_location.''); echo(''.$machine_ip.''); - echo('delete'); + echo('delete'); echo(''); $stmt->close(); $num_of_machines--;