Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
/GumJS/Script/invalid_script_should_return_null: DUK [DD] duk_heap_alloc.c:941 (duk_heap_alloc): HEAP: INIT STRINGS
[DDD] duk_heap_alloc.c:394 (duk__init_heap_strings): intern built-in string 0
[DDD] duk_util_hashprime.c:68 (duk_util_get_hash_prime): size=0, curr=23
[DDD] duk_util_hashprime.c:68 (duk_util_get_hash_prime): size=23, curr=23
[DDD] duk_heap_stringtable.c:651 (duk__resize_strtab_raw_probe): attempt to resize stringtable: 17 entries, 68 bytes, 0 used, 0% load -> 23 entries, 92 bytes, 0 used, 0% load
[DD] duk_heap_stringtable.c:727 (duk__resize_strtab_raw_probe): resized stringtable: 17 entries, 68 bytes, 0 used, 0% load -> 23 entries, 92 bytes, 0 used, 0% load
[DDD] duk_heap_stringtable.c:99 (duk__alloc_init_hstring): interned string, hash=0x572d699b, blen=6, clen=6, has_arridx=0, has_extdata=0
[DDD] duk_heap_stringtable.c:498 (duk__insert_hstring_probe): insert hit (null): 4
[DDD] duk_heap_alloc.c:415 (duk__init_heap_strings): interned: "Logger"/0
[DDD] duk_heap_alloc.c:394 (duk__init_heap_strings
@s1341
s1341 / gist:8df970eec5450b5e36bf
Created April 28, 2015 14:10
call_in_process
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/debug.h>
#include <sys/procfs.h>
#include <unistd.h>
@s1341
s1341 / gist:f1ae2e0079dc5f3500c3
Created March 24, 2015 10:26
qnx toolchain for frida
Things done to qnx toolchain:
1. Compile libiconv:
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 CC=/opt/qnx650/host/linux/x86/usr/bin/arm-unknown-nto-qnx6.5.0-gcc ./configure --host=arm-unknown-nto-qnx6.5.0 --prefix=`pwd`/../install
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 make install
2. Compile gettext:
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 CC=/opt/qnx650/host/linux/x86/usr/bin/arm-unknown-nto-qnx6.5.0-gcc ./configure --host=arm-unknown-nto-qnx6.5.0 --prefix=`pwd`/../install
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 make
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 make install
~/pyenv/sources/2.7.3 ~
x Python-2.7.3/
x Python-2.7.3/PC/
x Python-2.7.3/PC/py.ico
x Python-2.7.3/PC/testpy.py
x Python-2.7.3/PC/pyconfig.h
x Python-2.7.3/PC/_msi.c
x Python-2.7.3/PC/pyc.ico
x Python-2.7.3/PC/icons.mak
x Python-2.7.3/PC/frozen_dllmain.c