#include <string.h>
#include <ctype.h>
#include "signature.h"
#include "util.h"
#include "rules.h"
#include "mstring.h"
Go to the source code of this file.
Functions | |
ReferenceNode * | AddReference (ReferenceNode *rn, char *system, char *id) |
void | FPrintReference (FILE *fp, ReferenceNode *refNode) |
void | ParseReference (char *args, OptTreeNode *otn) |
ReferenceSystemNode * | ReferenceSystemAdd (char *name, char *url) |
ReferenceSystemNode * | ReferenceSystemLookup (char *name) |
void | ParseReferenceSystemConfig (char *args) |
void | ParseSID (char *sid, OptTreeNode *otn) |
void | ParseRev (char *rev, OptTreeNode *otn) |
int | AddClassificationConfig (ClassType *newNode) |
void | ParsePriority (char *priority, OptTreeNode *otn) |
void | ParseClassType (char *classtype, OptTreeNode *otn) |
ClassType * | ClassTypeLookupByType (char *type) |
ClassType * | ClassTypeLookupById (int id) |
void | ParseClassificationConfig (char *args) |
Variables | |
char * | file_name |
int | file_line |
ReferenceSystemNode * | referenceSystems = NULL |
ClassType * | classTypes = NULL |
|
Definition at line 397 of file signature.c. References _ClassType::id, _ClassType::next, strcasecmp, and _ClassType::type. Referenced by ParseClassificationConfig(). |
|
Definition at line 33 of file signature.c. References ErrorMessage(), FatalError(), _ReferenceNode::id, memset, _ReferenceNode::next, NULL, ReferenceSystemAdd(), ReferenceSystemLookup(), and _ReferenceNode::system. Referenced by ParseReference(). |
|
Definition at line 324 of file signature.c. References _ClassType::id, _ClassType::next, and NULL. |
|
Definition at line 309 of file signature.c. References _ClassType::next, NULL, strcasecmp, and _ClassType::type. Referenced by ParseClassType(). |
|
Definition at line 64 of file signature.c. References _ReferenceNode::id, _ReferenceSystemNode::name, _ReferenceNode::system, and _ReferenceSystemNode::url. Referenced by PrintXrefs(). |
|
Definition at line 337 of file signature.c. References AddClassificationConfig(), ErrorMessage(), FatalError(), file_line, file_name, memset, mSplit(), mSplitFree(), _ClassType::name, _ClassType::priority, and _ClassType::type. Referenced by ParseConfig(). |
|
Definition at line 268 of file signature.c. References _SigInfo::class_id, _Event::classification, _SigInfo::classType, ClassTypeLookupByType(), _OptTreeNode::event_data, FatalError(), file_line, file_name, _ClassType::id, LogMessage(), NULL, _Event::priority, _ClassType::priority, _SigInfo::priority, and _OptTreeNode::sigInfo. Referenced by ParseRuleOptions(). |
|
Definition at line 240 of file signature.c. References _OptTreeNode::event_data, file_line, file_name, LogMessage(), NULL, _Event::priority, _SigInfo::priority, and _OptTreeNode::sigInfo. Referenced by ParseRuleOptions(). |
|
Definition at line 85 of file signature.c. References AddReference(), file_line, file_name, LogMessage(), mSplit(), mSplitFree(), _SigInfo::refs, and _OptTreeNode::sigInfo. Referenced by ParseRuleOptions(). |
|
Definition at line 154 of file signature.c. References mSplit(), mSplitFree(), NULL, and ReferenceSystemAdd(). Referenced by ParseConfig(). |
|
Definition at line 207 of file signature.c. References _OptTreeNode::event_data, file_line, file_name, LogMessage(), NULL, _SigInfo::rev, _Event::sig_rev, and _OptTreeNode::sigInfo. |
|
Definition at line 182 of file signature.c. References _OptTreeNode::event_data, file_line, file_name, _SigInfo::id, LogMessage(), NULL, _Event::sig_id, and _OptTreeNode::sigInfo. |
|
Definition at line 114 of file signature.c. References ErrorMessage(), FatalError(), memset, _ReferenceSystemNode::name, _ReferenceSystemNode::next, NULL, and _ReferenceSystemNode::url. Referenced by AddReference(), and ParseReferenceSystemConfig(). |
|
Definition at line 142 of file signature.c. References _ReferenceSystemNode::name, _ReferenceSystemNode::next, NULL, and strcasecmp. Referenced by AddReference(). |
|
Definition at line 236 of file signature.c. |
|
|
|
external globals from rules.c |
|
Definition at line 112 of file signature.c. |