vicis 0.1.0

Manipulate LLVM-IR in Pure Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  .text
  .intel_syntax noprefix
.str:
  .string "hello world\00"
  .globl main
main:
.LBL0:
  push rbp
  mov rbp, rsp
  sub rsp, 16
  mov dword ptr [rbp-4], 0
  mov rax, offset .str
  mov rdi, rax
  call puts
  mov eax, 0
  add rsp, 16
  pop rbp
  ret