From ceafa572d0a05cc9afa0f19838f28174aeea5e46 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 21 Apr 2020 18:05:18 -0400 Subject: Add indentation option for text renderer --- binaryninjaapi.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 91fe0d63..bcc4b0cc 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -5206,7 +5206,7 @@ __attribute__ ((format (printf, 1, 2))) virtual void GetInstructionAnnotations(std::vector& tokens, uint64_t addr); virtual bool GetInstructionText(uint64_t addr, size_t& len, std::vector& lines); std::vector PostProcessInstructionTextLines(uint64_t addr, - size_t len, const std::vector& lines); + size_t len, const std::vector& lines, const std::string& indentSpaces = ""); virtual bool GetDisassemblyText(uint64_t addr, size_t& len, std::vector& lines); void ResetDeduplicatedComments(); @@ -5223,7 +5223,8 @@ __attribute__ ((format (printf, 1, 2))) std::vector& lines, const std::string& comment, bool hasAutoAnnotations, - const std::string& leadingSpaces=" "); + const std::string& leadingSpaces=" ", + const std::string& indentSpaces=""); }; struct LinearViewObjectIdentifier -- cgit v1.3.1