69 # %TEMPDIR% and %FILE% are magic words for the expandor |
92 # %TEMPDIR% and %FILE% are magic words for the expandor |
70 # they will be replaced with suitable values when used |
93 # they will be replaced with suitable values when used |
71 # they also enabled an order of expandor arguments where the filename is not last |
94 # they also enabled an order of expandor arguments where the filename is not last |
72 my %typeHandler = ( |
95 my %typeHandler = ( |
73 e32 => {reader => 'elf2e32 --dump --e32input=', filter => \&Elf2E32Filter}, |
96 e32 => {reader => 'elf2e32 --dump --e32input=', filter => \&Elf2E32Filter}, |
74 arm => {reader => 'nm --no-sort', filter => \&NmFilter, retry => 1, relative_paths => 1}, |
97 arm => {reader => FindTool("nm").' --no-sort', filter => \&NmFilter, retry => 1, relative_paths => 1}, |
75 elf => {reader => 'elfdump -i', filter => \&ElfDumpFilter, rawretry => 1}, |
98 elf => {reader => 'elfdump -i', filter => \&ElfDumpFilter, rawretry => 1}, |
76 intel => {reader => '%EPOCROOT%epoc32\gcc_mingw\bin\nm --no-sort', filter => \&NmFilter, rawretry => 1, relative_paths => 1, skipstderr => 1}, |
99 intel => {reader => FindTool("nm").' --no-sort', filter => \&NmFilter, rawretry => 1, relative_paths => 1, skipstderr => 1}, |
77 intel_pe => {reader => 'pe_dump', filter => \&FilterNone, rawretry => 1}, |
100 intel_pe => {reader => 'pe_dump', filter => \&FilterNone, rawretry => 1}, |
78 zip => {reader => '"'.$FindBin::Bin.'/unzip" -l -v', filter => \&UnzipFilter, rawretry => 1}, |
101 zip => {reader => FindTool("unzip").' -l -v', filter => \&UnzipFilter, rawretry => 1}, |
79 map => {filter => \&MapFilter, skipblanks => 1}, |
102 map => {filter => \&MapFilter, skipblanks => 1}, |
80 sgml => {filter => \&SgmlFilter}, |
103 sgml => {filter => \&SgmlFilter}, |
81 preprocessed_text => {filter => \&PreprocessedTextFilter}, |
104 preprocessed_text => {filter => \&PreprocessedTextFilter}, |
82 permanent_file_store => {reader => 'pfsdump -c -v', filter => \&PermanentFileStoreFilter, rawretry => 1, relative_paths => 1}, |
105 permanent_file_store => {reader => 'pfsdump -c -v', filter => \&PermanentFileStoreFilter, rawretry => 1, relative_paths => 1}, |
83 ignore => {filter => \&FilterAll}, |
106 ignore => {filter => \&FilterAll}, |