mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-09 05:10:23 +00:00
Move a function and its prototype VG_(malloc_effective_client_redzone_size)
to a conceptually better place. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13546
This commit is contained in:
@@ -65,6 +65,14 @@ extern UInt VG_(clo_alignment);
|
||||
|
||||
extern Bool VG_(replacement_malloc_process_cmd_line_option) ( const HChar* arg );
|
||||
|
||||
// If tool is replacing malloc for the client, the below returns
|
||||
// the effective client redzone as derived from the default
|
||||
// provided by the tool, VG_(clo_redzone_size) and the minimum
|
||||
// redzone required by m_mallocfree.c.
|
||||
// It is an error to call this before VG_(needs_malloc_replacement) has
|
||||
// been called.
|
||||
extern SizeT VG_(malloc_effective_client_redzone_size)(void);
|
||||
|
||||
#endif // __PUB_TOOL_REPLACEMALLOC_H
|
||||
|
||||
/*--------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user