memo
まんだらで
valgrind --leak-check=full --leak-resolution=high --show-reachable=yes ./ファイル名
ファイルは
int main()
{
return 0;
}
というコード
結果はなぜか
==8500== Conditional jump or move depends on uninitialised value(s)
==8500== at 0x4D34FBE3: _dl_relocate_object (in /lib/ld-2.6.so)
==8500== by 0x4D348A84: dl_main (in /lib/ld-2.6.so)
==8500== by 0x4D358F6A: _dl_sysdep_start (in /lib/ld-2.6.so)
==8500== by 0x4D3462B7: _dl_start (in /lib/ld-2.6.so)
==8500== by 0x4D345816: (within /lib/ld-2.6.so)
==8500==
==8500== Conditional jump or move depends on uninitialised value(s)
==8500== at 0x4D34FD25: _dl_relocate_object (in /lib/ld-2.6.so)
==8500== by 0x4D348A84: dl_main (in /lib/ld-2.6.so)
==8500== by 0x4D358F6A: _dl_sysdep_start (in /lib/ld-2.6.so)
==8500== by 0x4D3462B7: _dl_start (in /lib/ld-2.6.so)
==8500== by 0x4D345816: (within /lib/ld-2.6.so)
==8500==
==8500== ERROR SUMMARY: 15 errors from 8 contexts (suppressed: 0 from 0)
==8500== malloc/free: in use at exit: 0 bytes in 0 blocks.
==8500== malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
==8500== For counts of detected errors, rerun with: -v
==8500== All heap blocks were freed -- no leaks are possible.
/lib/ld-2.6.soでエラー?みたい