Skip to content

Commit 7c91ff5

Browse files
authored
Enhance OffsetInspect module description and features
Updated module description for clarity and added support for multi-file inspection.
1 parent 72f53cb commit 7c91ff5

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

OffsetInspect.psm1

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
Module wrapper for OffsetInspect — PE Offset & Hex Context Inspector
44
55
.DESCRIPTION
6-
This module exposes the Invoke-OffsetInspect function, which wraps
7-
OffsetInspect.ps1 located in the repository root.
8-
9-
Users can import this module and call the tool like a standard PowerShell function.
6+
Exposes Invoke-OffsetInspect, which wraps OffsetInspect.ps1 in the repo root
7+
and supports multi-file inspection.
108
119
.AUTHOR
1210
Jared Perry (Velkris)
@@ -21,7 +19,7 @@ function Invoke-OffsetInspect {
2119
[Parameter(Mandatory = $true, Position = 1)]
2220
[string[]]$OffsetInputs,
2321

24-
[int]$ByteWindow = 32,
22+
[int]$ByteWindow = 32,
2523
[int]$ContextLines = 3
2624
)
2725

@@ -32,7 +30,6 @@ function Invoke-OffsetInspect {
3230
throw "OffsetInspect.ps1 not found at expected location: $scriptPath"
3331
}
3432

35-
# Invoke the actual script with parameters (multi-file aware)
3633
& $scriptPath `
3734
-FilePaths $FilePaths `
3835
-OffsetInputs $OffsetInputs `

0 commit comments

Comments
 (0)