Skip to content

Commit

Permalink
Coff: Use PEThreadManager
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed Jan 15, 2025
1 parent d194af5 commit 2eb2640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cle/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from cle.memory import Clemory, ClemoryReadOnlyView
from cle.utils import ALIGN_UP, key_bisect_floor_key, key_bisect_insort_right, stream_or_path

from .backends import ALL_BACKENDS, ELF, PE, Backend, Blob, ELFCore, MetaELF, Minidump
from .backends import ALL_BACKENDS, ELF, PE, Backend, Blob, Coff, ELFCore, MetaELF, Minidump
from .backends.externs import ExternObject, KernelObject
from .backends.tls import (
ELFCoreThreadManager,
Expand Down Expand Up @@ -820,7 +820,7 @@ def _internal_load(self, *args, preloading=()):
self._tls = MinidumpThreadManager(self, self._main_object.arch)
elif isinstance(chk_obj, MetaELF):
self._tls = ELFThreadManager(self, self._main_object.arch)
elif isinstance(chk_obj, PE):
elif isinstance(chk_obj, (PE, Coff)):
self._tls = PEThreadManager(self, self._main_object.arch)
else:
self._tls = ThreadManager(self, self._main_object.arch)
Expand Down

0 comments on commit 2eb2640

Please sign in to comment.