📄 globals.c
字号:
{12,7,15,12, False };
bit_32_switch_type lx_page_size =
{4096,128,32768,4096, False };
bit_32 lx_stack_seg ;
bit_32_switch_type lx_version =
{ 0, 0, 0xffffffff,0, False};
boolean_switch_type lxfile;
bit_32_switch_type map =
{2048, 1, 16384, 2048, False};
bit_32 map_start_time;
bit_32 max_exports = 512;
bit_32 max_externals = 512;
bit_32 max_groups = 512;
bit_32 max_imports = 512;
bit_32 max_lnames = 512;
bit_32 max_lx_fixups = 0 ;
bit_32 max_modules = 0;
bit_32 max_pe_fixups = 0;
bit_32 max_pe_import_fixups = 0;
bit_32 max_segments = 512;
string_ptr minus_string;
char *mode_text[2]=
{"Self-relative",
"Segment-relative"};
Generic_Element_list module_publics;
module_ptr_array modules;
bit_16 more_tokens;
bit_16 n_exports;
bit_16 n_externals;
bit_16 n_groups;
bit_16 n_imports;
bit_16 n_lnames;
bit_32 n_lx_fixups;
bit_32 n_lx_sections;
bit_32 n_modules;
bit_32 n_pe_fixups =0;
bit_32 n_pe_import_fixups =0;
bit_32 n_pe_sections = 0 ;
bit_16 n_publics = 0;
bit_16 n_publics_to_sort;
bit_16 n_relocation_items = 0;
bit_16 n_resources = 0 ;
bit_16 n_segments;
public_entry_ptr near_communals = Null;
bit_32 next_available_address;
string_ptr next_token;
lname_entry_ptr none_lname;
string_ptr not_string;
string_ptr null_string;
string_ptr obj_extension_string;
file_info_list obj_file_list = {Null, Null};
obj_ptr_type obj_ptr;
boolean_switch_type objchecksum = {False};
byte object_file_element[MAX_ELEMENT_SIZE];
bit_32 object_module_start_time;
bit_32_switch_type objectAlign =
{ 0x10000, 0x800, 0x10000000, 0x10000, False };
string_ptr open_angle_string;
string_ptr open_paren_string;
string_ptr or_string;
byte_ptr order_expression_char_ptr;
bit_32 order_start_time;
text_switch_type ordering = {Null};
file_type outfile;
byte_ptr outfile_buffer;
pe_section_ptr_array outList = Null;
bit_32_switch_type pack_code =
{0xFFFA, 1, 0xFFFF, 0xFFFA, False};
boolean_switch_type pad_segments = { False } ;
string_ptr parm_string;
boolean_switch_type pause = {False};
bit_32 PE_bss_seg ;
bit_32 PE_code_seg ;
bit_32 PE_data_seg ;
fixup_hold_ptr_array pe_fixup_array = Null ;
pe_import_fixup_ptr_array pe_import_fixup_array = Null ;
boolean_switch_type pefile;
string_ptr plus_string;
string_ptr program_config_file_string ;
string_ptr program_directory_string;
bit_16 prompting_for;
bit_16 prompt_next_stdin = False;
public_entry_ptr_array public_hash_table;
public_entry_ptr_array public_sort_array;
bit_32_switch_type public_table_hash_size =
{525, 1, 1023, 525, False};
bit_16 quoted ;
string_ptr resource_extension_string;
file_info_list resource_file_list;
file_info_list resource_file_list = {Null, Null};
resource_data_type resource_head ; /* Relying on BSS to zero this out */
bit_32 resource_start_time;
bit_32 secondary_init_start_time;
segment_entry_ptr_array segment_hash_table;
segment_entry_list segment_list = {Null, Null};
string_ptr segment_string;
bit_32_switch_type segment_table_hash_size =
{25, 1, 1023, 25, False};
segment_entry_list segments_ordered_list;
segment_entry_list segments_unordered_list;
string_ptr semicolon_string;
lseg_ptr_array snames;
string_ptr space_string;
bit_32_switch_type stack =
{0, 0, 0xFFFF, 0, False};
lname_entry_ptr STACK_lname;
bit_16 stack_segment_found = False;
bit_32_switch_type stackCommitSize =
{ 0x2000, 0x1000, 0xffffffff, 0x2000, False } ;
bit_32_switch_type stackSize =
{ 0x100000, 0x4000, 0xffffffff, 0x200000, False } ;
string_ptr star_string;
fixup_type start_address;
bit_16 start_address_found = False;
boolean_switch_type statistics = {False};
bit_32 statistics_start_time;
bit_32 step_time;
lseg_ptr stringseg_lseg ;
file_info_list stub_file_list = { Null };
text_switch_type stub_filename = {Null};
boolean_switch_type symbol_table = {False} ;
string_ptr sym_extension_string;
file_info_list sym_file_list = { Null };
string_ptr sym_filename_string;
string_ptr sys_extension_string;
boolean_switch_type sysfile = {False};
thread_type target_thread[4];
byte temp_near_string[TEMP_STRING_SIZE];
string_ptr temp_string;
string_ptr tilde_string;
char time_array[16];
lname_entry_ptr tmodule_name;
bit_16 tmodule_number = 0;
string_ptr token;
byte token_break_char;
bit_16 token_is_number;
bit_16 token_is_hex_number;
bit_32 token_numeric_value;
token_stack_list token_stack = {Null, Null};
token_stack_list token_stack_free_list = {Null, Null};
token_stack_ptr token_stack_member;
token_class_type token_type;
bit_32 total_time;
string_ptr true_string;
char *type_text[5]=
{"Low Byte",
"Offset",
"Base",
"Pointer",
"High Byte"};
bit_32 user_input_start_time;
boolean_switch_type use32 = {False};
public_entry_type *virtual_segs;
boolean_switch_type win_subsystem = { False } ;
switch_table_type switch_table[] =
{
{2, "ah", "alignexeheader", &align_exe_header, scan_set_switch},
{3, "bdl", "buildDll", &build_DLL, scan_set_switch},
{2, "bsz", "buffersize", &buffer_size, scan_bit_32_switch},
{2, "ci", "caseignore", &case_ignore, scan_set_switch},
{2, "co", "comfile", &comfile, scan_set_switch},
{3, "con", "conSubSys", &win_subsystem, scan_reset_switch},
{2, "cp", "cparmaxalloc", &CPARMAXALLOC, scan_bit_32_switch},
{2, "deb", "debug", &debug, scan_set_switch} ,
{2, "det", "detaillevel", &detail_level, scan_bit_32_switch},
{2, "do", "dosseg", &DOSSEG, scan_set_switch},
{2, "ex", "exechecksum", &exechecksum, scan_set_switch},
{2, "fa", "fileAlign", &fileAlign, scan_bit_32_align_switch},
{2, "ghs", "grouphashsize", &group_table_hash_size, scan_bit_32_switch},
{2, "hlp", "help", &help, scan_help_switch},
{2, "?", "help", &help, scan_help_switch},
{2, "h", "help", &help, scan_help_switch},
{2, "l", "libdir", &lib_directory, scan_string_switch} ,
{2, "le", "le", &lefile, scan_set_switch} ,
{2, "lhs", "lnamehashsize", &lname_table_hash_size, scan_bit_32_switch},
{8, "lx", "lx", &lxfile, scan_set_switch},
{8, "lxp", "lxpagesize", &lx_page_size, scan_bit_32_switch},
{8, "lxs", "lxpageshift", &lx_page_shift, scan_bit_32_switch},
{3, "lxv", "lxversion", &lx_version, scan_bit_32_switch},
{3, "mp", "map", &map, scan_opt_bit_16},
{4, "n32", "nouse32", &use32, scan_reset_switch},
{4, "nah", "noalignexeheader",&align_exe_header, scan_reset_switch},
{4, "nci", "nocaseignore", &case_ignore, scan_reset_switch},
{4, "nco", "nocomfile", &comfile, scan_reset_switch},
{3, "ndl", "nobuildDll", &build_DLL, scan_reset_switch} ,
{4, "ndo", "nodosseg", &DOSSEG, scan_reset_switch},
{4, "nex", "noexechecksum", &exechecksum, scan_reset_switch},
{2, "nle", "nole", &lefile, scan_reset_switch} ,
{4, "nlx", "nolx", &lxfile, scan_reset_switch},
{4, "nmp", "nomap", &map, scan_reset_bit_16},
{4, "nob", "noobjchecksum", &objchecksum, scan_reset_switch},
{5, "npc", "nopackcode", &pack_code, scan_reset_bit_16},
{4, "npe", "nope", &pefile, scan_reset_switch},
{5, "npa", "nopause", &pause, scan_reset_switch},
{3, "nps", "nopadSegments", &pad_segments, scan_reset_switch} ,
{5, "nsym","nosymboltable", &symbol_table, scan_reset_switch},
{5, "nsy", "nosysfile", &sysfile, scan_reset_switch},
{4, "nst", "nostatistics", &statistics, scan_reset_switch},
{2, "oa", "objectAlign", &objectAlign, scan_bit_32_align_switch},
{2, "ob", "objchecksum", &objchecksum, scan_set_switch},
{2, "ord", "order", &ordering, scan_text_switch},
{3, "pac", "packcode", &pack_code, scan_opt_bit_16},
{3, "pa", "pause", &pause, scan_set_switch},
{3, "pas", "padSegments", &pad_segments, scan_set_switch} ,
{4, "pe", "pe", &pefile, scan_set_switch},
{2, "ph", "peHeapSize", &heapSize, scan_bit_32_switch},
{2, "phc", "peHeapCommit", &heapCommitSize, scan_bit_32_switch},
{2, "phs", "publichashsize", &public_table_hash_size, scan_bit_32_switch},
{2, "pib", "peImageBase", &imageBase, scan_bit_32_switch},
{2, "ps", "peStackSize", &stackSize, scan_bit_32_switch},
{2, "psc", "peStackCommit", &stackCommitSize, scan_bit_32_switch},
{2, "shs", "segmenthashsize", &segment_table_hash_size, scan_bit_32_switch},
{2, "stb", "stubfile", &stub_filename, scan_string_switch},
{4, "stk", "stack", &stack, scan_bit_32_switch},
{2, "sts", "statistics", &statistics, scan_set_switch},
{3, "sym", "symbolTable", &symbol_table, scan_set_switch},
{3, "sy", "sysfile", &sysfile, scan_set_switch},
{3, "win", "winSubSys", &win_subsystem, scan_set_switch},
{4, "32", "use32", &use32, scan_set_switch},
{0, Null, Null, Null, Null}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -