0
我現在正在用valgrind測試我的程序。Valgrind沒有顯示函數名稱
結果很奇怪。
所以我預期的那樣,就像下面
==19364== Conditional jump or move depends on uninitialised value(s)
==19364== at 0x20ED4E25: ipConvert (in /usr/lib/libhpip.so.0.0.1)
==19364== by 0x20EB7595: sclpml_read (in /usr/lib/sane/libsane-hpaio.so.1.0.0)
==19364== by 0x424595: _scanner_scan_thread_gthread_func (scanner.c:7155)
在上面的例子中,有「在」和「通過」,但在我的結果,我只是得到了「在」
==7807== HEAP SUMMARY:
==7807== in use at exit: 3,940,633 bytes in 1,119 blocks
==7807== total heap usage: 2,466 allocs, 1,347 frees, 4,848,416 bytes allocated
==7807==
==7807== 24 bytes in 3 blocks are definitely lost in loss record 2 of 14
==7807== at 0x4836994: operator new(unsigned int) (in /usr/lib/valgrind/vgpreload_memcheck-arm-linux.so)
所以印刷的所有內容都是一樣的沒有「通過」只是「在」。
我想要做什麼?
請幫幫我。
謝謝。