mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 04:45:43 +00:00
1. starting adding pe loader to cputointel to misc.c
2. move the loadimage stuff to own functions to misc.c 3. rewrite so loader call to brain* after it load the image. 4. setup main using the loader 5. add few more input param to main -in, -inexe, -in try autodetect type of file, -inexe try convert a PE file. svn path=/trunk/; revision=25272
This commit is contained in:
parent
d9e5c48061
commit
fe4dcf7a00
9 changed files with 407 additions and 232 deletions
|
@ -8,10 +8,12 @@
|
|||
|
||||
|
||||
/* Convert Bit index to int */
|
||||
CPU_INT LoadPFileImage(char *infileName, char *outputfileName, CPU_UNINT BaseAddress, char *cpuid, CPU_UNINT type);
|
||||
CPU_INT PEFileStart( CPU_BYTE *memory, CPU_UNINT pos, CPU_UNINT base, CPU_UNINT size);
|
||||
|
||||
CPU_UNINT ConvertBitToByte(CPU_BYTE *bit);
|
||||
CPU_UNINT GetMaskByte(CPU_BYTE *bit);
|
||||
|
||||
|
||||
CPU_UNINT ConvertBitToByte32(CPU_BYTE *bit);
|
||||
CPU_UNINT GetMaskByte32(CPU_BYTE *bit);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue