Changeset 1517 for branches/reyalp-flt/tools/elf2flt/main.c
- Timestamp:
- 12/30/11 13:39:02 (18 months ago)
- File:
-
- 1 edited
-
branches/reyalp-flt/tools/elf2flt/main.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/reyalp-flt/tools/elf2flt/main.c
r1510 r1517 25 25 printf("elfflt.exe filename.elf filename.flt [-vefrhsS] [-iIMPORTFILE.TXT]\n"); 26 26 printf(" -iPATH/TO/exportlist.txt for list of imported symbols\n"); 27 printf(" -!PATH/TO/stoplist.txt for list of unsafe symbols\n"); 27 28 printf(" -e dump elf\n -S show elf sections\n -f dump flat\n -r show relocations\n -h show flat headers\n -s dump elf symbols\n -v verbose"); 28 29 return 1; … … 33 34 34 35 char* filename_import =0; 36 char* filename_stoplist =0; 35 37 36 38 int i; … … 48 50 case 'v': FLAG_VERBOSE = 1; break; 49 51 case 'i': filename_import = argv[i]+2; break; 52 case '!': filename_stoplist = argv[i]+2; break; 50 53 } 51 54 } … … 62 65 63 66 load_import(filename_import); 67 load_stoplist(filename_stoplist); 64 68 65 69 int err = elfloader_load(filename_elf, filename_flt);
Note: See TracChangeset
for help on using the changeset viewer.