Exclude libcurl and NintendoSDK-NEX

This project is not going to decompile libcurl and NEX. It's just not
the main focus of the project and it's unlikely to yield any kind of
interesting information.

PosTrackerUploader and possibly the network save transfer stuff
do use NEX but those are secondary, possibly debug-only features.
Furthermore decompiling those two systems does not require actually
implementing the entirely of libcurl+NEX (~1MB); we just have to
write "API stubs" (headers) for the few parts of NEX that are used
by BotW code.
This commit is contained in:
Léo Lam 2021-06-14 23:26:03 +02:00
parent 85171726af
commit f4740f07e7
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
2 changed files with 3389 additions and 3385 deletions

File diff suppressed because it is too large Load Diff

View File

@ -67,7 +67,11 @@ def get_functions(path: tp.Optional[Path] = None) -> tp.Iterable[FunctionInfo]:
reader = csv.reader(f)
for row in reader:
try:
yield parse_function_csv_entry(row)
entry = parse_function_csv_entry(row)
# excluded library function
if entry.decomp_name == "l":
continue
yield entry
except ValueError as e:
raise Exception(f"Failed to parse line {reader.line_num}") from e