ํ์.
ํ์
์.
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
| #https://github.com/lifting-bits/mcsema/blob/940ccd5357c5a6758203b70e5332b69d662412ff/tools/mcsema_disass/ida7/get_cfg.py#L1507 | |
| if __name__ == "__main__": | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument( | |
| "--log_file", | |
| type=argparse.FileType('w'), | |
| default=sys.stderr, |
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 <stdio.h> | |
| #include <sys/mman.h> | |
| #include <unistd.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| int getMemoryPermission(void*); | |
| void smcInit(void*); | |
| int 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
| section .text | |
| global _start | |
| _start: | |
| mov ah, 0xb8 | |
| mov [_modified], ah | |
| mov ah, 0x01 | |
| mov [_modified+1], ah | |
| mov ah, 0x00 | |
| mov [_modified+2], ah | |
| mov ah, 0x00 |
anvill-decompile-json-9.0 --spec big_mul.json --ir_out big_mul.lltarget datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
target triple = "i386-pc-linux-gnu-elf"
%struct.Memory = type opaque
%struct.State = type { %struct.ArchState, [32 x %union.VectorReg], %struct.ArithFlags, %union.anon, %struct.Segments, %struct.AddressSpace, %struct.GPR, %struct.X87Stack, %struct.MMX, %struct.FPUStatusFlags, %union.anon, %union.FPU, %struct.SegmentCaches }section .data
hello_string db "Hello World!", 0x0d, 0x0a
hello_string_len equ $ - hello_string
section .text
global _start
_start:
mov eax, 4 ; eax <- 4, syscall number (print) But, never execute.specification
- arch
- os
- functions
- name
- address
- parameters
- return_address
- return_values
- LLVM IR ๋ฌธ๋ฒ ์ ๋ฆฌ ๋ณด๊ณ ์ ์์ฑํ๊ธฐ
- LLVM Tutorial ์ ์ฅ์์ Example ์ฑ์ฐ๊ธฐ
- Windows ํ๊ฒฝ์์ ์ํ
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
| /* https://leahayes.wordpress.com/2011/08/28/documenting-javascript-with-jsdoc3/ | |
| Namespaces can still be documented when a more abstract mechanism is used. @lends allows members to be added to an existing namespace: | |
| */ | |
| /** | |
| * Root namespace | |
| * @namespace root | |
| */ | |
| $namespace('root', /** @lends root **/ { | |
| /** |