Nguyen Anh Quynh
0d394aa374
Makefile: x86 depends on X86ImmSize.inc
2015-11-06 10:34:27 +08:00
Nicolas PLANEL
f01e0c93f9
[M68K] remove reference to M68KConf.h file
...
M68KConf.h as been removed, cleanup all reference to it.
Signed-off-by: Nicolas PLANEL <nplanel@gmail.com>
2015-10-10 19:37:35 +11:00
Nguyen Anh Quynh
8deb6d9eed
m68k: rename M68Kconf.h to M68KConf.h for consistency
2015-10-04 21:59:03 +08:00
Nguyen Anh Quynh
7d5badd641
m68k: more cleanup & fix code style
2015-10-04 21:45:50 +08:00
Daniel Collin
2ee675c10a
This adds M68K support to Capstone
2015-10-02 20:47:00 +02:00
Kamil Rytarowski
b08f4614c5
Allow to build capstone in pkgsrc for FreeBSD and DragonflyBSD
2015-07-27 10:33:15 +08:00
Nguyen Anh Quynh
f0677abb8f
pkg-config can be unavailable, leading to empty PKGCFGDIR, thus 'mkdir -p' fails. fixed by checking if PKGCFGDIR is empty
2015-05-21 15:09:09 +08:00
Ole André Vadla Ravnås
495a4f5df9
Improve the pkgconfig generation logic
...
The destination directory may not exist, so we need to mkdir just
in case.
2015-04-23 17:55:06 +02:00
reverser
160e198584
Add support to embed Capstone 3.x branch into OS X kernel extensions.
2015-04-09 18:28:19 +01:00
Nguyen Anh Quynh
29f777bdd9
arm: support cs_regs_access() API
2015-04-07 11:59:26 +08:00
Nguyen Anh Quynh
19ba71a6ae
Makefile: add X86MappingInsnOp_reduce.inc to DEP_X86
2015-03-25 15:22:12 +08:00
Nguyen Anh Quynh
efffe787d1
Add new API and start to provide access information for instruction operands
...
- New API cs_regs_access() that provide registers being read & modified by instruction
- New field cs_x86_op.access provides access info (READ, WRITE) for each operand
- New field cs_x86.eflags provides EFLAGS affected by instruction
- Extend cs_detail.{regs_read, regs_write} from uint8_t to uint16_t type
2015-03-25 15:02:13 +08:00
Nguyen Anh Quynh
367d438d6a
Merge branch 'makesh' of https://github.com/radare/capstone into test3
2015-03-03 11:36:29 +08:00
Nguyen Anh Quynh
96ee76fa2a
Merge branch 'next' of https://github.com/radare/capstone into test2
2015-02-28 08:29:21 +08:00
pancake
63414a490e
Rewrite make.sh to make it shorter, faster and more portable
...
- Remove bashisms (use posix shell)
- Use only two space indentation (no mixed tabs)
- Honor $0 and autogenerate help message
- Correct use of exported and local vars
- Simplify spaguetti (-30LOC)
- Update copyright year
- Quote all vars to avoid command injection
- Cache uname value and allow to override it
- Honor user environment
- Support MAKE_JOBS (by default is 4)
2015-02-27 17:57:53 +01:00
Hilko Bengen
e0352d69d8
Limit exported symbols
...
Make sure that only symbols that are part of the API are exported by
the library -- similar to __declspec(dllexport) for the MSVC
compiler
2015-02-27 15:52:55 +08:00
pancake
9c10ace558
Make pkg-config and source consistent with installation
2015-02-24 05:03:04 +01:00
Nguyen Anh Quynh
794a706b3e
Makefile: rename BUILD_CORE_ONLY to CAPSTONE_BUILD_CORE_ONLY for consistency
2015-01-30 09:07:51 +08:00
Nguyen Anh Quynh
8aa6fce278
Revert "Makefile: avoid generating capstone.pc if BUILD_CORE_ONLY=yes"
...
This reverts commit 35d4e449e1
.
2015-01-28 05:21:18 +08:00
Nguyen Anh Quynh
35d4e449e1
Makefile: avoid generating capstone.pc if BUILD_CORE_ONLY=yes
2015-01-28 04:54:31 +08:00
Nguyen Anh Quynh
c00bc358b1
fix BUILD_CORE_ONLY option of Makefile, so we can do 'BUILD_CORE_ONLY=yes make.sh'
2015-01-28 04:42:34 +08:00
Nguyen Tan Cong
39fd154139
Edit setup.py to build python binding with make.sh
2015-01-28 00:35:44 +07:00
Nguyen Anh Quynh
b16dc856a8
Makefile: check target should also run test_iter
2014-11-02 08:21:34 +08:00
Nguyen Anh Quynh
fff1307980
Makefile: simplify generate-pkgcfg by using INCDIR. reviewed by Pancake
2014-10-02 16:14:26 +08:00
Nguyen Anh Quynh
e702b55507
Makefile: do not remove old libs in install 'target'
2014-10-02 16:01:00 +08:00
Nguyen Anh Quynh
984d45068c
Makefile: add 'check' target
2014-10-01 16:42:29 +08:00
baguette
86e845056d
renamed CAPSTONE_NO_ATT to CAPSTONE_X86_ATT_DISABLE, added options to makefile, cmake, compile.txt
2014-08-17 20:59:05 +02:00
Ole André Vadla Ravnås
b202b914f9
Simplify universal builds by relying on the linker to do the right thing
2014-07-04 23:38:20 +02:00
Ole André Vadla Ravnås
6583f069a7
Fix universal build support for Mac and iOS
2014-07-04 23:09:19 +02:00
Nguyen Anh Quynh
8c0ab867a1
rename CCLD to LINK
2014-06-03 23:43:53 +07:00
Nguyen Anh Quynh
0936b56c54
rename libcapstone.dll to capstone.dll, libcapstone.lib to capstone.lib for Windows platform
2014-06-04 00:26:33 +08:00
Nguyen Anh Quynh
c80d840ffc
add XCore architecture
2014-05-26 23:02:48 +08:00
Nguyen Anh Quynh
f260c2023e
fix some conflicts when merging msvc2 into next
2014-05-19 11:32:55 +08:00
danghvu
e1c7a21cae
Avoid modifying the raw LDFLAGS directly
2014-05-14 02:13:36 -05:00
Nguyen Anh Quynh
7cc5e9b8f0
Makefile: clean target should delete libs created by all ways of building
2014-05-14 15:07:16 +08:00
Nguyen Anh Quynh
76087d2c33
rename static library extension to .lib for cross-windows building
2014-05-14 14:53:51 +08:00
Nguyen Anh Quynh
506890863c
x86: assembly syntax is irrelevant in Diet mode. this optimization reduces library size to only 180KB on OSX
2014-05-14 12:26:53 +08:00
danghvu
ad66420061
Switch to cd && make from make -C
2014-05-12 14:27:38 -05:00
Nguyen Anh Quynh
91a19232a2
Makefile: do not overwritte LDFLAGS with null value
2014-05-11 01:13:36 +08:00
Nguyen Anh Quynh
55b8ecd7bd
Makefile: do not overwritte LDFLAGS with null value
2014-05-11 01:04:05 +08:00
Nguyen Anh Quynh
b07523ff26
Merge branch 'next' into msvc2
2014-05-10 19:46:37 +08:00
Nguyen Anh Quynh
87a3f6915d
Makefile: define CAPSTONE_USE_SYS_DYN_MEM macro for consistency
2014-05-10 19:26:32 +08:00
Nguyen Anh Quynh
595386c668
do not overwrite LDFLAGS in tests/Makefile
2014-05-10 15:50:38 +08:00
Nguyen Anh Quynh
58a0047d43
Makefile: put common functions into functions.mk
2014-05-01 22:53:52 +08:00
Ole André Vadla Ravnås
927fcbcf88
Makefile: make it possible to avoid building static/shared library
2014-05-01 16:06:11 +02:00
Ole André Vadla Ravnås
f536d4014b
Makefile: implement a "silent rules" approach
...
The old behavior is still available through `make V=1`. This is similar
to the Linux kernel and newer versions of automake.
2014-05-01 16:06:03 +02:00
Ole André Vadla Ravnås
c20b049d04
Makefile: detect Apple toolchain instead of relying on uname
...
This allows cross-compiling for Android on a Mac.
2014-05-01 16:05:58 +02:00
Ole André Vadla Ravnås
24094ee7e9
Makefile: fix install target when building out-of-tree
2014-05-01 16:05:53 +02:00
Nguyen Anh Quynh
375f03c230
Makefile: build tests in the old way if BUILDDIR is not defined. this fixes a bug introduced by some recent changes by Ole André Vadla Ravnås
2014-04-30 07:19:18 +08:00
Ole André Vadla Ravnås
7a7343945d
Makefile: allow BUILDDIR
to be a relative path
2014-04-30 00:06:41 +02:00