Skip to content

Commit

Permalink
disasm: Show segment types
Browse files Browse the repository at this point in the history
At whiteknight's request
  • Loading branch information
Benabik committed Nov 16, 2011
1 parent 9561b90 commit 5e4a2a4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/disasm.winxed
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -369,12 +369,13 @@ function main[main](var argv) {


print_header(packfile); print_header(packfile);
say(); say();
say(packfile.constants_name); say('Segments:');
say(' Constants: ', packfile.constants_name);
constant_table(packfile); constant_table(packfile);
say(packfile.debug_name); say(' Debug: ', packfile.debug_name);
debug_segment(packfile); debug_segment(packfile);
say(packfile.annotations_name); say(' Annotations: ', packfile.annotations_name);
annotations_segment(packfile); annotations_segment(packfile);
say(packfile.bytecode_name); say(' Bytecode: ', packfile.bytecode_name);
bytecode_segment(packfile); bytecode_segment(packfile);
} }

0 comments on commit 5e4a2a4

Please sign in to comment.