Skip to content

Commit aff11da

Browse files
committed
Rename helpers to sections
1 parent c72bbbc commit aff11da

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

dissect/executable/pe/__init__.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
from dissect.executable.pe.helpers.builder import Builder
2-
from dissect.executable.pe.helpers.exports import ExportFunction, ExportManager
3-
from dissect.executable.pe.helpers.imports import (
1+
from dissect.executable.pe.builder import Builder
2+
from dissect.executable.pe.patcher import Patcher
3+
from dissect.executable.pe.pe import PE
4+
from dissect.executable.pe.sections.exports import ExportFunction, ExportManager
5+
from dissect.executable.pe.sections.imports import (
46
ImportFunction,
57
ImportManager,
68
ImportModule,
79
)
8-
from dissect.executable.pe.helpers.patcher import Patcher
9-
from dissect.executable.pe.helpers.resources import Resource, ResourceManager
10-
from dissect.executable.pe.helpers.sections import PESection
11-
from dissect.executable.pe.pe import PE
10+
from dissect.executable.pe.sections.resources import Resource, ResourceManager
11+
from dissect.executable.pe.sections.sections import PESection
1212

1313
__all__ = [
1414
"PE",

dissect/executable/pe/pe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
)
1515
from dissect.executable.pe import patcher
1616
from dissect.executable.pe.c_pe import c_cv_info, c_pe
17-
from dissect.executable.pe.helpers import (
17+
from dissect.executable.pe.sections import (
1818
exports,
1919
imports,
2020
relocations,
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
from dissect.executable.utils import DictManager
99

1010
if TYPE_CHECKING:
11-
from dissect.executable.pe.helpers.sections import PESection
1211
from dissect.executable.pe.pe import PE
12+
from dissect.executable.pe.sections.sections import PESection
1313

1414

1515
@dataclass
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
from collections.abc import Iterator
1212
from struct import Struct
1313

14-
from dissect.executable.pe.helpers.sections import PESection
1514
from dissect.executable.pe.pe import PE
15+
from dissect.executable.pe.sections.sections import PESection
1616

1717

1818
class ImportModule:

dissect/executable/pe/helpers/relocations.py renamed to dissect/executable/pe/sections/relocations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
from dissect.executable.utils import ListManager
99

1010
if TYPE_CHECKING:
11-
from dissect.executable.pe.helpers.sections import PESection
1211
from dissect.executable.pe.pe import PE
12+
from dissect.executable.pe.sections.sections import PESection
1313

1414

1515
@dataclass

dissect/executable/pe/helpers/resources.py renamed to dissect/executable/pe/sections/resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
from collections.abc import Iterator
1717
from typing import BinaryIO, Callable
1818

19-
from dissect.executable.pe.helpers.sections import PESection
2019
from dissect.executable.pe.pe import PE
20+
from dissect.executable.pe.sections.sections import PESection
2121

2222

2323
@dataclass
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
from dissect.executable.utils import ListManager
88

99
if TYPE_CHECKING:
10-
from dissect.executable.pe.helpers.sections import PESection
1110
from dissect.executable.pe.pe import PE
11+
from dissect.executable.pe.sections.sections import PESection
1212

1313

1414
class TLSManager(ListManager[int]):

0 commit comments

Comments
 (0)