aboutsummaryrefslogtreecommitdiff
path: root/src/third_party/libdisasm/Makefile.am
diff options
context:
space:
mode:
authorcdn@chromium.org <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-10-01 22:38:10 +0000
committercdn@chromium.org <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-10-01 22:38:10 +0000
commit2b4274afc4fae883d1251a7a420e24fd526a9f16 (patch)
treed9cafcfb8d68b4c005f5cb80c15e3286c291b067 /src/third_party/libdisasm/Makefile.am
parentAdd stack-scanning fallback to Stackwalker{AMD64,ARM}. (diff)
downloadbreakpad-2b4274afc4fae883d1251a7a420e24fd526a9f16.tar.xz
Added libdisasm to the repository. This library is no longer under development so there
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
Diffstat (limited to 'src/third_party/libdisasm/Makefile.am')
-rw-r--r--src/third_party/libdisasm/Makefile.am43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/third_party/libdisasm/Makefile.am b/src/third_party/libdisasm/Makefile.am
new file mode 100644
index 00000000..bd3129e1
--- /dev/null
+++ b/src/third_party/libdisasm/Makefile.am
@@ -0,0 +1,43 @@
+include_HEADERS = libdis.h
+lib_LTLIBRARIES = libdisasm.la
+libdisasm_la_SOURCES = \
+ ia32_implicit.c \
+ ia32_implicit.h \
+ ia32_insn.c \
+ ia32_insn.h \
+ ia32_invariant.c \
+ ia32_invariant.h \
+ ia32_modrm.c \
+ ia32_modrm.h \
+ ia32_opcode_tables.c \
+ ia32_opcode_tables.h \
+ ia32_operand.c \
+ ia32_operand.h \
+ ia32_reg.c \
+ ia32_reg.h \
+ ia32_settings.c \
+ ia32_settings.h \
+ libdis.h \
+ qword.h \
+ x86_disasm.c \
+ x86_format.c \
+ x86_imm.c \
+ x86_imm.h \
+ x86_insn.c \
+ x86_misc.c \
+ x86_operand_list.c \
+ x86_operand_list.h
+
+# Cheat to get non-autoconf swig into tarball,
+# even if it doesn't build by default.
+EXTRA_DIST = \
+swig/Makefile \
+swig/libdisasm.i \
+swig/libdisasm_oop.i \
+swig/python/Makefile-swig \
+swig/perl/Makefile-swig \
+swig/perl/Makefile.PL \
+swig/ruby/Makefile-swig \
+swig/ruby/extconf.rb \
+swig/tcl/Makefile-swig \
+swig/README