mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
were longer than 200 chars. Now dynamic memory is used and so they can be arbitrarily long in theory, although in practice it bombs out at 100,000 for sanity purposes. This required adjusting the core/tool interface for read_extra_suppression_info(). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10581
21 lines
1.3 KiB
C
21 lines
1.3 KiB
C
// Bug 186796: function names of over 200 chars in suppressions were being
|
|
// truncated and so not matching. This 200 char limit is easily overcome with
|
|
// C++ templates. It now is assigned dynamically.
|
|
|
|
#include <stdlib.h>
|
|
|
|
#define F1000 \
|
|
f1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
|
|
|
|
void F1000(void)
|
|
{
|
|
int* x = malloc(sizeof(int));
|
|
x[1] = 1;
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
F1000();
|
|
return 0;
|
|
}
|