Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CombNaf3.pdf

sksat
March 25, 2018

 CombNaf3.pdf

sksat

March 25, 2018
Tweet

More Decks by sksat

Other Decks in Programming

Transcript

  1. プログラムに落とすと メモリ std::vector<uint8_t> memory; レジスタ uint32_t eax, ecx, edx, ebx,

    esp, ebp, edi; 実行環境はできた →メモリにプログラムを置く →実行!
  2. まとめると void ExecOpcode(Memory& memory, uint32_t& eip){ uint8_t prefix, opcode, modrm,

    sib; uint32_t disp32, imm32; prefix = memory[eip]; eip++; opcode = memory[eip]; eip++; ... }