Skip to content

Instantly share code, notes, and snippets.

View wjk's full-sized avatar

William Kent wjk

View GitHub Profile
@wjk
wjk / make.log
Created February 7, 2015 19:56
A build log for dotnet/coreclr#121
/usr/local/Cellar/cmake/3.0.2/bin/cmake -H/Volumes/Sources/dotNETCore/coreclr -B/Volumes/Sources/dotNETCore/coreclr/binaries/CMake --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_start /Volumes/Sources/dotNETCore/coreclr/binaries/CMake/CMakeFiles /Volumes/Sources/dotNETCore/coreclr/binaries/CMake/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/pal/src/CMakeFiles/CoreClrPal.dir/build.make src/pal/src/CMakeFiles/CoreClrPal.dir/depend
cd /Volumes/Sources/dotNETCore/coreclr/binaries/CMake && /usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_depends "Unix Makefiles" /Volumes/Sources/dotNETCore/coreclr /Volumes/Sources/dotNETCore/coreclr/src/pal/src /Volumes/Sources/dotNETCore/coreclr/binaries/CMake /Volumes/Sources/dotNETCore/coreclr/binaries/CMake/src/pal/src /Volumes/Sources/dotNETCore/coreclr/binaries/CMake/src/pal/src/CMakeFiles/C
@wjk
wjk / offsets.h
Created October 8, 2014 23:00
Data file for the Stack Overflow question “Structure Offset Error”
#define AST_URGENT 4
#define AST_URGENT_NUM 4
#define AST_BSD 128
#define AST_BSD_NUM 128
#define MAX_CPUS 32
#define MAX_CPUS_NUM 32
#define SLOCK_ILK 0
#define SLOCK_ILK_NUM 0
#define MUTEX_OWNER 0
#define MUTEX_OWNER_NUM 0
@wjk
wjk / gist:2eceac5e063f44a56f0a
Created August 18, 2014 00:07
cpu_data_realloc disassembly
_cpu_data_realloc:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x28, %rsp
leaq _kernel_map(%rip), %rbx
movq __framesize(%rbx), %rdi
leaq -0x10(%rbp), %rsi
movl $0x4000, %edx
callq _kmem_alloc
@wjk
wjk / make-output.txt
Created July 1, 2014 18:41
EasyRPG Editor-Qt Make Output
echo linking bin/EasyRPG-Editor.app/Contents/MacOS/EasyRPG-Editor && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.6 -o bin/EasyRPG-Editor.app/Contents/MacOS/EasyRPG-Editor mainwindow.o main.o dialogresourcemanager.o dialogdatabase.o dialogimportimage.o dialognewproject.o gamecharacter.o dialogopenproject.o musicplayer.o volumebutton.o core.o dialogimportproject.o dialogrtppath.o dialogrungame.o qundodraw.o dialogevent.o dialogmapproperties.o qundoevent.o dialogcharapicker.o dialogsplash.o qeventpagewidget.o qeventpagewidget_init.o qgraphicscharaitem.o qgraphicsimportitem.o qgraphicsmapscene.o qgraphicspaletescene.o qgraphicspickerscene.o qdbpageactors.o qgraphicsfaceitem.o dialogfacepicker.o qgraphicsbattleanimationitem.o qdbpageclasses.o qdbpageskills.o qdbpageitems.o qdbpageenemies.o qdbpageen
@wjk
wjk / liblcf.pc
Created July 1, 2014 18:22
liblcf.pc (for EasyRPG/Editor#59)
prefix=/usr/local/Cellar/liblcf/1.0
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: liblcf
Description: Library to handle RPG Maker 2000 and 2003 game data
Version: 0.2.1
URL: https://easy-rpg.org/
Requires: expat >= 2.1 icu-i18n
@wjk
wjk / brew-config-output.txt
Created April 7, 2014 21:18
Homebrew xctool failure logs
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: bebaac2582d81027ce3a774103cf138bf5d8730c
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /Library/Homebrew/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.9.2-x86_64
Xcode: 5.1
CLT: 5.1.0.0.1.1393561416
Clang: 5.1 build 503
@wjk
wjk / QEMU Log.txt
Created January 14, 2014 23:42
An interrupt log from QEMU for a crash in my copy of the XNU kernel.
0: v=0e e=0003 i=0 cpl=0 IP=0008:000000000010d0b0 pc=000000000010d0b0 SP=0000:ffffff800010c000 CR2=ffffff800010bff8
RAX=ffffff80002d15c0 RBX=0000000000000800 RCX=00000000002d15c0 RDX=dfcbde4900000000
RSI=00000000007dfb80 RDI=00000000009f8000 RBP=0000000000000000 RSP=ffffff800010c000
R8 =0000000000000000 R9 =0000000000000000 R10=0000000000000000 R11=0000000000000000
R12=0000000000000000 R13=0000000000000000 R14=0000000000000000 R15=0000000000000000
RIP=000000000010d0b0 RFL=00000042 [---Z---] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 0000000000000000 00000000 00000000
CS =0008 0000000000000000 ffffffff 00af9a00 DPL=0 CS64 [-R-]
SS =0000 0000000000000000 00000000 00000000
DS =0000 0000000000000000 00000000 00000000
Process: Cupertino [22412]
Path: /Users/USER/Documents/*/Cupertino.app/Contents/MacOS/Cupertino
Identifier: com.sunsol.cupertino
Version: 1.0 (1)
Code Type: X86 (Native)
Parent Process: launchd [156]
Responsible: Cupertino [22412]
User ID: 501
Date/Time: 2013-11-02 13:33:30.765 -0400