IDA SDK
Macros
Load file flags

Detailed Description

Passed as 'neflags' parameter to loader_t::load_file.

Macros

#define NEF_SEGS   0x0001
 Create segments.
 
#define NEF_RSCS   0x0002
 Load resources.
 
#define NEF_NAME   0x0004
 Rename entries.
 
#define NEF_MAN   0x0008
 Manual load.
 
#define NEF_FILL   0x0010
 Fill segment gaps.
 
#define NEF_IMPS   0x0020
 Create import segment.
 
#define NEF_FIRST   0x0080
 This is the first file loaded. More...
 
#define NEF_CODE   0x0100
 for load_binary_file(): More...
 
#define NEF_RELOAD   0x0200
 reload the file at the same place: More...
 
#define NEF_FLAT   0x0400
 Autocreate FLAT group (PE)
 
#define NEF_MINI   0x0800
 Create mini database (do not copy. More...
 
#define NEF_LOPT   0x1000
 Display additional loader options dialog.
 
#define NEF_LALL   0x2000
 Load all segments without questions.
 

Macro Definition Documentation

#define NEF_FIRST   0x0080

This is the first file loaded.

into the database.

#define NEF_CODE   0x0100

for load_binary_file():

load as a code segment

#define NEF_RELOAD   0x0200

reload the file at the same place:

  • don't create segments
  • don't create fixup info
  • don't import segments
  • etc load only the bytes into the base. a loader should have LDRF_RELOAD bit set
#define NEF_MINI   0x0800

Create mini database (do not copy.

segment bytes from the input file; use only the file header metadata)