| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
wmem_allocator_strict.h
Go to the documentation of this file.
1
13#ifndef __WMEM_ALLOCATOR_STRICT_H__
14#define __WMEM_ALLOCATOR_STRICT_H__
15
16#include "wmem_core.h"
17
18#ifdef __cplusplus
19 extern "C" {
20#endif /* __cplusplus */
21
41 void
42 wmem_strict_allocator_init(wmem_allocator_t *allocator);
43
44
59 void
60 wmem_strict_check_canaries(wmem_allocator_t *allocator);
61
62#ifdef __cplusplus
63}
64#endif /* __cplusplus */
65
66#endif /* __WMEM_ALLOCATOR_STRICT_H__ */
67
68/*
69 * Editor modelines - https://www.wireshark.org/tools/modelines.html
70 *
71 * Local variables:
72 * c-basic-offset: 4
73 * tab-width: 8
74 * indent-tabs-mode: nil
75 * End:
76 *
77 * vi: set shiftwidth=4 tabstop=8 expandtab:
78 * :indentSize=4:tabSize=8:noTabs=true:
79 */
_wmem_allocator_t
Internal memory allocator interface used by the wmem subsystem.
Definition wmem_allocator.h:34
wmem_strict_allocator_init
void wmem_strict_allocator_init(wmem_allocator_t *allocator)
Initialize a strict memory allocator.
Definition wmem_allocator_strict.c:200
wmem_strict_check_canaries
void wmem_strict_check_canaries(wmem_allocator_t *allocator)
Verify memory canaries for a strict allocator.
Definition wmem_allocator_strict.c:156
wmem_core.h