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 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
NOTE: bits are from least to most significant, 'X' means the value could not be defined as a single bit. | |
name DEC: | |
bits 01100011 | |
bits 01110011 | |
bits 01101011 | |
bits 01111011 | |
name INC: | |
bits 01100111 | |
bits 01110111 | |
bits 01101111 |
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 struct Architecture { | |
pub name: String, | |
} | |
#[derive(Clone, Copy)] | |
pub struct RegisterInfo; | |
#[derive(Clone, Copy, Hash, PartialEq, Eq)] | |
pub struct Register; | |
#[derive(Clone, Copy)] | |
pub struct RegisterStackInfo; |
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
// 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__( |
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::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; |
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::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; |
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 deku::prelude::*; | |
#[derive(Debug, PartialEq, DekuRead)] | |
struct DekuStruct { | |
field_a: u8, | |
field_b: u16, | |
field_c: DekuEnum, | |
} | |
#[derive(Debug, PartialEq, DekuRead)] | |
#[deku(type = "u8")] |
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::any::Any; | |
use std::collections::HashMap; | |
use std::rc::Rc; | |
struct Foo { | |
id: u8, | |
name: String, | |
value: u128, | |
} |
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
# 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') |
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
#!/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 |
NewerOlder