mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-02-05 05:13:36 +00:00
is no reason not to keep it locally. Implemented a basic disassembler which can be used to scan bytecode for interesting conditions. This should be pretty easy to add to for things other than exploitability if there is a desire. This also adds several tests to the windows exploitability ranking code to take advantage of the disassembler for x86 code. BUG=None TEST=DisassemblerX86Test.* Review URL: http://breakpad.appspot.com/203001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@705 4c0a9323-5329-0410-9bdc-e9ce6186880e
14 lines
304 B
C
14 lines
304 B
C
#ifndef IA32_MODRM_H
|
|
#define IA32_MODRM_H
|
|
|
|
#include "libdis.h"
|
|
#include "ia32_insn.h"
|
|
|
|
size_t ia32_modrm_decode( unsigned char *buf, unsigned int buf_len,
|
|
x86_op_t *op, x86_insn_t *insn,
|
|
size_t gen_regs );
|
|
|
|
void ia32_reg_decode( unsigned char byte, x86_op_t *op, size_t gen_regs );
|
|
|
|
#endif
|