[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1860610] Re: cap_disas_plugin leaks memory
From: |
Robert Henry |
Subject: |
[Bug 1860610] Re: cap_disas_plugin leaks memory |
Date: |
Fri, 31 Jan 2020 19:56:52 -0000 |
I run git blame in the capstone repository, and cs_free has been around
for at least 4 years in the capstone ABI. I can not tell if the need to
call cs_free is a (new) requirement. Documentation capstone is a little
informal...
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1860610
Title:
cap_disas_plugin leaks memory
Status in QEMU:
New
Bug description:
Looking at origin/master head, the function cap_disas_plugin leaks
memory.
per capstone's examples using their ABI, cs_free(insn, count); needs
to called just before cs_close.
I discovered this running qemu under valgrind.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1860610/+subscriptions