Skip to content

Instantly share code, notes, and snippets.

@Linblow
Linblow / pspheader.h
Last active October 2, 2023 03:25
Sony ~PSP file header clean reversed
/**
* @file pspheader.h
* @author Linblow (dev at linblow dot com)
* @version 1.0.7
* @date 2023-09-05
*
* Defines the structures ScePSPHeader, etc; for ~PSP header file data.
*/
#ifndef _SCE_KERNEL_PSP_HEADER_H
# IDA (disassembler) and Hex-Rays (decompiler) plugin for Apple AMX
#
# WIP research. (This was edited to add more info after someone posted it to
# Hacker News. Click "Revisions" to see full changes.)
#
# Copyright (c) 2020 dougallj
# Based on Python port of VMX intrinsics plugin:
# Copyright (c) 2019 w4kfu - Synacktiv
@TellowKrinkle
TellowKrinkle / PSPSCEDecoder.java
Created April 10, 2020 02:56
Ghidra PSP SCE Decoder
// Reads the list of syscall functions from a PSP rom and marks them in Ghidra
//@author TellowKrinkle
//@category PSP
import java.util.Map;
import java.util.HashMap;
import ghidra.app.script.GhidraScript;
import ghidra.program.model.util.*;
import ghidra.util.exception.InvalidInputException;
import ghidra.program.model.reloc.*;
@sstallion
sstallion / Makefile
Last active October 11, 2017 21:46
# Copyright (c) 2017 Steven Stallion
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
@yeokm1
yeokm1 / Read-only FS on Arch Linux ARM.md
Last active July 17, 2024 01:31
Set up Arch Linux ARM on Raspberry Pi to boot from and use a read-only file-system

Read-only FS on Arch Linux ARM

Unlike your typical computer where you usually shutdown properly, I cannot rely on this during the use of my Raspberry Pi. If the Raspberry Pi is improperly shutdown too many times, data corruption in the file system leading to unbootable SD card may result. So we should use a read-only file system.

Full instructions and explanations are obtained from this link but you can run these commands directly. I modified some of the instructions for personal convenience.

Login with default username: alarm, password: alarm

#Optionally enable root over SSH. The rest of these instructions assume u are in root.
@brandonb927
brandonb927 / osx-for-hackers.sh
Last active September 8, 2024 11:59
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx