Table of Contents

Getting Started

Prerequisites

Setup

Clone https://github.com/fruityloops1/RedPepper recursively, and place code.bin in the root of the repository.

Set these environment variables:

ARMCC_PATH: path where ARMCC has been installed

Tools

Here the most important scripts in the 'Tools' folder will be explained.

build.py

python Tools/build.py [clean/verbose]

Sets up CMake if needed, and builds the project.

Building with the 'clean' flag will delete the Build folder and set up CMake again, if the Build folder exists.

Building with the 'verbose' flag will echo the compiler/linker commands.

check.py

python Tools/check.py [dir]

Automatically checks all functions mentioned in files in the 'Symbols' folder, and updates their status if needed.

Examples:

diff.py

python Tools/diff.py <symbol>

Runs the asm-differ for the specified function.

Examples:

progress.py

Shows decompilation progress (of functions), automatically removes functions from the Unnamed.sym file if they have been moved to another .sym file by the user, and updates the decompilation percentages/the graph for README.md.

1)
sha256sum = e1d7e188ff88467df776c17cec45c44857fadf5b699944baa8cddcae7d939e64
2)
0004000000053F00