From d8e3001e535fad178c621ff07418f81f25123dc4 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 22 Aug 2024 12:55:49 -0600 Subject: Allow multiple high level representations for display, add Pseudo Rust and a Pseudo Python example plugin --- databuffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'databuffer.cpp') diff --git a/databuffer.cpp b/databuffer.cpp index 6f9c3258..f8f15bd4 100644 --- a/databuffer.cpp +++ b/databuffer.cpp @@ -190,9 +190,9 @@ const uint8_t& DataBuffer::operator[](size_t offset) const } -string DataBuffer::ToEscapedString(bool nullTerminates) const +string DataBuffer::ToEscapedString(bool nullTerminates, bool escapePrintable) const { - char* str = BNDataBufferToEscapedString(m_buffer, nullTerminates); + char* str = BNDataBufferToEscapedString(m_buffer, nullTerminates, escapePrintable); string result = str; BNFreeString(str); return result; -- cgit v1.3.1