KolibriOS kernel
peload.inc File Reference

Functions

void load_PE (dword file_name)
 This function load file driver and output eax = address function START in driver ebx = address for kernel_free. More...
 

Variables

dd image
 
dd entry
 
dd base
 
label map_PE
 ebp=base:dword, ebx=image:dword More...
 
dd _numsections
 
dd _import_names
 
dd _import_targets
 
dd _peheader
 
dd _bad_import
 
dd _import_idx
 
dd _import_descr
 
dd _relocs_rva
 
dd _relocs_size
 
dd _section_header_size
 
dd _AddressOfEntryPoint
 
dd _ImageBase
 

Function Documentation

◆ load_PE()

void load_PE ( dword  file_name)

This function load file driver and output eax = address function START in driver ebx = address for kernel_free.

Source
core/peload.inc:16

Variable Documentation

◆ _AddressOfEntryPoint

dd _AddressOfEntryPoint
Initial value
?
Source
core/peload.inc:85

◆ _bad_import

dd _bad_import
Initial value
?
Source
core/peload.inc:79

◆ _ImageBase

dd _ImageBase
Initial value
?
Source
core/peload.inc:86

◆ _import_descr

dd _import_descr
Initial value
?
Source
core/peload.inc:81

◆ _import_idx

dd _import_idx
Initial value
?
Source
core/peload.inc:80

◆ _import_names

dd _import_names
Initial value
?
Source
core/peload.inc:76

◆ _import_targets

dd _import_targets
Initial value
?
Source
core/peload.inc:77

◆ _numsections

dd _numsections
Initial value
?
Source
core/peload.inc:75

◆ _peheader

dd _peheader
Initial value
?
Source
core/peload.inc:78

◆ _relocs_rva

dd _relocs_rva
Initial value
?
Source
core/peload.inc:82

◆ _relocs_size

dd _relocs_size
Initial value
?
Source
core/peload.inc:83

◆ _section_header_size

dd _section_header_size
Initial value
?
Source
core/peload.inc:84

◆ base

dd base
Initial value
?
Source
core/peload.inc:20

◆ entry

dd entry
Initial value
?
Source
core/peload.inc:19

◆ image

dd image
Initial value
?
Source
core/peload.inc:18

◆ map_PE

label map_PE

ebp=base:dword, ebx=image:dword

Source
core/peload.inc:70