Skip to content

Commit

Permalink
timedatestamp printed for imports and delay load imports
Browse files Browse the repository at this point in the history
  • Loading branch information
struppigel committed Aug 19, 2023
1 parent 5f0f803 commit 9bd9a6b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

name := "PortEx"

version := "4.0.6"
version := "4.0.7"

scalaVersion := "2.12.13"

Expand Down
6 changes: 4 additions & 2 deletions src/main/java/com/github/katjahahn/parser/PELoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import com.github.katjahahn.parser.coffheader.COFFFileHeader;
import com.github.katjahahn.parser.msdos.MSDOSHeader;
import com.github.katjahahn.parser.optheader.OptionalHeader;
import com.github.katjahahn.parser.sections.SectionLoader;
import com.github.katjahahn.parser.sections.SectionTable;
import com.github.katjahahn.tools.ReportCreator;
import com.github.katjahahn.tools.visualizer.ImageUtil;
Expand Down Expand Up @@ -253,10 +254,11 @@ private OptionalHeader loadOptionalHeader(PESignature pesig,
*/
public static void main(String[] args) throws IOException, AWTException {

File file = new File("C:\\Users\\strup\\Downloads\\poco.dll");
File file = new File("C:\\Users\\strup\\Downloads\\Binaries\\pidgin.exe");
PEData data = PELoader.loadPE(file);
//System.out.println((new SectionLoader(data)).loadImportSection().getInfo());
new ReportCreator(data).printReport();
show(createImage(data));
//show(createImage(data));
}

private static BufferedImage createImage(PEData peData) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import com.github.katjahahn.parser.IOUtil;
import com.github.katjahahn.parser.PhysicalLocation;
import com.google.common.base.Optional;
import com.sun.xml.internal.ws.resources.UtilMessages;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

Expand Down

0 comments on commit 9bd9a6b

Please sign in to comment.