CheckBufferOverrun: use normal checking as intended
This commit is contained in:
parent
d0b2dd0b93
commit
3ba472fa49
|
@ -73,14 +73,14 @@ public:
|
||||||
: Check(myName(), tokenizer, settings, errorLogger) {
|
: Check(myName(), tokenizer, settings, errorLogger) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE {
|
void runChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE {
|
||||||
CheckBufferOverrun checkBufferOverrun(tokenizer, settings, errorLogger);
|
CheckBufferOverrun checkBufferOverrun(tokenizer, settings, errorLogger);
|
||||||
checkBufferOverrun.arrayIndex();
|
checkBufferOverrun.arrayIndex();
|
||||||
checkBufferOverrun.bufferOverflow();
|
checkBufferOverrun.bufferOverflow();
|
||||||
checkBufferOverrun.arrayIndexThenCheck();
|
checkBufferOverrun.arrayIndexThenCheck();
|
||||||
}
|
}
|
||||||
|
|
||||||
void runChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE {
|
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE {
|
||||||
(void)tokenizer;
|
(void)tokenizer;
|
||||||
(void)settings;
|
(void)settings;
|
||||||
(void)errorLogger;
|
(void)errorLogger;
|
||||||
|
|
Loading…
Reference in New Issue