Skip to content

Instantly share code, notes, and snippets.

View bean1310's full-sized avatar
🗾
Working from Japan

MATSUSHITA Isato bean1310

🗾
Working from Japan
View GitHub Profile
@bean1310
bean1310 / universal-binary-info.py
Created December 11, 2020 16:55
Universal Binaryの情報を表示して分割するやつ.
#!/usr/bin/env python3
import sys
class FatArch:
def __init__(self, binary):
self.cpuType = binary[0:4]
self.cpuSubType = binary[4:8]
self.offset = binary[8:12]
self.size = binary[12:16]
@bean1310
bean1310 / .config
Created July 31, 2022 16:38
ftraceを追うためのlinux 5.4.207 の config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.4.207 Kernel Configuration
#
#
# Compiler: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90400