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
; To build and execute this program on Linux, you can use: | |
; nasm -f elf32 hello.S -o hello.o | |
; ld -m elf_i386 hello.o -o hello | |
section .data | |
hello db 'Hello, World.', 0 | |
section .text | |
global _main | |
_main: |
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
#include <iostream> | |
#include <fstream> | |
#include <malloc.h> | |
#include <cassert> | |
int main() { | |
std::ofstream output{ "results-release.csv" }; | |
uint64_t max_alloc_request_size = 16*1024; | |
uint64_t alloc_request_size = 0; | |
for (; alloc_request_size < max_alloc_request_size; alloc_request_size++) { |
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 arm_and_handler; | |
use arm_and_handler::arm; | |
use arm_and_handler::arm_and_handler; | |
use arm_and_handler::handle; | |
struct T { | |
i: usize, | |
} |