I hereby claim:
- I am rbran on github.
- I am rbran (https://keybase.io/rbran) on keybase.
- I have a public key ASA38TR1IBL3NpGfEZMGg0LyQ3MUpTpp9WF1VJHb5cj2Swo
To claim this, I am signing this object:
use std::env; | |
use std::io; | |
use std::option::Option; | |
struct StructTest { | |
any_value: i32 | |
} | |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Copyright (c) 2015 by Roderick W. Smith | |
# Licensed under the terms of the GPL v3 | |
NAME=$(cat /etc/hostname) | |
if [ -z "$NAME" ]; then | |
echo -n "Enter a Common Name to embed in the keys: " | |
read NAME |
# Maintainer: George Rawlinson <[email protected]> | |
# Modified: Rubens Brandao <[email protected]> | |
pkgname=lapce | |
pkgver=0.0.4 | |
pkgrel=1 | |
pkgdesc="Lightning-fast and Powerful Code Editor" | |
arch=('x86_64') | |
url="https://github.com/lapce/lapce" | |
license=('Apache') | |
depends=('gcc-libs' 'libxcb' 'expat' 'freetype2' 'libxkbcommon') |
use std::any::Any; | |
use std::collections::HashMap; | |
use std::rc::Rc; | |
struct Foo { | |
id: u8, | |
name: String, | |
value: u128, | |
} |
use deku::prelude::*; | |
#[derive(Debug, PartialEq, DekuRead)] | |
struct DekuStruct { | |
field_a: u8, | |
field_b: u16, | |
field_c: DekuEnum, | |
} | |
#[derive(Debug, PartialEq, DekuRead)] | |
#[deku(type = "u8")] |
use std::borrow::{Borrow, Cow}; | |
/// A trait for things that can speak. | |
trait Speaker { | |
fn speak(&self); | |
} | |
/// BasicSpeaker is an empty struct that exists only to implement Speaker. | |
#[derive(Clone)] | |
struct BasicSpeaker; |
use std::borrow::Cow; | |
/// A trait for things that can speak. | |
trait Speaker { | |
fn speak(&self); | |
} | |
/// BasicSpeaker is an empty struct that exists only to implement Speaker. | |
#[derive(Clone)] | |
struct BasicSpeaker; |
id | location | context | pattern |
---|---|---|---|
355 | ia.sinc:1558:1 | ________________________________!_______________________!!_____! |
!!!!!!!!________________________________________________________ |
356 | ia.sinc:1559:1 | ________________________________!_________________________!!___! |
!!!!!!!!________________________________________________________ |
370 | ia.sinc:1634:1 | ________________________________!__________!!____!!!___________! |
!!!!!!!!______!!!!______________________________________________ |
371 | ia.sinc:1636:1 | ________________________________!__________!!____!!!___________! |
!!!!!!!!______!!!!______________________________________________ |
372 | ia.sinc:1638:1 | ________________________________!__________!!____!!!___________! |
!!!!!!!!______!!!!______________________________________________ |
373 | ia.sinc:1640:1 | ________________________________!__________!!____!!!___________! |
`!!!!!!!!______!!!! |
// This code demonstrate how to break a simple disassembler. | |
// you may need to build with "-no-pie" | |
// gcc -o get_key get_key.c -no-pie | |
#include <stdio.h> | |
const char reveal_key[] = "The key is '%x'\n"; | |
int get_key(int argc) { | |
int key = 0; | |
__asm__( |