class LimitToken

Defined at line 117 of file ../../third_party/protobuf/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 119 of file ../../third_party/protobuf/src/google/protobuf/parse_context.h

void LimitToken (int token)

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

void LimitToken (const LimitToken & )

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

LimitToken & operator= (const LimitToken & )

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

void LimitToken (LimitToken && other)

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

LimitToken & operator= (LimitToken && other)

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

void ~LimitToken ()

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

int token ()

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