Skip to content

Instantly share code, notes, and snippets.

View ishitatsuyuki's full-sized avatar

Tatsuyuki Ishi ishitatsuyuki

View GitHub Profile
0008c918 00000054 0008c91c FDE cie=00000000 pc=016024e0...016045d0
Format: DWARF32
DW_CFA_advance_loc: 5 to 0x16024e5
DW_CFA_def_cfa: R10 +0
DW_CFA_advance_loc: 12 to 0x16024f1
DW_CFA_expression: RBP DW_OP_breg6 RBP+0
DW_CFA_advance_loc: 4 to 0x16024f5
DW_CFA_expression: R15 DW_OP_breg6 RBP-8
DW_CFA_expression: R14 DW_OP_breg6 RBP-16
DW_CFA_advance_loc: 16 to 0x1602505
use itertools::Itertools;
use std::io;
#[derive(Debug, Default)]
struct VM {
pc: usize,
opcode: i32,
mem: Vec<i32>,
input_state: usize,
phase: i32,
# Sample TOML configuration file for building Rust.
#
# To configure rustbuild, copy this file to the directory from which you will be
# running the build, and name it config.toml.
#
# All options are commented out by default in this file, and they're commented
# out with their default values. The build system by default looks for
# `config.toml` in the current directory of a build for build configuration, but
# a custom configuration file can also be specified with `--config` to the build
# system.