View zig-make.log
[ 16%] Built target embedded_lld_lib
[ 63%] Built target embedded_softfloat
[ 69%] Built target embedded_lld_coff
[ 70%] Built target embedded_lld_mingw
[ 86%] Built target embedded_lld_elf
[ 90%] Built target embedded_lld_wasm
[ 91%] Built target zig_cpp
[ 92%] Linking CXX executable zig
Undefined symbols for architecture x86_64:
"_LLVMABIAlignmentOfType", referenced from:
View gist:0427ff4b2abc215b7bf39d556f646188
[pancake@koega radare2]$ r2 /bin/ls
-- Set 'e bin.dbginfo=true' to load debug information at startup.
[0x000050b0]> #!python
*** Error in `r2': malloc(): memory corruption: 0x00005591fd72aae0 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x704fb)[0x7fb3dd8ca4fb]
/usr/lib/libc.so.6(+0x76976)[0x7fb3dd8d0976]
/usr/lib/libc.so.6(+0x78949)[0x7fb3dd8d2949]
/usr/lib/libc.so.6(__libc_calloc+0x27b)[0x7fb3dd8d506b]
/usr/lib/python2.7/lib-dynload/_hashlib.so(init_hashlib+0x27d)[0x7fb3d8cf1f3d]
View test-afl.js
const r2pipe = require("r2pipe");
r2pipe.open('Downloads/ntdll/ntdll.dll', (err, r2) => {
r2.cmd('aa', (err) => {
r2.cmdj('aflj', (err, res) => {
let total = res.length;
for(let f of res) {
r2.cmdj('pdrj @ ' + f.name, (err, res) => {
if (--total < 1) {
r2.quit();
View Dockerfile
FROM ubuntu
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y wget apt-transport-https
RUN echo deb https://pkg.tox.chat/debian nightly stretch | tee /etc/apt/sources.list.d/tox.list
RUN wget -qO - https://pkg.tox.chat/debian/pkg.gpg.key | apt-key add -
RUN apt-get update
RUN apt-get install -y toxic
View noman
#!/bin/sh
PATH="$(npm bin):$PATH"
for a in readme ansimd ; do
type $a > /dev/null || npm install $a
done
readme "$1" | ansimd /dev/stdin | less -R
View swift-demangler
1) spawning is slow, so spawning for each symbol is killing the process
2) you can quickly detect which symbols are mangled by just checking the first 2 chars of the symbol, this reduces the time A LOT
3) swift-demangle can be used to demangle more than one symbol at the time
4) swift is opensource, there's no need to spawn anything
5) the swift demangling apis are accessible (not in last release, but yes in git)
6) there's a swift reimplemenation of the c++ one, just google for it
7) i wrote my own demangler in C (totally incomplete, but enough for most needs)
8) spawning is a process that can be done in paralel. but that's something only Node developers know (ssssh!)
9) python is slow
10) opening any real application with this script will kill your machine
View gist:f0e26fbfeba327729e2778c9ca08d40a
# ejecutar asi: r2 -qi calls.py /bin/ls
import r2pipe
r2 = r2pipe.open()
r2.cmd('s $S @ entry0') # ir al principio de la seccion de codigo
# direccion minima y maxima de la seccion de codigo
addr = int(r2.cmd('?v $S'), 16)
addr_end = int(r2.cmd('?v $S + $SS'), 16)
View gist:9403b4fb103b1b589387
# Template file for 'swift'
pkgname=swift
version=2.2
revision=1
build_style=cmake
hostmakedepends="cmake pkg-config"
makedepends="ninja cmake icu swig clang python perl"
short_desc=" The Swift Programming Language"
maintainer="pancake <pancake@nopcode.org>"
license="Apache-2.0"
View gist:2cbdddfb0f23f0663357
[pancake@koega radare2]$ rustc -vV
rustc 1.2.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.2.0-dev
[pancake@koega radare2]$ rustc -vV^C
[pancake@koega radare2]$ cargo -vV
cargo 0.4.0 (built 2015-08-17)
View gist:756ca69a44fa38d05448
$ shasum -a 256 *.apk
2dd4654628b87baba7f1be281b5411cf297567554ff65bb5b418317e8c125a05 SystemLockMarket.apk
33b590ba1e064c5f19b536d40ba2719bf34f6884fa397f062e9b9e4ee4d9be0a com.skymobi.pay.opplugin_V2006.apk
ea313d9d30679a2e9deff027ec90ec94f717787f40d79c17cc1d80539a1dce22 exam.fengyan.hunlianceshi-1.apk
f3b21690472edadbbcf1b0a87a25bbf1331e2f4607346e157753146e126bdda2 time1423014301478.apk
a78dc4a49a7421c406f0b4a14cd5fb527073ef2e427fb97ba0716fc7430de293 time1423014301480.apk
b6489c86dec2ba6275021d3cfa5e1c5a350fbcdc58c3ad867e0359e6a9835c0e time1423014301482.apk
e68a6e608bbfb97e9cf48e7e9fbcef077e5ad523ec9f480d55bbd56e864550db time1423014301483.apk
ec34c3fed8b2992e44316cc22826cbae931cf3e268dec324e70053c8346d39a5 time1423014301486.apk
9dbc15095c6194408f66bdaef32ed8f455cb913859403a82b989d251e1a5a670 time1423014301490.apk