This file contains 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
richo@hostname:~$ curl -v r.psych0.tk/enhooken > /tmp/enhooken | |
* About to connect() to r.psych0.tk port 80 (#0) | |
* Trying 192.30.252.153... % Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0connected | |
> GET /enhooken HTTP/1.1 | |
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 | |
> Host: r.psych0.tk | |
> Accept: */* | |
> |
This file contains 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
#![feature(exit_status)] | |
#![feature(rustc_private)] | |
extern crate syntax; | |
extern crate rustc_back; | |
use rustc_back::svh::Svh; | |
use syntax::{parse,ast,diagnostic}; | |
use std::path; | |
use std::io; |
This file contains 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
package main | |
import ( | |
"crypto/rand" | |
"fmt" | |
"log" | |
"math/big" | |
"os" | |
) |
This file contains 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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
) | |
func main() { | |
fmt.Println(rand.Int()) | |
} |
This file contains 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
use std::io::Read; | |
enum Direction { | |
North, | |
South, | |
East, | |
West, | |
} | |
impl Direction { |
This file contains 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
int X509_verify_cert(X509_STORE_CTX *ctx) | |
{ | |
X509 *x,*xtmp,*chain_ss=NULL; | |
int bad_chain = 0; | |
X509_VERIFY_PARAM *param = ctx->param; | |
int depth,i,ok=0; | |
int num; | |
int (*cb)(int xok,X509_STORE_CTX *xctx); | |
STACK_OF(X509) *sktmp=NULL; | |
if (ctx->cert == NULL) |
This file contains 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
int X509_verify_cert(X509_STORE_CTX *ctx) | |
{ | |
X509 *x,*xtmp,*chain_ss=NULL; | |
int bad_chain = 0; | |
X509_VERIFY_PARAM *param = ctx->param; | |
int depth,i,ok=0; | |
int num; | |
int (*cb)(int xok,X509_STORE_CTX *xctx); | |
STACK_OF(X509) *sktmp=NULL; | |
if (ctx->cert == NULL) |
This file contains 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
pub opaque type Foo = usize; | |
pub fn frob(f: Foo) -> usize { | |
f as usize | |
} |
This file contains 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
#!/usr/bin/env ruby | |
def add1(a) | |
a + 1 | |
end | |
puts RubyVM::InstructionSequence.disasm(method(:add1)) |
This file has been truncated, but you can view the full file.
This file contains 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
; ModuleID = 'x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/core-7e44814b.0.no-opt.bc' | |
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a:0:64-s0:64:64-f80:128:128-n8:16:32:64" | |
target triple = "x86_64-apple-darwin" | |
%str_slice = type { i8*, i64 } | |
%"marker::PhantomData<&'static u32>" = type {} | |
%closure.0 = type {} | |
%"marker::PhantomData<&'static mut u32>" = type {} | |
%closure.4 = type {} | |
%"fmt::Formatter" = type { i32, i32, i8, %"option::Option<usize>", %"option::Option<usize>", { i8*, void (i8*)** }, %"slice::Iter<fmt::ArgumentV1>", { %"fmt::ArgumentV1"*, i64 } } |