diff options
| author | Rusty Wagner <rusty@vector35.com> | 2020-04-21 18:05:18 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2020-04-21 18:05:18 -0400 |
| commit | ceafa572d0a05cc9afa0f19838f28174aeea5e46 (patch) | |
| tree | 5f22b286ee79c4b3c0b1df8326756379c4342412 /binaryninjaapi.h | |
| parent | cbeab416149ca94692826497867b7f7150d97be5 (diff) | |
Add indentation option for text renderer
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 5 |
1 files changed, 3 insertions, 2 deletions
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<InstructionTextToken>& tokens, uint64_t addr); virtual bool GetInstructionText(uint64_t addr, size_t& len, std::vector<DisassemblyTextLine>& lines); std::vector<DisassemblyTextLine> PostProcessInstructionTextLines(uint64_t addr, - size_t len, const std::vector<DisassemblyTextLine>& lines); + size_t len, const std::vector<DisassemblyTextLine>& lines, const std::string& indentSpaces = ""); virtual bool GetDisassemblyText(uint64_t addr, size_t& len, std::vector<DisassemblyTextLine>& lines); void ResetDeduplicatedComments(); @@ -5223,7 +5223,8 @@ __attribute__ ((format (printf, 1, 2))) std::vector<DisassemblyTextLine>& lines, const std::string& comment, bool hasAutoAnnotations, - const std::string& leadingSpaces=" "); + const std::string& leadingSpaces=" ", + const std::string& indentSpaces=""); }; struct LinearViewObjectIdentifier |
