This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 <[email protected]>" | |
license="Apache-2.0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p_format.c: In function ‘r_print_format_register’: | |
p_format.c:895:63: warning: passing argument 2 of ‘p->get_register_value’ discards ‘const’ qualifier from pointer target type | |
if (!SEEVALUE) p->printf("%s : 0x%08"PFMT64x"\n", ri->name, p->get_register_value (p->reg, ri)); | |
^ | |
p_format.c:895:63: note: expected ‘struct RRegItem *’ but argument is of type ‘const struct RRegItem *’ | |
p_format.c:896:38: warning: passing argument 2 of ‘p->get_register_value’ discards ‘const’ qualifier from pointer target type | |
else p->printf("0x%08"PFMT64x"\n", p->get_register_value (p->reg, ri)); | |
^ | |
p_format.c:896:38: note: expected ‘struct RRegItem *’ but argument is of type ‘const struct RRegItem *’ | |
p_format.c:898:21: warning: passing argument 2 of ‘p->get_register_value’ discards ‘const’ qualifier from pointer target type |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pair:scc pancake$ make | |
scc build options: | |
CFLAGS = -std=c99 | |
LDFLAGS = -s | |
CC = cc | |
cc -c -o die.o die.c | |
cc -c -o xcalloc.o xcalloc.c | |
cc -c -o xmalloc.o xmalloc.c | |
cc -c -o xrealloc.o xrealloc.c | |
cc -c -o xstrdup.o xstrdup.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ du -hs *.pdf | |
288K bs3c2k9.pdf | |
356K bs3c-nibble.pdf | |
780K condret-r2talk.pdf | |
264K lacon2k10-nibble.pdf | |
268K lacon2k10-pancake.pdf | |
1.8M lacon2k11.pdf | |
264K lacon-radare-2008.pdf | |
476K map-r1.pdf | |
256K map-r2.pdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this file is included when compiling src/bin/*.rs or tests | |
// maybe we shouldn't define 'main' here | |
extern crate radeco; | |
use std::env; | |
use radeco::frontend::esil; | |
fn parse_verbose<'a> (p: &mut esil::Parser, expression: &'a String) { | |
let expstr = expression.as_str(); | |
println!("< {}", expression); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* sdb-nan.js - [email protected] // 2015 */ | |
#include <nan.h> | |
#include <sdb.h> | |
using namespace v8; | |
class Database : public node::ObjectWrap { | |
public: | |
// static void Init(Handle<Object> exports); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate libc; | |
use libc::{ c_void }; | |
use std::env; | |
fn atoi(k: &str) -> i32 { | |
match k.parse::<i32>() { | |
Ok(val) => val, | |
Err(_) => 0 | |
} |