Skip to content

Commit 522f2c3

Browse files
committed
It looks like it's working!
1 parent 6353559 commit 522f2c3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

GhidraESP8266_2/src/main/java/ghidraesp8266_2/ESP8266Section.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public int getSize() {
4040
}
4141

4242
public byte[] getContent() {
43+
Msg.info(this, String.format("Section starts with %02x %02x %02x", content[0], content[1], content[2]));
4344
return content;
4445
}
4546

GhidraESP8266_2/src/main/java/ghidraesp8266_2/GhidraESP8266_2Loader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ private void markupHeader(Program program, ESP8266Header header, TaskMonitor mon
8888
String BLOCK_SOURCE_NAME = "ESP8266 Header";
8989
Address start = program.getAddressFactory().getDefaultAddressSpace().getAddress( 0x0 );
9090
try {
91-
mbu.createInitializedBlock(".header", start, reader, 5, "", BLOCK_SOURCE_NAME, r, w, x, monitor);
91+
mbu.createInitializedBlock(".header", start, reader, 8, "", BLOCK_SOURCE_NAME, r, w, x, monitor);
9292
createData(program, program.getListing(), start, header.toDataType());
9393
} catch (AddressOverflowException e) {
9494
// TODO Auto-generated catch block

0 commit comments

Comments
 (0)