diff --git a/common.py b/common.py index 8f8f7f2..77f7ef9 100644 --- a/common.py +++ b/common.py @@ -42,15 +42,7 @@ def get_containing_slice(addr: int) -> Tuple[Binary, SourceDesc]: dol_raw = get_cmd_stdout(f"{SLICES} {DOL} {DOL_SLICES} -p {DOL_SRCDIR}/ --containing {addr:x}") containing = json.loads(dol_raw) - if containing is None: - rel_raw = get_cmd_stdout( - f"{SLICES} {REL} {REL_SLICES} {PPCDIS_REL_FLAGS} -p {REL_SRCDIR}/ --containing {addr:x}" - ) - containing = json.loads(rel_raw) - assert containing is not None, f"Unknown address {addr:x}" - return (Binary.REL, containing) - else: - return (Binary.DOL, containing) + return (Binary.DOL, containing) def find_headers(dirname: str, base=None) -> List[str]: """Returns a list of all headers in a folder recursively""" diff --git a/config/dol_slices.lcf b/config/dol_slices.yml similarity index 100% rename from config/dol_slices.lcf rename to config/dol_slices.yml diff --git a/config/symbols.lcf b/config/symbols.yml similarity index 100% rename from config/symbols.lcf rename to config/symbols.yml