Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- valgrind --leak-check=full -v ./speller dict.txt test.txt
- ==21528==
- ==21528== HEAP SUMMARY:
- ==21528== in use at exit: 0 bytes in 0 blocks
- ==21528== total heap usage: 18 allocs, 18 frees, 13,054 bytes allocated
- ==21528==
- ==21528== All heap blocks were freed -- no leaks are possible
- ==21528==
- ==21528== Use --track-origins=yes to see where uninitialised values come from
- ==21528== ERROR SUMMARY: 653 errors from 13 contexts (suppressed: 0 from 0)
- ==21528==
- ==21528== 1 errors in context 1 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x4014F0: count_words_trie (dictionary.c:194)
- ==21528== by 0x4014CA: count_words_trie (dictionary.c:191)
- ==21528== by 0x4014CA: count_words_trie (dictionary.c:191)
- ==21528== by 0x40146B: size (dictionary.c:109)
- ==21528== by 0x400E53: main (speller.c:144)
- ==21528==
- ==21528==
- ==21528== 2 errors in context 2 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x4014F0: count_words_trie (dictionary.c:194)
- ==21528== by 0x4014CA: count_words_trie (dictionary.c:191)
- ==21528== by 0x40146B: size (dictionary.c:109)
- ==21528== by 0x400E53: main (speller.c:144)
- ==21528==
- ==21528==
- ==21528== 4 errors in context 3 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x4014F0: count_words_trie (dictionary.c:194)
- ==21528== by 0x4014CA: count_words_trie (dictionary.c:191)
- ==21528== by 0x4014CA: count_words_trie (dictionary.c:191)
- ==21528== by 0x4014CA: count_words_trie (dictionary.c:191)
- ==21528== by 0x40146B: size (dictionary.c:109)
- ==21528== by 0x400E53: main (speller.c:144)
- ==21528==
- ==21528==
- ==21528== 9 errors in context 4 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x40117C: check (dictionary.c:53)
- ==21528== by 0x400D21: main (speller.c:112)
- ==21528==
- ==21528==
- ==21528== 11 errors in context 5 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x4013E0: insert_word (dictionary.c:151)
- ==21528== by 0x4012A0: load (dictionary.c:92)
- ==21528== by 0x4009C4: main (speller.c:40)
- ==21528==
- ==21528==
- ==21528== 25 errors in context 6 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x401557: destroy_trie (dictionary.c:173)
- ==21528== by 0x401314: unload (dictionary.c:118)
- ==21528== by 0x400EA1: main (speller.c:152)
- ==21528==
- ==21528==
- ==21528== 25 errors in context 7 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x4014B3: count_words_trie (dictionary.c:190)
- ==21528== by 0x40146B: size (dictionary.c:109)
- ==21528== by 0x400E53: main (speller.c:144)
- ==21528==
- ==21528==
- ==21528== 50 errors in context 8 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x401557: destroy_trie (dictionary.c:173)
- ==21528== by 0x40156E: destroy_trie (dictionary.c:174)
- ==21528== by 0x40156E: destroy_trie (dictionary.c:174)
- ==21528== by 0x401314: unload (dictionary.c:118)
- ==21528== by 0x400EA1: main (speller.c:152)
- ==21528==
- ==21528==
- ==21528== 50 errors in context 9 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x4014B3: count_words_trie (dictionary.c:190)
- ==21528== by 0x4014CA: count_words_trie (dictionary.c:191)
- ==21528== by 0x4014CA: count_words_trie (dictionary.c:191)
- ==21528== by 0x40146B: size (dictionary.c:109)
- ==21528== by 0x400E53: main (speller.c:144)
- ==21528==
- ==21528==
- ==21528== 52 errors in context 10 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x401557: destroy_trie (dictionary.c:173)
- ==21528== by 0x40156E: destroy_trie (dictionary.c:174)
- ==21528== by 0x401314: unload (dictionary.c:118)
- ==21528== by 0x400EA1: main (speller.c:152)
- ==21528==
- ==21528==
- ==21528== 52 errors in context 11 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x4014B3: count_words_trie (dictionary.c:190)
- ==21528== by 0x4014CA: count_words_trie (dictionary.c:191)
- ==21528== by 0x40146B: size (dictionary.c:109)
- ==21528== by 0x400E53: main (speller.c:144)
- ==21528==
- ==21528==
- ==21528== 186 errors in context 12 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x401557: destroy_trie (dictionary.c:173)
- ==21528== by 0x40156E: destroy_trie (dictionary.c:174)
- ==21528== by 0x40156E: destroy_trie (dictionary.c:174)
- ==21528== by 0x40156E: destroy_trie (dictionary.c:174)
- ==21528== by 0x401314: unload (dictionary.c:118)
- ==21528== by 0x400EA1: main (speller.c:152)
- ==21528==
- ==21528==
- ==21528== 186 errors in context 13 of 13:
- ==21528== Conditional jump or move depends on uninitialised value(s)
- ==21528== at 0x4014B3: count_words_trie (dictionary.c:190)
- ==21528== by 0x4014CA: count_words_trie (dictionary.c:191)
- ==21528== by 0x4014CA: count_words_trie (dictionary.c:191)
- ==21528== by 0x4014CA: count_words_trie (dictionary.c:191)
- ==21528== by 0x40146B: size (dictionary.c:109)
- ==21528== by 0x400E53: main (speller.c:144)
- ==21528==
- ==21528== ERROR SUMMARY: 653 errors from 13 contexts (suppressed: 0 from 0)
Add Comment
Please, Sign In to add comment