Adds first PoC for the operator offset feature

This commit is contained in:
Felipe Zimmerle
2017-01-19 14:34:48 -03:00
committed by Felipe Zimmerle
parent 9a8fc3116a
commit ecbf292f6d
89 changed files with 2908 additions and 105 deletions

View File

@@ -16,13 +16,15 @@
#ifdef __cplusplus
#include <string>
#include <iostream>
#include <memory>
#endif
#include "modsecurity/variable_origin.h"
#ifndef HEADERS_MODSECURITY_COLLECTION_VARIABLE_H_
#define HEADERS_MODSECURITY_COLLECTION_VARIABLE_H_
#ifndef __cplusplus
typedef struct Variable_t Variable;
#endif
@@ -54,6 +56,7 @@ class Variable {
const std::string *m_value;
bool m_dynamic_value;
bool m_dynamic;
std::list<std::unique_ptr<VariableOrigin>> m_orign;
};
} // namespace collection