class LimitToken

Defined at line 138 of file ../../third_party/protobuf/src/src/google/protobuf/parse_context.h

In sanitizer mode we use memory poisoning to guarantee that:

- We do not read an uninitialized token.

- We would like to verify that this token was consumed, but unfortunately

__asan_address_is_poisoned is allowed to have false negatives.

Public Methods

void LimitToken ()

Defined at line 140 of file ../../third_party/protobuf/src/src/google/protobuf/parse_context.h

void LimitToken (int token)

Defined at line 142 of file ../../third_party/protobuf/src/src/google/protobuf/parse_context.h

void LimitToken (const LimitToken & )

Defined at line 146 of file ../../third_party/protobuf/src/src/google/protobuf/parse_context.h

LimitToken & operator= (const LimitToken & )

Defined at line 147 of file ../../third_party/protobuf/src/src/google/protobuf/parse_context.h

void LimitToken (LimitToken && other)

Defined at line 149 of file ../../third_party/protobuf/src/src/google/protobuf/parse_context.h

LimitToken & operator= (LimitToken && other)

Defined at line 151 of file ../../third_party/protobuf/src/src/google/protobuf/parse_context.h

void ~LimitToken ()

Defined at line 158 of file ../../third_party/protobuf/src/src/google/protobuf/parse_context.h

int token ()

Defined at line 160 of file ../../third_party/protobuf/src/src/google/protobuf/parse_context.h