Skip to content

Instantly share code, notes, and snippets.

View Dragorn421's full-sized avatar

Dragorn421 Dragorn421

  • France
  • 09:25 (UTC +02:00)
View GitHub Profile
@Dragorn421
Dragorn421 / 1 README.md
Created August 11, 2024 15:32
oot build all versions scripts

here are my two attempts

  • buildall.sh first attempt, at least it's simple
  • buildallround.py second attempt is "resumable", it'll remember OK versions even if you ctrl+C and rerun it. there's also limited options for what it'll do at the top:
# whether to ask for confirmation before running make commands
CONFIRM_MAKE = False
# whether to make assetclean and make clean before building
CLEAN = False
# whether to try run fix_bss after make fails
AUTO_TRY_FIX_BSS = True
@Dragorn421
Dragorn421 / Makefile
Last active February 20, 2025 13:39
includes_analyzer: a jank tool to find function definitions where the header with their declaration is not included
# SPDX-FileCopyrightText: 2024 Dragorn421
# SPDX-License-Identifier: CC0-1.0
includes_analyzer: includes_analyzer.c
$(CC) -O3 -L/usr/lib/llvm-18/lib/ -I/usr/lib/llvm-18/include/ $^ -lclang -o $@
@Dragorn421
Dragorn421 / LicensingPlea.md
Last active June 8, 2026 09:07
Dragorn's Licensing Plea

Dragorn's Licensing Plea - text licensed under CC0 - please copypaste

TLDR: Please attach the CC0 license to your decompilation and disassembly projects. If you don't, it unnecessarily restricts what others can do with them.

Plea maintained at https://gist.github.com/Dragorn421/937dce411e81b326854c8c2cf1ae69e6

I am not a lawyer and this is not legal advice, but I do have a deep understanding of what I'm writing about here.

First, a quick ELI5 on licensing