Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created November 6, 2017 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dogbert17/f7c4175666417326bb85af8931eba85a to your computer and use it in GitHub Desktop.
Save dogbert17/f7c4175666417326bb85af8931eba85a to your computer and use it in GitHub Desktop.
valgrind of t/spec/S32-str/encode.t
ok 28 - indexing a utf16 gives correct value
ok 29 - indexing a utf16 gives correct value
ok 30 - decoding utf16 Buf to original value
ok 31 - Can encode noncharacters to UTF-8
==16638== Use of uninitialised value of size 4
==16638== at 0x41BD4E8: MVM_unicode_get_property_str (unicode.c:71883)
==16638== by 0x41BD4E8: MVM_unicode_codepoint_get_property_cstr (unicode.c:82197)
==16638== by 0x41CD75B: MVM_string_is_control_full (normalize.c:368)
==16638== by 0x41CE400: MVM_unicode_normalizer_process_codepoint_full (normalize.c:683)
==16638== by 0x41A2542: MVM_unicode_normalizer_process_codepoint (normalize.h:126)
==16638== by 0x41A2542: MVM_unicode_normalizer_process_codepoint_to_grapheme (normalize.h:134)
==16638== by 0x41A2542: MVM_string_utf8_decode (utf8.c:200)
==16638== by 0x41A27CC: MVM_string_utf8_decode_strip_bom (utf8.c:315)
==16638== by 0x41B31D7: MVM_string_decode (ops.c:1428)
==16638== by 0x41B8CAA: MVM_string_decode_from_buf (ops.c:1542)
==16638== by 0x40F2490: MVM_interp_run (interp.c:1782)
==16638== by 0x41E284B: MVM_vm_run_file (moar.c:401)
==16638== by 0x8048D98: main (main.c:257)
==16638==
==16638== Use of uninitialised value of size 4
==16638== at 0x41BD958: MVM_unicode_get_property_str (unicode.c:71911)
==16638== by 0x41BD958: MVM_unicode_codepoint_get_property_cstr (unicode.c:82197)
==16638== by 0x41CE426: passes_quickcheck (normalize.c:328)
==16638== by 0x41CE426: MVM_unicode_normalizer_process_codepoint_full (normalize.c:688)
==16638== by 0x41A2542: MVM_unicode_normalizer_process_codepoint (normalize.h:126)
==16638== by 0x41A2542: MVM_unicode_normalizer_process_codepoint_to_grapheme (normalize.h:134)
==16638== by 0x41A2542: MVM_string_utf8_decode (utf8.c:200)
==16638== by 0x41A27CC: MVM_string_utf8_decode_strip_bom (utf8.c:315)
==16638== by 0x41B31D7: MVM_string_decode (ops.c:1428)
==16638== by 0x41B8CAA: MVM_string_decode_from_buf (ops.c:1542)
==16638== by 0x40F2490: MVM_interp_run (interp.c:1782)
==16638== by 0x41E284B: MVM_vm_run_file (moar.c:401)
==16638== by 0x8048D98: main (main.c:257)
==16638==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment