⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vulninfo.h

📁 检查C/C++源程序中的可能错误和容易遭受弱点攻击的地方
💻 H
字号:
/* vulninfo.H * John Viega * * Jan 28-29 2000 */#ifndef __VULNINFO_H__#define __VULNINFO_H__typedef enum Severity_enum{ S_NO_RISK, S_LOW_RISK, S_MODERATE_RISK, S_RISKY, S_VERY_RISKY, S_MOST_RISKY,S_ERROR }Severity;const Severity MAX_SEVERITY = S_MOST_RISKY;class VulnInfo { public:  VulnInfo(int d, int s, Severity v, int h, int i, int inp)    {      desc     = d;      solution = s;      severity = v;      handler  = h;      id       = i;      input    = inp;      printed  = 0;    }  unsigned int       desc;  unsigned int       solution;  Severity           severity;  int                handler;  int                id;  int                input;  // Used in the formatter to avoid duplicating the same error message twice.  short              printed;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -