Skip to content

Instantly share code, notes, and snippets.

View kohnakagawa's full-sized avatar
🌴
On vacation

tsunekoh kohnakagawa

🌴
On vacation
View GitHub Profile
@uemuraj
uemuraj / symchk.md
Created July 28, 2019 05:56
Windows デバッグ用シンボルファイルのダウンロード

シンボルファイルのダウンロードはもう無くなったそうです。デバッガに付属の symchk.exe でダウンロードします。

以下は Visual Studio 2019 のデフォルトのキャッシュディレクトリにシンボルファイルをダウンロードする例:

symchk /r C:\Windows\SysWOW64 /s SRV*%TEMP%\SymbolCache*https://msdl.microsoft.com/download/symbols
symchk /r C:\Windows\System32 /s SRV*%TEMP%\SymbolCache*https://msdl.microsoft.com/download/symbols

ちょっと罠なのは:

  • Visual Studio の最新をインストールしていると SDK の最新が入った状態になるけれど symchk が無いみたい
# 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
@theevilbit
theevilbit / screenshot.m
Last active December 12, 2024 02:41
Make a screenshot on macOS using Objective-C
/*
Compile:
gcc -framework Foundation -framework AppKit screenshot.m -o screenshot
*/
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
int main(void) {
@alexander-hanel
alexander-hanel / bn-cheat.md
Last active April 11, 2025 13:28
Cheat Sheet for Binary Ninja
@theevilbit
theevilbit / macos_sonoma_launch_constraints.txt
Last active September 6, 2024 07:52
macOS Sonoma (14) Launch Constraints
Original by LinuS Henze for iOS16: https://gist.github.com/LinusHenze/4cd5d7ef057a144cda7234e2c247c056
Following his format I updated it for macOS Sonoma (14) and I guess it's the same for iOS17, but didn't cross check.
Constraint Categories:
Category 0:
Self Constraint: N/A
Parent Constraint: N/A
Category 1: