Skip to content

Commit

Permalink
Drop loaders.elfloader and loaders.peloaders
Browse files Browse the repository at this point in the history
  • Loading branch information
erdnaxe authored and yhql committed Mar 5, 2024
1 parent 54f98aa commit 6bd303e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 164 deletions.
4 changes: 1 addition & 3 deletions rainbow/loaders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@
from typing import Optional

from .cleloader import cleloader
from .elfloader import elfloader
from .hexloader import hexloader
from .peloader import peloader

LOADERS = {".hex": hexloader, ".elf": elfloader, ".so": cleloader, ".exe": peloader}
LOADERS = {".hex": hexloader, ".elf": cleloader, ".so": cleloader, ".exe": cleloader}


def load_selector(filename, rainbow_instance, typ=None, *args, **kwargs) -> Optional[int]:
Expand Down
106 changes: 0 additions & 106 deletions rainbow/loaders/elfloader.py

This file was deleted.

54 changes: 0 additions & 54 deletions rainbow/loaders/peloader.py

This file was deleted.

1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"unicorn>=2.0.1",
"capstone>=4.0.0",
"cle>=9.2",
"lief>=0.10.0",
"intelhex",
"pygments",
"numpy",
Expand Down

0 comments on commit 6bd303e

Please sign in to comment.