diff --git a/src/main/java/efiSeek/EfiSeek.java b/src/main/java/efiSeek/EfiSeek.java index 7943de7..9bb0fca 100644 --- a/src/main/java/efiSeek/EfiSeek.java +++ b/src/main/java/efiSeek/EfiSeek.java @@ -133,7 +133,7 @@ private void parseGuidsBase() { public void findGuids() { Address start = this.mem.getMinAddress(); - Address end = this.mem.getMaxAddress(); + Address end = start.add(this.mem.getSize()); for (Address Addr = start; Addr.getOffset() + 4 < end.getOffset(); Addr = Addr.add(4)) { byte[] rawGuid = new byte[16];