Anywhere PE Viewer (APEV) Simple API for the Java Platform

Overview

Anywhere PE Viewer (APEV) Simple API for the Java Platform is a cross-platform API for extracting and dumping meta-information from PE (Portable Executable) files like EXE, DLL, OCX, SCR.

APEV Simple API is a cross-platform pure Java API. It does not use the JNI technology. Written entirely in Java, it runs on all Java-enabled platforms.

APEV Simple API extracts the following information:

  • DOS Header;
  • COFF File Header;
  • Optional NT Headers;
  • Export Table;
  • Import Table.

Here are some sample reports:

APEV Simple API generates reports in the XML format based on user-customizable templates. Customizing the templates also allows changing the output to any text-based format.

Javadoc

See Javadoc.

Command Line Interface

APEV Simple API contains CommandLineInterface class. CommandLineInterface is intended for command-line batch mode use and can generate reports for many files in one run. It is a cross-platform application that runs on Windows, Linux, and Mac OS X.


Usage:
  java -jar apevsimple.jar <options> [-in IN] [-out OUT]
or
  java -classpath apevsimple.jar com.ucware.apevsimple.CommandLineInterface <options> [-in IN] [-out OUT]

<options> specify the types of reports that APEV PX will generate:
-pe  - DOS Header, COFF File Header, Optional NT Headers;
-exp - Export Table;
-imp - Import Table.
These options are not mutually exclusive;
you can request to generate reports in any combination.

Input and output options:
-in IN   - Specifies a file or a list of files for processing.
           If present, IN must point to an existing PE file.
           If you omit this option altogether, APEV PX will try
           to read the list of files for processing from STDIN,
           interpreting every line of input as a file name.
-out OUT - If present, OUT specifies the output folder.
           All reports generated with APEV PX go into that folder,
           one report file for every combination of report type
           and source file.
           If you omit this option altogether, APEV PX will print
           all the reports to STDOUT.

Usage examples:
    java -jar apevsimple.jar -exp -in mydll.dll
    java -jar apevsimple.jar -pe -exp -in mydll.dll -out .\
    java -jar apevsimple.jar -imp -exp -out .\reports\ <filelist.txt

System Requirements

  • Java Runtime Environment version 1.6 or higher.

Buy a License

Please contact support@ucware.com.

A per-user license for general commercial use starts from 299 USD.