Method | Description | |
---|---|---|
Clone ( ) : |
||
ComparePositions ( object a, object b ) : int | ||
CountLines ( object startPos, object endPos ) : int | ||
GetDataItemNodes ( ) : Collection |
||
GetPositionAsFraction ( ) : int>.Tuple |
Returns the (approximate) position. This doesn't have to be 100% precise, but it shouldn't be insanely wrong either.
|
|
MixedCodeDataModel ( |
||
MixedCodeDataModel ( Program program ) : Reko.Core | ||
MoveToLine ( object position, int offset ) : int | ||
SetPositionAsFraction ( int numer, int denom ) : void |
Method | Description | |
---|---|---|
Align ( Address addr, uint alignment ) : Address | ||
Align ( ulong ul, uint alignment ) : ulong | ||
CollectInstructions ( ) : void |
Preemptively collect the machine code instructions in all image map blocks.
|
|
CountBlockLines ( ImageMapItem item ) : int | ||
CountDisassembledLines ( Reko.Core.ImageMapBlock bi ) : int | ||
CountLines ( ) : int | ||
CountMemoryLines ( ImageMapItem item ) : int |
Count the number of lines a memory area subtends. We align mempry spans on 16-byte boundaries (//$REVIEW for now, this should be user-adjustable) so if we have a memory span straddling such a boundary, we have to account for it. E.g. the span [01FC-0201] should be rendered: |
|
FindIndexOfMemoryAddress ( ImageMapItem item, Address addr ) : int |
Find the index of the address within the item.
|
|
GetAddressOfLine ( ImageMapItem item, int i ) : Address | ||
GetLineOffset ( ImageMapItem item, Address addr ) : int | ||
SanitizeAddress ( Address position ) : Address |
Given an address, attempts to make sure that it points to a valid position in the address space or to the EOF
|
public ComparePositions ( object a, object b ) : int | ||
a | object | |
b | object | |
return | int |
public CountLines ( object startPos, object endPos ) : int | ||
startPos | object | |
endPos | object | |
return | int |
public GetPositionAsFraction ( ) : int>.Tuple |
||
return | int>.Tuple |
public MixedCodeDataModel ( |
||
that | ||
return | Reko.Core |
public MixedCodeDataModel ( Program program ) : Reko.Core | ||
program | Program | |
return | Reko.Core |
public MoveToLine ( object position, int offset ) : int | ||
position | object | |
offset | int | |
return | int |
public SetPositionAsFraction ( int numer, int denom ) : void | ||
numer | int | |
denom | int | |
return | void |