class StatsTest_ReallocSameSizeIsNop_Test

Defined at line 75 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc

Verify that calling realloc with the same size as the original allocation does not make the

counters change.

This indirectly verifies that realloc() is being reported by Scudo through the reallocation hooks

(__scudo_realloc_deallocate_hook and __scudo_realloc_allocate_hook) instead of the general hooks

(__scudo_deallocate_hook and __scudo_allocate_hook).

Public Methods

void StatsTest_ReallocSameSizeIsNop_Test ()

Defined at line 75 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc

void StatsTest_ReallocSameSizeIsNop_Test (const StatsTest_ReallocSameSizeIsNop_Test & )

Defined at line 75 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc

void StatsTest_ReallocSameSizeIsNop_Test (StatsTest_ReallocSameSizeIsNop_Test && )

Defined at line 75 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc

StatsTest_ReallocSameSizeIsNop_Test & operator= (const StatsTest_ReallocSameSizeIsNop_Test & )

Defined at line 75 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc

StatsTest_ReallocSameSizeIsNop_Test & operator= (StatsTest_ReallocSameSizeIsNop_Test && )

Defined at line 75 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc

void ~StatsTest_ReallocSameSizeIsNop_Test ()

Defined at line 75 of file ../../src/performance/memory/heapdump/instrumentation/tests/stats_test.cc