Skip to content

Commit 661f8ef

Browse files
committed
Bump version number. Add helper function to check section characteristics.
1 parent 27bdf78 commit 661f8ef

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>me.martinez</groupId>
88
<artifactId>pe</artifactId>
9-
<version>2.1.0</version>
9+
<version>2.2.0</version>
1010

1111
<properties>
1212
<maven.compiler.source>8</maven.compiler.source>

src/main/java/me/martinez/pe/headers/ImageSectionHeader.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,8 @@ public long getPhysicalAddress() {
114114
public long getVirtualSize() {
115115
return physicalAddr_vSize;
116116
}
117+
118+
public boolean hasCharacteristic(long characteristic) {
119+
return (this.characteristics & characteristic) != 0;
120+
}
117121
}

0 commit comments

Comments
 (0)