Method | Description | |
---|---|---|
AnalyzeDataFlow ( ) : void |
Determines the signature of the procedures, the locations and types of all the values in the program.
|
|
Assemble ( string fileName, Assembler asm ) : void | ||
Decompile ( string filename ) : void |
Main entry point of the decompiler. Loads, decompiles, and outputs the results.
|
|
DecompilerDriver ( ILoader ldr, IServiceProvider services ) : Reko.Core | ||
DumpAssembler ( Program program, Reko.Core.Output.Formatter wr ) : void | ||
Load ( string fileName ) : bool |
Loads (or assembles) the decompiler project. If a binary file is specified instead, we create a simple project for the file.
|
|
LoadCallSignatures ( Program program, ICollection |
||
LoadRawImage ( string fileName, RawFileElement raw ) : Program | ||
LoadRawImage ( string fileName, string arch, string platform, Address addrBase ) : Program |
Loads a program into memory, but performs no relocations.
|
|
ReconstructTypes ( ) : void |
Extracts type information from the typeless rewritten programs.
|
|
RunScriptOnProgramImage ( Program program, Script_v2 script ) : void | ||
ScanProcedure ( Reko.Core.ProgramAddress paddr ) : Reko.Core.ProcedureBase |
Starts a scan at address addr on the user's request.
|
|
ScanPrograms ( ) : void |
Generates the control flow graph and finds executable code in each program.
|
|
StructureProgram ( ) : void |
Extracts structured program constructs out of snarled goto nests, if possible. Since procedures are now independent of each other, this analysis is done one procedure at a time.
|
|
WriteDecompiledProcedures ( Program program, |
||
WriteDecompiledTypes ( Program program, |
||
WriteDecompilerProducts ( ) : void | ||
WriteGlobals ( Program program, |
||
WriteHeaderComment ( string filename, Program program, |
Method | Description | |
---|---|---|
CreateDefaultProject ( string fileName, Program program ) : Reko.Core.Project |
Method | Description | |
---|---|---|
BuildImageMaps ( ) : void |
Build image maps for each program in preparation of the scanning phase.
|
|
CreateScanner ( Program program ) : IScanner | ||
EmitProgram ( Program program, |
||
ScanProgram ( Program program ) : void |
public Assemble ( string fileName, Assembler asm ) : void | ||
fileName | string | |
asm | Assembler | |
return | void |
protected CreateDefaultProject ( string fileName, Program program ) : Reko.Core.Project | ||
fileName | string | |
program | Program | |
return | Reko.Core.Project |
public DecompilerDriver ( ILoader ldr, IServiceProvider services ) : Reko.Core | ||
ldr | ILoader | |
services | IServiceProvider | |
return | Reko.Core |
public DumpAssembler ( Program program, Reko.Core.Output.Formatter wr ) : void | ||
program | Program | |
wr | Reko.Core.Output.Formatter | |
return | void |
public LoadCallSignatures ( Program program, ICollection |
||
program | Program | |
userCalls | ICollection |
|
return | FunctionType>.IDictionary |
public LoadRawImage ( string fileName, RawFileElement raw ) : Program | ||
fileName | string | |
raw | RawFileElement | |
return | Program |
public LoadRawImage ( string fileName, string arch, string platform, Address addrBase ) : Program | ||
fileName | string | |
arch | string | |
platform | string | |
addrBase | Address | |
return | Program |
public RunScriptOnProgramImage ( Program program, Script_v2 script ) : void | ||
program | Program | |
script | Script_v2 | |
return | void |
public ScanProcedure ( Reko.Core.ProgramAddress paddr ) : Reko.Core.ProcedureBase | ||
paddr | Reko.Core.ProgramAddress | |
return | Reko.Core.ProcedureBase |
public WriteDecompiledProcedures ( Program program, |
||
program | Program | |
w | ||
return | void |
public WriteDecompiledTypes ( Program program, |
||
program | Program | |
w | ||
return | void |
public WriteGlobals ( Program program, |
||
program | Program | |
w | ||
return | void |
public WriteHeaderComment ( string filename, Program program, |
||
filename | string | |
program | Program | |
w | ||
return | void |