diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | plugins/pychrysalide/arch/vmpa.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +18-02-15 Cyrille Bagard <nocbos@gmail.com> + + * plugins/pychrysalide/arch/vmpa.c: + Fix the string representation for the Vmpa type in Python. + 18-02-11 Cyrille Bagard <nocbos@gmail.com> * src/analysis/routine.c: diff --git a/plugins/pychrysalide/arch/vmpa.c b/plugins/pychrysalide/arch/vmpa.c index 41fb1ad..39b5cef 100644 --- a/plugins/pychrysalide/arch/vmpa.c +++ b/plugins/pychrysalide/arch/vmpa.c @@ -174,7 +174,7 @@ static PyObject *py_vmpa_to_str(PyObject *obj) virtual = get_virt_addr(addr); vmpa2_phys_to_string(addr, MDS_UNDEFINED, phys_str, NULL); - vmpa2_phys_to_string(addr, MDS_UNDEFINED, virt_str, NULL); + vmpa2_virt_to_string(addr, MDS_UNDEFINED, virt_str, NULL); if (physical == VMPA_NO_PHYSICAL && virtual == VMPA_NO_VIRTUAL) result = PyUnicode_FromFormat("<phy=None, virt=None>"); |