Make sure the buffer is not marked modified
This commit is contained in:
parent
9745d55919
commit
ae6572dde6
1 changed files with 4 additions and 4 deletions
|
|
@ -307,14 +307,14 @@ class CodeView( object ):
|
||||||
# TODO: The data is encoded in base64, so we need to convert that to the
|
# TODO: The data is encoded in base64, so we need to convert that to the
|
||||||
# equivalent output of say xxd
|
# equivalent output of say xxd
|
||||||
data = msg.get( 'body', {} ).get( 'data', '' )
|
data = msg.get( 'body', {} ).get( 'data', '' )
|
||||||
utils.SetBufferContents( buf, utils.Base64ToHexDump( data ) )
|
utils.SetBufferContents( buf, [
|
||||||
buf[ 0:0 ] = [
|
|
||||||
f'Memory Dump for Reference {memoryReference} Length: {length} bytes',
|
f'Memory Dump for Reference {memoryReference} Length: {length} bytes',
|
||||||
'-' * 80,
|
'-' * 80,
|
||||||
'Offset Bytes Text',
|
'Offset Bytes Text',
|
||||||
]
|
'-' * 80,
|
||||||
|
] )
|
||||||
|
utils.AppendToBuffer( buf, utils.Base64ToHexDump( data ) )
|
||||||
|
|
||||||
utils.SetSyntax( '', 'xxd', buf )
|
utils.SetSyntax( '', 'xxd', buf )
|
||||||
|
|
||||||
utils.JumpToWindow( self._window )
|
utils.JumpToWindow( self._window )
|
||||||
utils.OpenFileInCurrentWindow( buf_name )
|
utils.OpenFileInCurrentWindow( buf_name )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue