commit b93dbdf1e24a63b94692a4e3b7eb0e71fe7edbd7 Author: aixiao Date: Sat May 21 13:50:01 2022 +0800 增加图标 diff --git a/README.md b/README.md new file mode 100644 index 0000000..35b0dd9 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# Right_bash + 右键Bash(Bash on Debian on Windows) + + +# Help + Right_bash.exe -h,? print help + Right_bash.exe -a add Registry + Right_bash.exe -d delete Registry + Right_bash.exe -b Start SSH on boot + Right_bash.exe -p Turn off and start SSH + + diff --git a/Right_bash.sln b/Right_bash.sln new file mode 100644 index 0000000..ac27828 --- /dev/null +++ b/Right_bash.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.28307.572 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Right_bash", "Right_bash\Right_bash.vcxproj", "{3DDDBF10-AC04-4536-B9A2-293663B8E993}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3DDDBF10-AC04-4536-B9A2-293663B8E993}.Debug|x64.ActiveCfg = Debug|x64 + {3DDDBF10-AC04-4536-B9A2-293663B8E993}.Debug|x64.Build.0 = Debug|x64 + {3DDDBF10-AC04-4536-B9A2-293663B8E993}.Debug|x86.ActiveCfg = Debug|Win32 + {3DDDBF10-AC04-4536-B9A2-293663B8E993}.Debug|x86.Build.0 = Debug|Win32 + {3DDDBF10-AC04-4536-B9A2-293663B8E993}.Release|x64.ActiveCfg = Release|x64 + {3DDDBF10-AC04-4536-B9A2-293663B8E993}.Release|x64.Build.0 = Release|x64 + {3DDDBF10-AC04-4536-B9A2-293663B8E993}.Release|x86.ActiveCfg = Release|Win32 + {3DDDBF10-AC04-4536-B9A2-293663B8E993}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {4F7FA8DF-1935-41F3-8AB6-B27801B8DE90} + EndGlobalSection +EndGlobal diff --git a/Right_bash/ClassDiagram.cd b/Right_bash/ClassDiagram.cd new file mode 100644 index 0000000..77a8b74 --- /dev/null +++ b/Right_bash/ClassDiagram.cd @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Right_bash/Debug/Right_bash.Build.CppClean.log b/Right_bash/Debug/Right_bash.Build.CppClean.log new file mode 100644 index 0000000..831c35b --- /dev/null +++ b/Right_bash/Debug/Right_bash.Build.CppClean.log @@ -0,0 +1,15 @@ +c:\users\niuyuling\source\repos\right_bash\right_bash\debug\vc142.pdb +c:\users\niuyuling\source\repos\right_bash\right_bash\debug\vc142.idb +c:\users\niuyuling\source\repos\right_bash\right_bash\debug\getopt.obj +c:\users\niuyuling\source\repos\right_bash\right_bash\debug\main.obj +c:\users\niuyuling\source\repos\right_bash\debug\right_bash.exe +c:\users\niuyuling\source\repos\right_bash\debug\right_bash.ilk +c:\users\niuyuling\source\repos\right_bash\debug\right_bash.pdb +c:\users\niuyuling\source\repos\right_bash\right_bash\debug\vc141.idb +c:\users\niuyuling\source\repos\right_bash\right_bash\debug\vc141.pdb +c:\users\niuyuling\source\repos\right_bash\right_bash\debug\right_bash.tlog\cl.command.1.tlog +c:\users\niuyuling\source\repos\right_bash\right_bash\debug\right_bash.tlog\cl.read.1.tlog +c:\users\niuyuling\source\repos\right_bash\right_bash\debug\right_bash.tlog\cl.write.1.tlog +c:\users\niuyuling\source\repos\right_bash\right_bash\debug\right_bash.tlog\link.command.1.tlog +c:\users\niuyuling\source\repos\right_bash\right_bash\debug\right_bash.tlog\link.read.1.tlog +c:\users\niuyuling\source\repos\right_bash\right_bash\debug\right_bash.tlog\link.write.1.tlog diff --git a/Right_bash/Debug/Right_bash.log b/Right_bash/Debug/Right_bash.log new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/Right_bash/Debug/Right_bash.log @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Right_bash/Debug/Right_bash.tlog/CL.command.1.tlog b/Right_bash/Debug/Right_bash.tlog/CL.command.1.tlog new file mode 100644 index 0000000..4d3b17f Binary files /dev/null and b/Right_bash/Debug/Right_bash.tlog/CL.command.1.tlog differ diff --git a/Right_bash/Debug/Right_bash.tlog/CL.read.1.tlog b/Right_bash/Debug/Right_bash.tlog/CL.read.1.tlog new file mode 100644 index 0000000..bb0e031 Binary files /dev/null and b/Right_bash/Debug/Right_bash.tlog/CL.read.1.tlog differ diff --git a/Right_bash/Debug/Right_bash.tlog/CL.write.1.tlog b/Right_bash/Debug/Right_bash.tlog/CL.write.1.tlog new file mode 100644 index 0000000..f2437fb Binary files /dev/null and b/Right_bash/Debug/Right_bash.tlog/CL.write.1.tlog differ diff --git a/Right_bash/Debug/Right_bash.tlog/Right_bash.lastbuildstate b/Right_bash/Debug/Right_bash.tlog/Right_bash.lastbuildstate new file mode 100644 index 0000000..9f86d17 --- /dev/null +++ b/Right_bash/Debug/Right_bash.tlog/Right_bash.lastbuildstate @@ -0,0 +1,2 @@ +#TargetFrameworkVersion=v4.0:PlatformToolSet=v142:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0 +Debug|Win32|C:\Users\niuyuling\source\repos\Right_bash\| diff --git a/Right_bash/Debug/Right_bash.tlog/link.command.1.tlog b/Right_bash/Debug/Right_bash.tlog/link.command.1.tlog new file mode 100644 index 0000000..d015714 Binary files /dev/null and b/Right_bash/Debug/Right_bash.tlog/link.command.1.tlog differ diff --git a/Right_bash/Debug/Right_bash.tlog/link.read.1.tlog b/Right_bash/Debug/Right_bash.tlog/link.read.1.tlog new file mode 100644 index 0000000..836cade Binary files /dev/null and b/Right_bash/Debug/Right_bash.tlog/link.read.1.tlog differ diff --git a/Right_bash/Debug/Right_bash.tlog/link.write.1.tlog b/Right_bash/Debug/Right_bash.tlog/link.write.1.tlog new file mode 100644 index 0000000..83889be Binary files /dev/null and b/Right_bash/Debug/Right_bash.tlog/link.write.1.tlog differ diff --git a/Right_bash/Debug/Right_bash.vcxproj.FileListAbsolute.txt b/Right_bash/Debug/Right_bash.vcxproj.FileListAbsolute.txt new file mode 100644 index 0000000..e69de29 diff --git a/Right_bash/Debug/main.obj b/Right_bash/Debug/main.obj new file mode 100644 index 0000000..ee6e3bf Binary files /dev/null and b/Right_bash/Debug/main.obj differ diff --git a/Right_bash/Debug/vc141.idb b/Right_bash/Debug/vc141.idb new file mode 100644 index 0000000..28f3a85 Binary files /dev/null and b/Right_bash/Debug/vc141.idb differ diff --git a/Right_bash/Debug/vc141.pdb b/Right_bash/Debug/vc141.pdb new file mode 100644 index 0000000..f3d1d03 Binary files /dev/null and b/Right_bash/Debug/vc141.pdb differ diff --git a/Right_bash/Debug/vc142.idb b/Right_bash/Debug/vc142.idb new file mode 100644 index 0000000..113414f Binary files /dev/null and b/Right_bash/Debug/vc142.idb differ diff --git a/Right_bash/Debug/vc142.pdb b/Right_bash/Debug/vc142.pdb new file mode 100644 index 0000000..539c772 Binary files /dev/null and b/Right_bash/Debug/vc142.pdb differ diff --git a/Right_bash/RCa23992 b/Right_bash/RCa23992 new file mode 100644 index 0000000..5c20143 Binary files /dev/null and b/Right_bash/RCa23992 differ diff --git a/Right_bash/Resource.aps b/Right_bash/Resource.aps new file mode 100644 index 0000000..9b2bc35 Binary files /dev/null and b/Right_bash/Resource.aps differ diff --git a/Right_bash/Resource.rc b/Right_bash/Resource.rc new file mode 100644 index 0000000..6755b4c --- /dev/null +++ b/Right_bash/Resource.rc @@ -0,0 +1,100 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "winres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// (壬й) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) +LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED +#pragma code_page(936) + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource1.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""winres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,2,0,0 + PRODUCTVERSION 1,2,0,0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "080404b0" + BEGIN + VALUE "CompanyName", "TODO: aixiao@aixiao.me" + VALUE "FileDescription", "Right click bash" + VALUE "FileVersion", "1.2.0.0" + VALUE "InternalName", "Right_bash.exe" + VALUE "LegalCopyright", "Copyright (C) 2021 aixiao@aixiao.me" + VALUE "OriginalFilename", "Right_bash.exe" + VALUE "ProductName", "Right_bash" + VALUE "ProductVersion", "1.2.0.0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x804, 1200 + END +END + +#endif // (壬й) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/Right_bash/Right_bash.rc b/Right_bash/Right_bash.rc new file mode 100644 index 0000000..cc55b0c --- /dev/null +++ b/Right_bash/Right_bash.rc @@ -0,0 +1,86 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "winres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// (壬й) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) +LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED +#pragma code_page(936) + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""winres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_ICON1 ICON "icon.ico" + + +///////////////////////////////////////////////////////////////////////////// +// +// Toolbar +// + + + +///////////////////////////////////////////////////////////////////////////// +// +// Bitmap +// + +IDR_TOOLBAR1 BITMAP "toolbar1.bmp" + +#endif // (壬й) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/Right_bash/Right_bash.vcxproj b/Right_bash/Right_bash.vcxproj new file mode 100644 index 0000000..6720db3 --- /dev/null +++ b/Right_bash/Right_bash.vcxproj @@ -0,0 +1,159 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + + + + + + + + + + + + + + + + true + + + C:\Users\niuyuling + + + + + + + + 15.0 + {3DDDBF10-AC04-4536-B9A2-293663B8E993} + Rightbash + 10.0 + + + + Application + true + v143 + MultiByte + Static + + + Application + false + v143 + true + MultiByte + + + Application + true + v143 + MultiByte + Static + + + Application + false + v143 + true + MultiByte + Static + + + + + + + + + + + + + + + + + + + + + + + Level3 + Disabled + false + true + + + Advapi32.lib;%(AdditionalDependencies) + + + + + Level3 + Disabled + true + true + MultiThreadedDebug + true + + + Advapi32.lib;%(AdditionalDependencies) + + + + + Level3 + MaxSpeed + true + true + true + true + + + true + true + + + + + Level3 + MaxSpeed + true + true + true + true + + + true + true + Advapi32.lib;%(AdditionalDependencies) + Default + + + + + + \ No newline at end of file diff --git a/Right_bash/Right_bash.vcxproj.filters b/Right_bash/Right_bash.vcxproj.filters new file mode 100644 index 0000000..dcaf841 --- /dev/null +++ b/Right_bash/Right_bash.vcxproj.filters @@ -0,0 +1,60 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + 源文件 + + + 源文件 + + + + + 头文件 + + + 头文件 + + + 头文件 + + + 头文件 + + + + + 资源文件 + + + 资源文件 + + + + + 资源文件 + + + + + + + + 资源文件 + + + \ No newline at end of file diff --git a/Right_bash/Right_bash.vcxproj.user b/Right_bash/Right_bash.vcxproj.user new file mode 100644 index 0000000..7e04c94 --- /dev/null +++ b/Right_bash/Right_bash.vcxproj.user @@ -0,0 +1,6 @@ + + + + false + + \ No newline at end of file diff --git a/Right_bash/icon.ico b/Right_bash/icon.ico new file mode 100644 index 0000000..dd34830 Binary files /dev/null and b/Right_bash/icon.ico differ diff --git a/Right_bash/resource.h b/Right_bash/resource.h new file mode 100644 index 0000000..cb77166 --- /dev/null +++ b/Right_bash/resource.h @@ -0,0 +1,18 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ ɵİļ +// Right_bash.rc ʹ +// +#define IDI_ICON1 101 +#define IDR_TOOLBAR1 103 +#define IDB_BITMAP1 104 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 105 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/Right_bash/toolbar1.bmp b/Right_bash/toolbar1.bmp new file mode 100644 index 0000000..58fccf2 Binary files /dev/null and b/Right_bash/toolbar1.bmp differ diff --git a/Right_bash/x64/Debug/CodeAnalysisResultManifest.txt b/Right_bash/x64/Debug/CodeAnalysisResultManifest.txt new file mode 100644 index 0000000..337a881 Binary files /dev/null and b/Right_bash/x64/Debug/CodeAnalysisResultManifest.txt differ diff --git a/Right_bash/x64/Debug/Resource.res b/Right_bash/x64/Debug/Resource.res new file mode 100644 index 0000000..badeb63 Binary files /dev/null and b/Right_bash/x64/Debug/Resource.res differ diff --git a/Right_bash/x64/Debug/Right_bash.Build.CppClean.log b/Right_bash/x64/Debug/Right_bash.Build.CppClean.log new file mode 100644 index 0000000..083c034 --- /dev/null +++ b/Right_bash/x64/Debug/Right_bash.Build.CppClean.log @@ -0,0 +1,27 @@ +c:\users\niuyuling\desktop\right_bash\right_bash\x64\debug\vc142.pdb +c:\users\niuyuling\desktop\right_bash\right_bash\x64\debug\vc142.idb +c:\users\niuyuling\desktop\right_bash\right_bash\x64\debug\getopt.obj +c:\users\niuyuling\desktop\right_bash\right_bash\x64\debug\main.obj +c:\users\niuyuling\desktop\right_bash\right_bash\x64\debug\right_bash.ilk +c:\users\niuyuling\desktop\right_bash\x64\debug\right_bash.exe +c:\users\niuyuling\desktop\right_bash\x64\debug\right_bash.pdb +c:\users\niuyuling\desktop\right_bash\right_bash\x64\debug\resource.res +c:\users\niuyuling\desktop\right_bash\right_bash\x64\debug\right_bash.res +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\getopt.obj +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\main.obj +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\right_bash.ilk +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\resource.res +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\right_bash.res +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\vc142.idb +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\vc142.pdb +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\x64\debug\right_bash.pdb +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\x64\debug\right_bash.exe +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\right_bash.tlog\cl.command.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\right_bash.tlog\cl.read.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\right_bash.tlog\cl.write.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\right_bash.tlog\link.command.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\right_bash.tlog\link.read.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\right_bash.tlog\link.write.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\right_bash.tlog\rc.command.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\right_bash.tlog\rc.read.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\debug\right_bash.tlog\rc.write.1.tlog diff --git a/Right_bash/x64/Debug/Right_bash.exe.recipe b/Right_bash/x64/Debug/Right_bash.exe.recipe new file mode 100644 index 0000000..f68e86c --- /dev/null +++ b/Right_bash/x64/Debug/Right_bash.exe.recipe @@ -0,0 +1,11 @@ + + + + + C:\Users\niuyuling\Desktop\git.aixiao.me\Right_bash\x64\Debug\Right_bash.exe + + + + + + \ No newline at end of file diff --git a/Right_bash/x64/Debug/Right_bash.ilk b/Right_bash/x64/Debug/Right_bash.ilk new file mode 100644 index 0000000..29aefd1 Binary files /dev/null and b/Right_bash/x64/Debug/Right_bash.ilk differ diff --git a/Right_bash/x64/Debug/Right_bash.log b/Right_bash/x64/Debug/Right_bash.log new file mode 100644 index 0000000..11bcc88 --- /dev/null +++ b/Right_bash/x64/Debug/Right_bash.log @@ -0,0 +1,3 @@ + getopt.c + main.cpp + Right_bash.vcxproj -> C:\Users\niuyuling\Desktop\git.aixiao.me\Right_bash\x64\Debug\Right_bash.exe diff --git a/Right_bash/x64/Debug/Right_bash.res b/Right_bash/x64/Debug/Right_bash.res new file mode 100644 index 0000000..6cc8b8c Binary files /dev/null and b/Right_bash/x64/Debug/Right_bash.res differ diff --git a/Right_bash/x64/Debug/Right_bash.tlog/CL.command.1.tlog b/Right_bash/x64/Debug/Right_bash.tlog/CL.command.1.tlog new file mode 100644 index 0000000..662344a Binary files /dev/null and b/Right_bash/x64/Debug/Right_bash.tlog/CL.command.1.tlog differ diff --git a/Right_bash/x64/Debug/Right_bash.tlog/CL.read.1.tlog b/Right_bash/x64/Debug/Right_bash.tlog/CL.read.1.tlog new file mode 100644 index 0000000..d9d9d51 Binary files /dev/null and b/Right_bash/x64/Debug/Right_bash.tlog/CL.read.1.tlog differ diff --git a/Right_bash/x64/Debug/Right_bash.tlog/CL.write.1.tlog b/Right_bash/x64/Debug/Right_bash.tlog/CL.write.1.tlog new file mode 100644 index 0000000..630d445 Binary files /dev/null and b/Right_bash/x64/Debug/Right_bash.tlog/CL.write.1.tlog differ diff --git a/Right_bash/x64/Debug/Right_bash.tlog/Right_bash.lastbuildstate b/Right_bash/x64/Debug/Right_bash.tlog/Right_bash.lastbuildstate new file mode 100644 index 0000000..e27d3a3 --- /dev/null +++ b/Right_bash/x64/Debug/Right_bash.tlog/Right_bash.lastbuildstate @@ -0,0 +1,2 @@ +PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.32.31326:TargetPlatformVersion=10.0.19041.0: +Debug|x64|C:\Users\niuyuling\Desktop\git.aixiao.me\Right_bash\| diff --git a/Right_bash/x64/Debug/Right_bash.tlog/link.command.1.tlog b/Right_bash/x64/Debug/Right_bash.tlog/link.command.1.tlog new file mode 100644 index 0000000..30adca7 Binary files /dev/null and b/Right_bash/x64/Debug/Right_bash.tlog/link.command.1.tlog differ diff --git a/Right_bash/x64/Debug/Right_bash.tlog/link.read.1.tlog b/Right_bash/x64/Debug/Right_bash.tlog/link.read.1.tlog new file mode 100644 index 0000000..d3433d9 Binary files /dev/null and b/Right_bash/x64/Debug/Right_bash.tlog/link.read.1.tlog differ diff --git a/Right_bash/x64/Debug/Right_bash.tlog/link.write.1.tlog b/Right_bash/x64/Debug/Right_bash.tlog/link.write.1.tlog new file mode 100644 index 0000000..616344c Binary files /dev/null and b/Right_bash/x64/Debug/Right_bash.tlog/link.write.1.tlog differ diff --git a/Right_bash/x64/Debug/Right_bash.tlog/rc.command.1.tlog b/Right_bash/x64/Debug/Right_bash.tlog/rc.command.1.tlog new file mode 100644 index 0000000..0e2f079 Binary files /dev/null and b/Right_bash/x64/Debug/Right_bash.tlog/rc.command.1.tlog differ diff --git a/Right_bash/x64/Debug/Right_bash.tlog/rc.read.1.tlog b/Right_bash/x64/Debug/Right_bash.tlog/rc.read.1.tlog new file mode 100644 index 0000000..a9f1cc7 Binary files /dev/null and b/Right_bash/x64/Debug/Right_bash.tlog/rc.read.1.tlog differ diff --git a/Right_bash/x64/Debug/Right_bash.tlog/rc.write.1.tlog b/Right_bash/x64/Debug/Right_bash.tlog/rc.write.1.tlog new file mode 100644 index 0000000..2b955f3 Binary files /dev/null and b/Right_bash/x64/Debug/Right_bash.tlog/rc.write.1.tlog differ diff --git a/Right_bash/x64/Debug/Right_bash.vcxproj.FileListAbsolute.txt b/Right_bash/x64/Debug/Right_bash.vcxproj.FileListAbsolute.txt new file mode 100644 index 0000000..e69de29 diff --git a/Right_bash/x64/Debug/getopt.nativecodeanalysis.sarif b/Right_bash/x64/Debug/getopt.nativecodeanalysis.sarif new file mode 100644 index 0000000..ce43c37 --- /dev/null +++ b/Right_bash/x64/Debug/getopt.nativecodeanalysis.sarif @@ -0,0 +1,2634 @@ +{ + "version": "2.0.0", + "$schema": "http://json.schemastore.org/sarif-2.0.0", + "runs": [ + { + "results": [], + "tool": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.24.28314.0", + "fileVersion": "14.00.28314.00" + }, + "invocations": [ + { + "commandLine": "\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.24.28314\\bin\\HostX86\\x64\\c1.dll\" -ACf{1F7B090C-16DB-4822-966A-A93D26ED4681} -ACpmspft140.dll -Alint -D_PREFAST_ -D_AST_FE_ -Analyze -zm0x00273170 -il C:\\Users\\NIUYUL~1\\AppData\\Local\\Temp\\_CL_a122c5a8ast -typedil -f ..\\src\\getopt.c -Ze -D_MSC_EXTENSIONS -Zp16 -pc \\:/ -D_MSC_VER=1924 -D_MSC_FULL_VER=192428314 -D_MSC_BUILD=0 -D_M_AMD64=100 -ZILP448 -D_M_X64=100 -D_WIN64 -D_WIN32 -nologo -W 3 -diagnostics:column -Ot -DCODE_ANALYSIS -D_MBCS -D__MSVC_RUNTIME_CHECKS -RTCs -RTCu -clrNoPureCRT -D_DEBUG -D_MT -GS -D_M_FP_PRECISE -Fox64\\Debug\\getopt.obj -Fdx64\\Debug\\vc142.pdb -Gd -analyze:projectdirectory C:\\Users\\niuyuling\\Desktop\\Right_bash\\Right_bash\\ -analyze:rulesetdirectory ;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\Team Tools\\Static Analysis Tools\\\\Rule Sets; -analyze:ruleset C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\Team Tools\\Static Analysis Tools\\Rule Sets\\NativeRecommendedRules.ruleset -analyze:quiet -analyze:plugin C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.24.28314\\bin\\HostX86\\x86\\EspXEngine.dll -FC -errorreport:prompt -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.24.28314\\include -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.24.28314\\atlmfc\\include -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Auxiliary\\VS\\include -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\ucrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\um -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\shared -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\winrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\cppwinrt -I C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\Include\\um" + } + ], + "files": { + "file:///c:/users/niuyuling/desktop/right_bash/src/getopt.c": { + "roles": [ + "analysisTarget", + "resultFile" + ] + }, + "file:///c:/users/niuyuling/desktop/right_bash/src/getopt.h": { + "roles": [ + "resultFile" + ] + } + }, + "logicalLocations": {}, + "resources": { + "rules": { + "28216": { + "id": "28216", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6054": { + "id": "6054", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28243": { + "id": "28243", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6001": { + "id": "6001", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28253": { + "id": "28253", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6011": { + "id": "6011", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6029": { + "id": "6029", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6280": { + "id": "6280", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6277": { + "id": "6277", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6031": { + "id": "6031", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28211": { + "id": "28211", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6314": { + "id": "6314", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6053": { + "id": "6053", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6059": { + "id": "6059", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6278": { + "id": "6278", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6702": { + "id": "6702", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6306": { + "id": "6306", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6063": { + "id": "6063", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6288": { + "id": "6288", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28262": { + "id": "28262", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6705": { + "id": "6705", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6064": { + "id": "6064", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6101": { + "id": "6101", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6220": { + "id": "6220", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6303": { + "id": "6303", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6066": { + "id": "6066", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6706": { + "id": "6706", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6067": { + "id": "6067", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6302": { + "id": "6302", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26437": { + "id": "26437", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6200": { + "id": "6200", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26449": { + "id": "26449", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6201": { + "id": "6201", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6214": { + "id": "6214", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6215": { + "id": "6215", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6248": { + "id": "6248", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6216": { + "id": "6216", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6217": { + "id": "6217", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28020": { + "id": "28020", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6226": { + "id": "6226", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6230": { + "id": "6230", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6235": { + "id": "6235", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6268": { + "id": "6268", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28308": { + "id": "28308", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6236": { + "id": "6236", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28309": { + "id": "28309", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6237": { + "id": "6237", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6297": { + "id": "6297", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6242": { + "id": "6242", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6250": { + "id": "6250", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28350": { + "id": "28350", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6255": { + "id": "6255", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6258": { + "id": "6258", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6259": { + "id": "6259", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28303": { + "id": "28303", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6260": { + "id": "6260", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28301": { + "id": "28301", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28039": { + "id": "28039", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6262": { + "id": "6262", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28300": { + "id": "28300", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6263": { + "id": "6263", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6269": { + "id": "6269", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6508": { + "id": "6508", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6287": { + "id": "6287", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6270": { + "id": "6270", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6509": { + "id": "6509", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6286": { + "id": "6286", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6271": { + "id": "6271", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6285": { + "id": "6285", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6272": { + "id": "6272", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6284": { + "id": "6284", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6273": { + "id": "6273", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6283": { + "id": "6283", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6274": { + "id": "6274", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6281": { + "id": "6281", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6276": { + "id": "6276", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6279": { + "id": "6279", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6282": { + "id": "6282", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6506": { + "id": "6506", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6289": { + "id": "6289", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6290": { + "id": "6290", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6291": { + "id": "6291", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6292": { + "id": "6292", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6293": { + "id": "6293", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6294": { + "id": "6294", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6295": { + "id": "6295", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6296": { + "id": "6296", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6299": { + "id": "6299", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6701": { + "id": "6701", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6305": { + "id": "6305", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6308": { + "id": "6308", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28215": { + "id": "28215", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6310": { + "id": "6310", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28217": { + "id": "28217", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6312": { + "id": "6312", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28212": { + "id": "28212", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6317": { + "id": "6317", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6318": { + "id": "6318", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6319": { + "id": "6319", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28203": { + "id": "28203", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6324": { + "id": "6324", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28252": { + "id": "28252", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26812": { + "id": "26812", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6328": { + "id": "6328", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28234": { + "id": "28234", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28137": { + "id": "28137", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6331": { + "id": "6331", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28237": { + "id": "28237", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6332": { + "id": "6332", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28236": { + "id": "28236", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6333": { + "id": "6333", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28230": { + "id": "28230", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6335": { + "id": "6335", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6381": { + "id": "6381", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6383": { + "id": "6383", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6384": { + "id": "6384", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6385": { + "id": "6385", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6386": { + "id": "6386", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6387": { + "id": "6387", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6388": { + "id": "6388", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6500": { + "id": "6500", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6501": { + "id": "6501", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6503": { + "id": "6503", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6504": { + "id": "6504", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6505": { + "id": "6505", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6510": { + "id": "6510", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6511": { + "id": "6511", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6513": { + "id": "6513", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6514": { + "id": "6514", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6515": { + "id": "6515", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6516": { + "id": "6516", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6517": { + "id": "6517", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6518": { + "id": "6518", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6522": { + "id": "6522", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6525": { + "id": "6525", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6527": { + "id": "6527", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6530": { + "id": "6530", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6540": { + "id": "6540", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6551": { + "id": "6551", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6552": { + "id": "6552", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6703": { + "id": "6703", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28263": { + "id": "28263", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6704": { + "id": "6704", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26441": { + "id": "26441", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6993": { + "id": "6993", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6995": { + "id": "6995", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6997": { + "id": "6997", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26100": { + "id": "26100", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26101": { + "id": "26101", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26110": { + "id": "26110", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26111": { + "id": "26111", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26112": { + "id": "26112", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26115": { + "id": "26115", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26116": { + "id": "26116", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26117": { + "id": "26117", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26140": { + "id": "26140", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26439": { + "id": "26439", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26444": { + "id": "26444", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26450": { + "id": "26450", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26451": { + "id": "26451", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26452": { + "id": "26452", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26453": { + "id": "26453", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26454": { + "id": "26454", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26478": { + "id": "26478", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26495": { + "id": "26495", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28289": { + "id": "28289", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26498": { + "id": "26498", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28021": { + "id": "28021", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28022": { + "id": "28022", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28023": { + "id": "28023", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28024": { + "id": "28024", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28112": { + "id": "28112", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28113": { + "id": "28113", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28125": { + "id": "28125", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28138": { + "id": "28138", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28159": { + "id": "28159", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28241": { + "id": "28241", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28160": { + "id": "28160", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28163": { + "id": "28163", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28245": { + "id": "28245", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28164": { + "id": "28164", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28182": { + "id": "28182", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28183": { + "id": "28183", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28193": { + "id": "28193", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28196": { + "id": "28196", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28202": { + "id": "28202", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28205": { + "id": "28205", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28206": { + "id": "28206", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28207": { + "id": "28207", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28254": { + "id": "28254", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28209": { + "id": "28209", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28210": { + "id": "28210", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28213": { + "id": "28213", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28214": { + "id": "28214", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28218": { + "id": "28218", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28219": { + "id": "28219", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28220": { + "id": "28220", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28221": { + "id": "28221", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28222": { + "id": "28222", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28223": { + "id": "28223", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28279": { + "id": "28279", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28224": { + "id": "28224", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28225": { + "id": "28225", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28226": { + "id": "28226", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28227": { + "id": "28227", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28275": { + "id": "28275", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28228": { + "id": "28228", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28229": { + "id": "28229", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28231": { + "id": "28231", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28232": { + "id": "28232", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28233": { + "id": "28233", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28235": { + "id": "28235", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28238": { + "id": "28238", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28239": { + "id": "28239", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28240": { + "id": "28240", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28244": { + "id": "28244", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28246": { + "id": "28246", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28250": { + "id": "28250", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28251": { + "id": "28251", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28267": { + "id": "28267", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28272": { + "id": "28272", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28273": { + "id": "28273", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28280": { + "id": "28280", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28282": { + "id": "28282", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28285": { + "id": "28285", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28286": { + "id": "28286", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28287": { + "id": "28287", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28288": { + "id": "28288", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28290": { + "id": "28290", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28291": { + "id": "28291", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28302": { + "id": "28302", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28304": { + "id": "28304", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28305": { + "id": "28305", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28306": { + "id": "28306", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28307": { + "id": "28307", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28351": { + "id": "28351", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + } + } + } + } + ] +} \ No newline at end of file diff --git a/Right_bash/x64/Debug/getopt.obj b/Right_bash/x64/Debug/getopt.obj new file mode 100644 index 0000000..a608328 Binary files /dev/null and b/Right_bash/x64/Debug/getopt.obj differ diff --git a/Right_bash/x64/Debug/main.nativecodeanalysis.sarif b/Right_bash/x64/Debug/main.nativecodeanalysis.sarif new file mode 100644 index 0000000..deef9d2 --- /dev/null +++ b/Right_bash/x64/Debug/main.nativecodeanalysis.sarif @@ -0,0 +1,2634 @@ +{ + "version": "2.0.0", + "$schema": "http://json.schemastore.org/sarif-2.0.0", + "runs": [ + { + "results": [], + "tool": { + "name": "PREfast", + "fullName": "PREfast Code Analysis", + "version": "14.24.28314.0", + "fileVersion": "14.00.28314.00" + }, + "invocations": [ + { + "commandLine": "\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.24.28314\\bin\\HostX86\\x64\\c1xx.dll\" -ACf{1F7B090C-16DB-4822-966A-A93D26ED4681} -ACpmspft140.dll -Alint -D_PREFAST_ -D_AST_FE_ -Analyze -zm0x00273170 -il C:\\Users\\NIUYUL~1\\AppData\\Local\\Temp\\_CL_cd5c5406ast -typedil -f ..\\src\\main.cpp -Ze -D_MSC_EXTENSIONS -Zp16 -pc \\:/ -D_MSC_VER=1924 -D_MSC_FULL_VER=192428314 -D_MSC_BUILD=0 -D_M_AMD64=100 -ZILP448 -D_M_X64=100 -D_WIN64 -D_WIN32 -GR -D_CPPRTTI -nologo -W 3 -diagnostics:column -Ot -DCODE_ANALYSIS -D_MBCS -EHs -D_CPPUNWIND -EHc -D__MSVC_RUNTIME_CHECKS -RTCs -RTCu -clrNoPureCRT -D_DEBUG -D_MT -GS -D_M_FP_PRECISE -permissive- -Zc:wchar_t -Zc:forScope -Fox64\\Debug\\main.obj -Fdx64\\Debug\\vc142.pdb -Gd -analyze:projectdirectory C:\\Users\\niuyuling\\Desktop\\Right_bash\\Right_bash\\ -analyze:rulesetdirectory ;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\Team Tools\\Static Analysis Tools\\\\Rule Sets; -analyze:ruleset C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\Team Tools\\Static Analysis Tools\\Rule Sets\\NativeRecommendedRules.ruleset -analyze:quiet -analyze:plugin C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.24.28314\\bin\\HostX86\\x86\\EspXEngine.dll -FC -errorreport:prompt -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.24.28314\\include -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.24.28314\\atlmfc\\include -I C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Auxiliary\\VS\\include -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\ucrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\um -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\shared -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\winrt -I C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\cppwinrt -I C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\Include\\um" + } + ], + "files": { + "file:///c:/users/niuyuling/desktop/right_bash/src/main.cpp": { + "roles": [ + "analysisTarget", + "resultFile" + ] + }, + "file:///c:/users/niuyuling/desktop/right_bash/src/getopt.h": { + "roles": [ + "resultFile" + ] + } + }, + "logicalLocations": {}, + "resources": { + "rules": { + "28216": { + "id": "28216", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6054": { + "id": "6054", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28243": { + "id": "28243", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6001": { + "id": "6001", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28253": { + "id": "28253", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6011": { + "id": "6011", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6029": { + "id": "6029", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6280": { + "id": "6280", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6277": { + "id": "6277", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6031": { + "id": "6031", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28211": { + "id": "28211", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6314": { + "id": "6314", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6053": { + "id": "6053", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6059": { + "id": "6059", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6278": { + "id": "6278", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6702": { + "id": "6702", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6306": { + "id": "6306", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6063": { + "id": "6063", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6288": { + "id": "6288", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28262": { + "id": "28262", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6705": { + "id": "6705", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6064": { + "id": "6064", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6101": { + "id": "6101", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6220": { + "id": "6220", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6303": { + "id": "6303", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6066": { + "id": "6066", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6706": { + "id": "6706", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6067": { + "id": "6067", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6302": { + "id": "6302", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26437": { + "id": "26437", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6200": { + "id": "6200", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26449": { + "id": "26449", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6201": { + "id": "6201", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6214": { + "id": "6214", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6215": { + "id": "6215", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6248": { + "id": "6248", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6216": { + "id": "6216", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6217": { + "id": "6217", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28020": { + "id": "28020", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6226": { + "id": "6226", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6230": { + "id": "6230", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6235": { + "id": "6235", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6268": { + "id": "6268", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28308": { + "id": "28308", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6236": { + "id": "6236", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28309": { + "id": "28309", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6237": { + "id": "6237", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6297": { + "id": "6297", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6242": { + "id": "6242", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6250": { + "id": "6250", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28350": { + "id": "28350", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6255": { + "id": "6255", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6258": { + "id": "6258", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6259": { + "id": "6259", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28303": { + "id": "28303", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6260": { + "id": "6260", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28301": { + "id": "28301", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28039": { + "id": "28039", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6262": { + "id": "6262", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28300": { + "id": "28300", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6263": { + "id": "6263", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6269": { + "id": "6269", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6508": { + "id": "6508", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6287": { + "id": "6287", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6270": { + "id": "6270", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6509": { + "id": "6509", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6286": { + "id": "6286", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6271": { + "id": "6271", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6285": { + "id": "6285", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6272": { + "id": "6272", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6284": { + "id": "6284", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6273": { + "id": "6273", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6283": { + "id": "6283", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6274": { + "id": "6274", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6281": { + "id": "6281", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6276": { + "id": "6276", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6279": { + "id": "6279", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6282": { + "id": "6282", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6506": { + "id": "6506", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6289": { + "id": "6289", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6290": { + "id": "6290", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6291": { + "id": "6291", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6292": { + "id": "6292", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6293": { + "id": "6293", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6294": { + "id": "6294", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6295": { + "id": "6295", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6296": { + "id": "6296", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6299": { + "id": "6299", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6701": { + "id": "6701", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6305": { + "id": "6305", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6308": { + "id": "6308", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28215": { + "id": "28215", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6310": { + "id": "6310", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28217": { + "id": "28217", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6312": { + "id": "6312", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28212": { + "id": "28212", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6317": { + "id": "6317", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6318": { + "id": "6318", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6319": { + "id": "6319", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28203": { + "id": "28203", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6324": { + "id": "6324", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28252": { + "id": "28252", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26812": { + "id": "26812", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6328": { + "id": "6328", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28234": { + "id": "28234", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28137": { + "id": "28137", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6331": { + "id": "6331", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28237": { + "id": "28237", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6332": { + "id": "6332", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28236": { + "id": "28236", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6333": { + "id": "6333", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28230": { + "id": "28230", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6335": { + "id": "6335", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6381": { + "id": "6381", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6383": { + "id": "6383", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6384": { + "id": "6384", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6385": { + "id": "6385", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6386": { + "id": "6386", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6387": { + "id": "6387", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6388": { + "id": "6388", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6500": { + "id": "6500", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6501": { + "id": "6501", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6503": { + "id": "6503", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6504": { + "id": "6504", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6505": { + "id": "6505", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6510": { + "id": "6510", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6511": { + "id": "6511", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6513": { + "id": "6513", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6514": { + "id": "6514", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6515": { + "id": "6515", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6516": { + "id": "6516", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6517": { + "id": "6517", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6518": { + "id": "6518", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6522": { + "id": "6522", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6525": { + "id": "6525", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6527": { + "id": "6527", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6530": { + "id": "6530", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6540": { + "id": "6540", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6551": { + "id": "6551", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6552": { + "id": "6552", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6703": { + "id": "6703", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28263": { + "id": "28263", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6704": { + "id": "6704", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26441": { + "id": "26441", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6993": { + "id": "6993", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6995": { + "id": "6995", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "6997": { + "id": "6997", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26100": { + "id": "26100", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26101": { + "id": "26101", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26110": { + "id": "26110", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26111": { + "id": "26111", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26112": { + "id": "26112", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26115": { + "id": "26115", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26116": { + "id": "26116", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26117": { + "id": "26117", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26140": { + "id": "26140", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26439": { + "id": "26439", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26444": { + "id": "26444", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26450": { + "id": "26450", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26451": { + "id": "26451", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26452": { + "id": "26452", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26453": { + "id": "26453", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26454": { + "id": "26454", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26478": { + "id": "26478", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26495": { + "id": "26495", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28289": { + "id": "28289", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "26498": { + "id": "26498", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28021": { + "id": "28021", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28022": { + "id": "28022", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28023": { + "id": "28023", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28024": { + "id": "28024", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28112": { + "id": "28112", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28113": { + "id": "28113", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28125": { + "id": "28125", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28138": { + "id": "28138", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28159": { + "id": "28159", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28241": { + "id": "28241", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28160": { + "id": "28160", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28163": { + "id": "28163", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28245": { + "id": "28245", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28164": { + "id": "28164", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28182": { + "id": "28182", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28183": { + "id": "28183", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28193": { + "id": "28193", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28196": { + "id": "28196", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28202": { + "id": "28202", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28205": { + "id": "28205", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28206": { + "id": "28206", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28207": { + "id": "28207", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28254": { + "id": "28254", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28209": { + "id": "28209", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28210": { + "id": "28210", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28213": { + "id": "28213", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28214": { + "id": "28214", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28218": { + "id": "28218", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28219": { + "id": "28219", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28220": { + "id": "28220", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28221": { + "id": "28221", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28222": { + "id": "28222", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28223": { + "id": "28223", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28279": { + "id": "28279", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28224": { + "id": "28224", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28225": { + "id": "28225", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28226": { + "id": "28226", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28227": { + "id": "28227", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28275": { + "id": "28275", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28228": { + "id": "28228", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28229": { + "id": "28229", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28231": { + "id": "28231", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28232": { + "id": "28232", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28233": { + "id": "28233", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28235": { + "id": "28235", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28238": { + "id": "28238", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28239": { + "id": "28239", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28240": { + "id": "28240", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28244": { + "id": "28244", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28246": { + "id": "28246", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28250": { + "id": "28250", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28251": { + "id": "28251", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28267": { + "id": "28267", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28272": { + "id": "28272", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28273": { + "id": "28273", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28280": { + "id": "28280", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28282": { + "id": "28282", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28285": { + "id": "28285", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28286": { + "id": "28286", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28287": { + "id": "28287", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28288": { + "id": "28288", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28290": { + "id": "28290", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28291": { + "id": "28291", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28302": { + "id": "28302", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28304": { + "id": "28304", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28305": { + "id": "28305", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28306": { + "id": "28306", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28307": { + "id": "28307", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + }, + "28351": { + "id": "28351", + "name": "", + "shortDescription": "", + "fullDescription": "", + "configuration": { + "enabled": true, + "defaultLevel": "warning" + }, + "helpUri": "" + } + } + } + } + ] +} \ No newline at end of file diff --git a/Right_bash/x64/Debug/main.obj b/Right_bash/x64/Debug/main.obj new file mode 100644 index 0000000..c93de5f Binary files /dev/null and b/Right_bash/x64/Debug/main.obj differ diff --git a/Right_bash/x64/Debug/vc143.idb b/Right_bash/x64/Debug/vc143.idb new file mode 100644 index 0000000..ad0883d Binary files /dev/null and b/Right_bash/x64/Debug/vc143.idb differ diff --git a/Right_bash/x64/Debug/vc143.pdb b/Right_bash/x64/Debug/vc143.pdb new file mode 100644 index 0000000..bdcf382 Binary files /dev/null and b/Right_bash/x64/Debug/vc143.pdb differ diff --git a/Right_bash/x64/Release/Right_bash.Build.CppClean.log b/Right_bash/x64/Release/Right_bash.Build.CppClean.log new file mode 100644 index 0000000..92ed711 --- /dev/null +++ b/Right_bash/x64/Release/Right_bash.Build.CppClean.log @@ -0,0 +1,21 @@ +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\vc143.pdb +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\getopt.obj +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\main.obj +c:\users\niuyuling\icon.ico +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\x64\release\right_bash.exe +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\x64\release\right_bash.pdb +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.iobj +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\resource.res +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.res +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.tlog\cl.command.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.tlog\cl.read.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.tlog\cl.write.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.tlog\copyfile.command.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.tlog\copyfile.read.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.tlog\copyfile.write.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.tlog\link.command.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.tlog\link.read.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.tlog\link.write.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.tlog\rc.command.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.tlog\rc.read.1.tlog +c:\users\niuyuling\desktop\git.aixiao.me\right_bash\right_bash\x64\release\right_bash.tlog\rc.write.1.tlog diff --git a/Right_bash/x64/Release/Right_bash.exe.recipe b/Right_bash/x64/Release/Right_bash.exe.recipe new file mode 100644 index 0000000..c4f920b --- /dev/null +++ b/Right_bash/x64/Release/Right_bash.exe.recipe @@ -0,0 +1,11 @@ + + + + + C:\Users\niuyuling\Desktop\git.aixiao.me\Right_bash\x64\Release\Right_bash.exe + + + + + + \ No newline at end of file diff --git a/Right_bash/x64/Release/Right_bash.log b/Right_bash/x64/Release/Right_bash.log new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/Right_bash/x64/Release/Right_bash.log @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Right_bash/x64/Release/Right_bash.vcxproj.FileListAbsolute.txt b/Right_bash/x64/Release/Right_bash.vcxproj.FileListAbsolute.txt new file mode 100644 index 0000000..e69de29 diff --git a/src/getopt.c b/src/getopt.c new file mode 100644 index 0000000..09cdb69 --- /dev/null +++ b/src/getopt.c @@ -0,0 +1,568 @@ +/* $OpenBSD: getopt_long.c,v 1.23 2007/10/31 12:34:57 chl Exp $ */ +/* $NetBSD: getopt_long.c,v 1.15 2002/01/31 22:43:40 tv Exp $ */ + +/* + * Copyright (c) 2002 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Sponsored in part by the Defense Advanced Research Projects + * Agency (DARPA) and Air Force Research Laboratory, Air Force + * Materiel Command, USAF, under agreement number F39502-99-1-0512. + */ +/*- + * Copyright (c) 2000 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Dieter Baron and Thomas Klausner. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +#include +#include +#include +#include "getopt.h" +#include +#include +#include + +#define REPLACE_GETOPT /* use this getopt as the system getopt(3) */ + +#ifdef REPLACE_GETOPT +int opterr = 1; /* if error message should be printed */ +int optind = 1; /* index into parent argv vector */ +int optopt = '?'; /* character checked for validity */ +#undef optreset /* see getopt.h */ +#define optreset __mingw_optreset +int optreset; /* reset getopt */ +char *optarg; /* argument associated with option */ +#endif + +#define PRINT_ERROR ((opterr) && (*options != ':')) + +#define FLAG_PERMUTE 0x01 /* permute non-options to the end of argv */ +#define FLAG_ALLARGS 0x02 /* treat non-options as args to option "-1" */ +#define FLAG_LONGONLY 0x04 /* operate as getopt_long_only */ + +/* return values */ +#define BADCH (int)'?' +#define BADARG ((*options == ':') ? (int)':' : (int)'?') +#define INORDER (int)1 + +#ifndef __CYGWIN__ +#define __progname __argv[0] +#else +extern char __declspec(dllimport) *__progname; +#endif + +#ifdef __CYGWIN__ +static char EMSG[] = ""; +#else +#define EMSG "" +#endif + +static int getopt_internal(int, char * const *, const char *, + const struct option *, int *, int); +static int parse_long_options(char * const *, const char *, + const struct option *, int *, int); +static int gcd(int, int); +static void permute_args(int, int, int, char * const *); + +static char *place = EMSG; /* option letter processing */ + +/* XXX: set optreset to 1 rather than these two */ +static int nonopt_start = -1; /* first non option argument (for permute) */ +static int nonopt_end = -1; /* first option after non options (for permute) */ + +/* Error messages */ +static const char recargchar[] = "option requires an argument -- %c"; +static const char recargstring[] = "option requires an argument -- %s"; +static const char ambig[] = "ambiguous option -- %.*s"; +static const char noarg[] = "option doesn't take an argument -- %.*s"; +static const char illoptchar[] = "unknown option -- %c"; +static const char illoptstring[] = "unknown option -- %s"; + +static void +_vwarnx(const char *fmt,va_list ap) +{ + (void)fprintf(stderr,"%s: ",__progname); + if (fmt != NULL) + (void)vfprintf(stderr,fmt,ap); + (void)fprintf(stderr,"\n"); +} + +static void +warnx(const char *fmt,...) +{ + va_list ap; + va_start(ap,fmt); + _vwarnx(fmt,ap); + va_end(ap); +} + +/* + * Compute the greatest common divisor of a and b. + */ +static int +gcd(int a, int b) +{ + int c; + + c = a % b; + while (c != 0) { + a = b; + b = c; + c = a % b; + } + + return (b); +} + +/* + * Exchange the block from nonopt_start to nonopt_end with the block + * from nonopt_end to opt_end (keeping the same order of arguments + * in each block). + */ +static void +permute_args(int panonopt_start, int panonopt_end, int opt_end, + char * const *nargv) +{ + int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; + char *swap; + + /* + * compute lengths of blocks and number and size of cycles + */ + nnonopts = panonopt_end - panonopt_start; + nopts = opt_end - panonopt_end; + ncycle = gcd(nnonopts, nopts); + cyclelen = (opt_end - panonopt_start) / ncycle; + + for (i = 0; i < ncycle; i++) { + cstart = panonopt_end+i; + pos = cstart; + for (j = 0; j < cyclelen; j++) { + if (pos >= panonopt_end) + pos -= nnonopts; + else + pos += nopts; + swap = nargv[pos]; + /* LINTED const cast */ + ((char **) nargv)[pos] = nargv[cstart]; + /* LINTED const cast */ + ((char **)nargv)[cstart] = swap; + } + } +} + +/* + * parse_long_options -- + * Parse long options in argc/argv argument vector. + * Returns -1 if short_too is set and the option does not match long_options. + */ +static int +parse_long_options(char * const *nargv, const char *options, + const struct option *long_options, int *idx, int short_too) +{ + char *current_argv, *has_equal; + size_t current_argv_len; + int i, ambiguous, match; + +#define IDENTICAL_INTERPRETATION(_x, _y) \ + (long_options[(_x)].has_arg == long_options[(_y)].has_arg && \ + long_options[(_x)].flag == long_options[(_y)].flag && \ + long_options[(_x)].val == long_options[(_y)].val) + + current_argv = place; + match = -1; + ambiguous = 0; + + optind++; + + if ((has_equal = strchr(current_argv, '=')) != NULL) { + /* argument found (--option=arg) */ + current_argv_len = has_equal - current_argv; + has_equal++; + } else + current_argv_len = strlen(current_argv); + + for (i = 0; long_options[i].name; i++) { + /* find matching long option */ + if (strncmp(current_argv, long_options[i].name, + current_argv_len)) + continue; + + if (strlen(long_options[i].name) == current_argv_len) { + /* exact match */ + match = i; + ambiguous = 0; + break; + } + /* + * If this is a known short option, don't allow + * a partial match of a single character. + */ + if (short_too && current_argv_len == 1) + continue; + + if (match == -1) /* partial match */ + match = i; + else if (!IDENTICAL_INTERPRETATION(i, match)) + ambiguous = 1; + } + if (ambiguous) { + /* ambiguous abbreviation */ + if (PRINT_ERROR) + warnx(ambig, (int)current_argv_len, + current_argv); + optopt = 0; + return (BADCH); + } + if (match != -1) { /* option found */ + if (long_options[match].has_arg == no_argument + && has_equal) { + if (PRINT_ERROR) + warnx(noarg, (int)current_argv_len, + current_argv); + /* + * XXX: GNU sets optopt to val regardless of flag + */ + if (long_options[match].flag == NULL) + optopt = long_options[match].val; + else + optopt = 0; + return (BADARG); + } + if (long_options[match].has_arg == required_argument || + long_options[match].has_arg == optional_argument) { + if (has_equal) + optarg = has_equal; + else if (long_options[match].has_arg == + required_argument) { + /* + * optional argument doesn't use next nargv + */ + optarg = nargv[optind++]; + } + } + if ((long_options[match].has_arg == required_argument) + && (optarg == NULL)) { + /* + * Missing argument; leading ':' indicates no error + * should be generated. + */ + if (PRINT_ERROR) + warnx(recargstring, + current_argv); + /* + * XXX: GNU sets optopt to val regardless of flag + */ + if (long_options[match].flag == NULL) + optopt = long_options[match].val; + else + optopt = 0; + --optind; + return (BADARG); + } + } else { /* unknown option */ + if (short_too) { + --optind; + return (-1); + } + if (PRINT_ERROR) + warnx(illoptstring, current_argv); + optopt = 0; + return (BADCH); + } + if (idx) + *idx = match; + if (long_options[match].flag) { + *long_options[match].flag = long_options[match].val; + return (0); + } else + return (long_options[match].val); +#undef IDENTICAL_INTERPRETATION +} + +/* + * getopt_internal -- + * Parse argc/argv argument vector. Called by user level routines. + */ +static int +getopt_internal(int nargc, char * const *nargv, const char *options, + const struct option *long_options, int *idx, int flags) +{ + const char *oli; /* option letter list index */ + int optchar, short_too; + static int posixly_correct = -1; + + if (options == NULL) + return (-1); + + /* + * XXX Some GNU programs (like cvs) set optind to 0 instead of + * XXX using optreset. Work around this braindamage. + */ + if (optind == 0) + optind = optreset = 1; + + /* + * Disable GNU extensions if POSIXLY_CORRECT is set or options + * string begins with a '+'. + * + * CV, 2009-12-14: Check POSIXLY_CORRECT anew if optind == 0 or + * optreset != 0 for GNU compatibility. + */ + + if (posixly_correct == -1 || optreset != 0) { + //posixly_correct = (getenv("POSIXLY_CORRECT") != NULL); + char* pValue; + size_t len; + posixly_correct = _dupenv_s(&pValue, &len, "pathext"); + free(pValue); + } + if (*options == '-') + flags |= FLAG_ALLARGS; + else if (posixly_correct || *options == '+') + flags &= ~FLAG_PERMUTE; + if (*options == '+' || *options == '-') + options++; + + optarg = NULL; + if (optreset) + nonopt_start = nonopt_end = -1; +start: + if (optreset || !*place) { /* update scanning pointer */ + optreset = 0; + if (optind >= nargc) { /* end of argument vector */ + place = EMSG; + if (nonopt_end != -1) { + /* do permutation, if we have to */ + permute_args(nonopt_start, nonopt_end, + optind, nargv); + optind -= nonopt_end - nonopt_start; + } + else if (nonopt_start != -1) { + /* + * If we skipped non-options, set optind + * to the first of them. + */ + optind = nonopt_start; + } + nonopt_start = nonopt_end = -1; + return (-1); + } + if (*(place = nargv[optind]) != '-' || + (place[1] == '\0' && strchr(options, '-') == NULL)) { + place = EMSG; /* found non-option */ + if (flags & FLAG_ALLARGS) { + /* + * GNU extension: + * return non-option as argument to option 1 + */ + optarg = nargv[optind++]; + return (INORDER); + } + if (!(flags & FLAG_PERMUTE)) { + /* + * If no permutation wanted, stop parsing + * at first non-option. + */ + return (-1); + } + /* do permutation */ + if (nonopt_start == -1) + nonopt_start = optind; + else if (nonopt_end != -1) { + permute_args(nonopt_start, nonopt_end, + optind, nargv); + nonopt_start = optind - + (nonopt_end - nonopt_start); + nonopt_end = -1; + } + optind++; + /* process next argument */ + goto start; + } + if (nonopt_start != -1 && nonopt_end == -1) + nonopt_end = optind; + + /* + * If we have "-" do nothing, if "--" we are done. + */ + if (place[1] != '\0' && *++place == '-' && place[1] == '\0') { + optind++; + place = EMSG; + /* + * We found an option (--), so if we skipped + * non-options, we have to permute. + */ + if (nonopt_end != -1) { + permute_args(nonopt_start, nonopt_end, + optind, nargv); + optind -= nonopt_end - nonopt_start; + } + nonopt_start = nonopt_end = -1; + return (-1); + } + } + + /* + * Check long options if: + * 1) we were passed some + * 2) the arg is not just "-" + * 3) either the arg starts with -- we are getopt_long_only() + */ + if (long_options != NULL && place != nargv[optind] && + (*place == '-' || (flags & FLAG_LONGONLY))) { + short_too = 0; + if (*place == '-') + place++; /* --foo long option */ + else if (*place != ':' && strchr(options, *place) != NULL) + short_too = 1; /* could be short option too */ + + optchar = parse_long_options(nargv, options, long_options, + idx, short_too); + if (optchar != -1) { + place = EMSG; + return (optchar); + } + } + + if ((optchar = (int)*place++) == (int)':' || + (optchar == (int)'-' && *place != '\0') || + (oli = strchr(options, optchar)) == NULL) { + /* + * If the user specified "-" and '-' isn't listed in + * options, return -1 (non-option) as per POSIX. + * Otherwise, it is an unknown option character (or ':'). + */ + if (optchar == (int)'-' && *place == '\0') + return (-1); + if (!*place) + ++optind; + if (PRINT_ERROR) + warnx(illoptchar, optchar); + optopt = optchar; + return (BADCH); + } + if (long_options != NULL && optchar == 'W' && oli[1] == ';') { + /* -W long-option */ + if (*place) /* no space */ + /* NOTHING */; + else if (++optind >= nargc) { /* no arg */ + place = EMSG; + if (PRINT_ERROR) + warnx(recargchar, optchar); + optopt = optchar; + return (BADARG); + } else /* white space */ + place = nargv[optind]; + optchar = parse_long_options(nargv, options, long_options, + idx, 0); + place = EMSG; + return (optchar); + } + if (*++oli != ':') { /* doesn't take argument */ + if (!*place) + ++optind; + } else { /* takes (optional) argument */ + optarg = NULL; + if (*place) /* no white space */ + optarg = place; + else if (oli[1] != ':') { /* arg not optional */ + if (++optind >= nargc) { /* no arg */ + place = EMSG; + if (PRINT_ERROR) + warnx(recargchar, optchar); + optopt = optchar; + return (BADARG); + } else + optarg = nargv[optind]; + } + place = EMSG; + ++optind; + } + /* dump back option letter */ + return (optchar); +} + +#ifdef REPLACE_GETOPT +/* + * getopt -- + * Parse argc/argv argument vector. + * + * [eventually this will replace the BSD getopt] + */ +int +getopt(int nargc, char * const *nargv, const char *options) +{ + + /* + * We don't pass FLAG_PERMUTE to getopt_internal() since + * the BSD getopt(3) (unlike GNU) has never done this. + * + * Furthermore, since many privileged programs call getopt() + * before dropping privileges it makes sense to keep things + * as simple (and bug-free) as possible. + */ + return (getopt_internal(nargc, nargv, options, NULL, NULL, 0)); +} +#endif /* REPLACE_GETOPT */ + +/* + * getopt_long -- + * Parse argc/argv argument vector. + */ +int +getopt_long(int nargc, char * const *nargv, const char *options, + const struct option *long_options, int *idx) +{ + + return (getopt_internal(nargc, nargv, options, long_options, idx, + FLAG_PERMUTE)); +} + +/* + * getopt_long_only -- + * Parse argc/argv argument vector. + */ +int +getopt_long_only(int nargc, char * const *nargv, const char *options, + const struct option *long_options, int *idx) +{ + + return (getopt_internal(nargc, nargv, options, long_options, idx, + FLAG_PERMUTE|FLAG_LONGONLY)); +} diff --git a/src/getopt.h b/src/getopt.h new file mode 100644 index 0000000..f3f864b --- /dev/null +++ b/src/getopt.h @@ -0,0 +1,105 @@ +#ifndef __GETOPT_H__ +/** + * DISCLAIMER + * This file has no copyright assigned and is placed in the Public Domain. + * This file is a part of the w64 mingw-runtime package. + * + * The w64 mingw-runtime package and its code is distributed in the hope that it + * will be useful but WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESSED OR + * IMPLIED ARE HEREBY DISCLAIMED. This includes but is not limited to + * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +#define __GETOPT_H__ + +/* All the headers include this file. */ +#include + +#if defined( WINGETOPT_SHARED_LIB ) +# if defined( BUILDING_WINGETOPT_DLL ) +# define WINGETOPT_API __declspec(dllexport) +# else +# define WINGETOPT_API __declspec(dllimport) +# endif +#else +# define WINGETOPT_API +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +WINGETOPT_API extern int optind; /* index of first non-option in argv */ +WINGETOPT_API extern int optopt; /* single option character, as parsed */ +WINGETOPT_API extern int opterr; /* flag to enable built-in diagnostics... */ + /* (user may set to zero, to suppress) */ + +WINGETOPT_API extern char *optarg; /* pointer to argument of current option */ + +extern int getopt(int nargc, char * const *nargv, const char *options); + +#ifdef _BSD_SOURCE +/* + * BSD adds the non-standard `optreset' feature, for reinitialisation + * of `getopt' parsing. We support this feature, for applications which + * proclaim their BSD heritage, before including this header; however, + * to maintain portability, developers are advised to avoid it. + */ +# define optreset __mingw_optreset +extern int optreset; +#endif +#ifdef __cplusplus +} +#endif +/* + * POSIX requires the `getopt' API to be specified in `unistd.h'; + * thus, `unistd.h' includes this header. However, we do not want + * to expose the `getopt_long' or `getopt_long_only' APIs, when + * included in this manner. Thus, close the standard __GETOPT_H__ + * declarations block, and open an additional __GETOPT_LONG_H__ + * specific block, only when *not* __UNISTD_H_SOURCED__, in which + * to declare the extended API. + */ +#endif /* !defined(__GETOPT_H__) */ + +#if !defined(__UNISTD_H_SOURCED__) && !defined(__GETOPT_LONG_H__) +#define __GETOPT_LONG_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +struct option /* specification for a long form option... */ +{ + const char *name; /* option name, without leading hyphens */ + int has_arg; /* does it take an argument? */ + int *flag; /* where to save its status, or NULL */ + int val; /* its associated status value */ +}; + +enum /* permitted values for its `has_arg' field... */ +{ + no_argument = 0, /* option never takes an argument */ + required_argument, /* option always requires an argument */ + optional_argument /* option may take an argument */ +}; + +extern int getopt_long(int nargc, char * const *nargv, const char *options, + const struct option *long_options, int *idx); +extern int getopt_long_only(int nargc, char * const *nargv, const char *options, + const struct option *long_options, int *idx); +/* + * Previous MinGW implementation had... + */ +#ifndef HAVE_DECL_GETOPT +/* + * ...for the long form API only; keep this for compatibility. + */ +# define HAVE_DECL_GETOPT 1 +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* !defined(__UNISTD_H_SOURCED__) && !defined(__GETOPT_LONG_H__) */ diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..00325b9 --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,235 @@ +#include "main.h" + +// ӡϢ +void help(char** argv) +{ + static const char* help_s[] = { + "", + "Options:", + " -h,? print help", + " -a add Registry", + " -d delete Registry", + " -b Start SSH on boot", + " -p Turn off and start SSH", + "", + 0 + }; + static const char name[] = "Right_bash 1.2"; + static const char usage[] = "Usage: [-?hadbp]"; + static const char author[] = "Author: aixiao@aixiao.me"; + + printf("%s\n", name); + printf("%s\n", author); + printf("%s\n", usage); + + for (int i = 0; help_s[i]; i++) + fprintf(stderr, "%s\n", help_s[i]); +} + +// ݴϢ +void showErrorText(DWORD error_num) +{ + char* msg = NULL; + FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, error_num, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // ʹĬ + (LPSTR)&msg, 0, NULL); + + printf("Error code %d: ", error_num); + if (msg == NULL) + printf("%s\n", "Unknown error"); + else + printf("%s", msg); +} + +void add_Right() +{ + HKEY hKey; + HKEY subKey; + DWORD result; + + char item1[] = "bash"; + char value1[] = "wsl.exe --cd \"%V\""; + char item2[] = "command"; + char value2[] = "Open Bash in this location"; + + char icon_name[] = "Icon"; + char icon_data[] = "C:\\Users\\niuyuling\\icon.ico"; + + // ע, HKEY_CLASSES_ROOT\Directory\Background\shell + result = RegOpenKeyEx(HKEY_CLASSES_ROOT, "Directory\\Background\\shell", 0, // 0 + KEY_WRITE, // Ȩޣд + &hKey // ֮ľ + ); + if (result != ERROR_SUCCESS) { + printf("עʧ\n"); + showErrorText(result); + } + // ע, HKEY_CLASSES_ROOT\Directory\Background\shell\bash + RegCreateKey(hKey, item1, &subKey); + + + + // ޸עĬϵ + result = RegSetValueA(subKey, NULL, REG_SZ, value2, (unsigned long)strlen(value2)); + if (result != ERROR_SUCCESS) { + printf("עʧ\n"); + showErrorText(result); + } + + // עֵָݺ͡(ͼ) + RegSetValueExA(subKey, icon_name, 0, REG_SZ, (BYTE *)icon_data, strlen(icon_data)); + if (result != ERROR_SUCCESS) { + printf("עʧ\n"); + showErrorText(result); + } + + // ע, HKEY_CLASSES_ROOT\Directory\Background\shell\bash + result = RegOpenKeyEx(HKEY_CLASSES_ROOT, "Directory\\Background\\shell\\bash", 0, // 0 + KEY_WRITE, // Ȩޣд + &hKey // ֮ľ + ); + if (result != ERROR_SUCCESS) { + printf("עʧ\n"); + showErrorText(result); + } + + // ע, HKEY_CLASSES_ROOT\Directory\Background\shell\bash\command + RegCreateKey(hKey, item2, &subKey); + + // ޸Ĭ + result = RegSetValueA(subKey, NULL, REG_SZ, value1, (unsigned long)strlen(value1)); + if (result != ERROR_SUCCESS) { + printf("עʧ\n"); + showErrorText(result); + } + + RegCloseKey(hKey); // رע + RegCloseKey(subKey); // رע +} + +void del_Right() +{ + HKEY hKey; + DWORD result; + + // ע, HKEY_CLASSES_ROOT\Directory\Background\shell + result = RegOpenKeyEx(HKEY_CLASSES_ROOT, "Directory\\Background\\shell", 0, // 0 + KEY_WRITE, // Ȩޣд + &hKey // ֮ľ + ); + + if (result != ERROR_SUCCESS) { + printf("עʧ\n"); + showErrorText(result); + } + // ɾ HKEY_CLASSES_ROOT\Directory\Background\shell\bash + result = RegDeleteTreeA(hKey, "bash"); + + if (result != ERROR_SUCCESS) { + printf("עʧ\n"); + showErrorText(result); + } + + RegCloseKey(hKey); //رע +} + +void add_boot_ssh(char* optarg) +{ + HKEY hKey; + DWORD result; + //char value[] = "C:\\WINDOWS\\system32\\wsl.exe -d debian -u root /usr/sbin/service ssh start"; + + char item[CACHE_SIZE]; + char value[CACHE_SIZE]; + memset(item, 0, CACHE_SIZE); + memset(value, 0, CACHE_SIZE); + strcpy_s(item, sizeof(item), optarg); + sprintf_s(value, "%s", "C:\\WINDOWS\\system32\\wsl.exe -d "); + strcat_s(value, strlen(value) + strlen(optarg) + 1, optarg); + strcat_s(value, strlen(value) + 37, " -u root /usr/sbin/service ssh start"); + + // \HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run + result = RegOpenKeyEx(HKEY_CURRENT_USER, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", 0, // 0 + KEY_WRITE, // Ȩ,д + &hKey // ֮ľ + ); + + if (result != ERROR_SUCCESS) { + printf("עʧ\n"); + showErrorText(result); + } + + result = RegSetValueEx(hKey, item, // + 0, // 0 + REG_SZ, // ֵΪַ + (const unsigned char*)value, // ַ׵ַ + sizeof(value) // ַ + ); + + if (result != ERROR_SUCCESS) { + printf("עʧ\n"); + showErrorText(result); + } + + RegCloseKey(hKey); // رע +} + +void del_boot_ssh(char* optarg) +{ + HKEY hKey; + DWORD result; + + char item[CACHE_SIZE]; + char value[] = "C:\\WINDOWS\\system32\\wsl.exe -d debian -u root /usr/sbin/service ssh status"; + + memset(item, 0, CACHE_SIZE); + strcpy_s(item, sizeof(item), optarg); + + // \HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run + result = RegOpenKeyEx(HKEY_CURRENT_USER, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", 0, // 0 + KEY_WRITE, // Ȩޣд + &hKey // ֮ľ + ); + + if (result != ERROR_SUCCESS) { + printf("עʧ\n"); + showErrorText(result); + } + // ɾ \HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run µ item + result = RegDeleteValue(hKey, item); + + if (result != ERROR_SUCCESS) { + printf("עʧ\n"); + showErrorText(result); + } + + RegCloseKey(hKey); // رע +} + +int main(int argc, char* argv[]) +{ + int c; + while ((c = getopt(argc, argv, "adb:p:h?")) != -1) { + switch (c) { + case 'a': + add_Right(); + break; + case 'd': + del_Right(); + break; + case 'b': + add_boot_ssh(optarg); + break; + case 'p': + del_boot_ssh(optarg); + break; + case 'h': + help(argv); + break; + case '?': + help(argv); + exit(EXIT_FAILURE); + } + } + + return 0; +} diff --git a/src/main.h b/src/main.h new file mode 100644 index 0000000..41c4d31 --- /dev/null +++ b/src/main.h @@ -0,0 +1,14 @@ +#include +#include +#include +#include "getopt.h" + +#define CACHE_SIZE 270 + +void showErrorText(DWORD error_num); +void add_Right(); +void del_Right(); +void add_boot_ssh(char* optarg); +void del_boot_ssh(char* optarg); +void help(char** argv); +