132 Commits
Author SHA1 Message Date
Vivek Thampi 56ff6c87c1 Merge pull request #90 from serval2412/master
cppcheck: Expr is always false because 'else if' cond matches previous cond
2014-12-25 17:30:50 +05:30
Vivek Thampi f465c39e41 Merge pull request #74 from frida/feature/modrm-offset
Expose the offset of the modrm byte
2014-12-25 17:08:32 +05:30
Julien Nabet 9ab775e6c5 cppcheck: Expression is always false because 'else if' condition matches previous condition at line 158 2014-11-16 18:24:53 +01:00
Ole André Vadla Ravnås 6d773e5893 Expose the offset of the modrm byte 2014-01-02 14:20:15 +01:00
Vegard Nossum 06c17fa721 Fix standalone compilation
udint.h needs to include types.h in order to get the __UD_STANDALONE__
macro. Otherwise it will think we're in non-standalone mode and fail to
compile in standalone mode.
2013-11-15 15:07:39 +01:00
Vivek Thampi 6e25c668b7 Use integer type for operand sizes
Operand size symbolic constants aren't really enumerations. Use the
preprocessor instead of enum to represent them. (Issue #66)
2013-11-14 03:31:36 -08:00
Vivek Thampi 7a3324ce19 Add a new macro for inline 2013-11-14 03:14:01 -08:00
Vivek Thampi 7e3973412f Simplify standalone header include contract
(Issue #62) In __UD_STANDALONE__ mode, the onus is now on the client to
make sure that the right set of files are included prior to including
udis86.h in their environment. types.h no longer assumes the
availability of header files. I haven't tried this myself in a kernel
build environment, but I'm hoping someone will, and get back with
problems if any.
2013-11-14 03:09:36 -08:00
Sebastian Graf 2b6c0a7819 Made the lib fot for dynamic loading on Windows.
* added dllexport modifiers for MSVC compilation
* included extern.h from within decode.c to expose its symbols
* deleted ud_insn_sext_imm as it isn't referenced anywhere
2013-10-11 15:47:15 +02:00
Vivek Thampi 7aaca52f47 Minor comment update 2013-10-06 12:29:38 -07:00
Falcon Darkstar Momot 8ebd860f39 Add standard defines in case __UD_STANDALONE
Defines are required for uint16_t etc., size_t, and va_list in case of
__UD_STANDALONE on linux.  The stddef.h and stdarg.h defines would
otherwise come from stdio.h were it included.
2013-10-06 12:27:39 -07:00
Kyle Guinn 9896a4eb57 Minor whitespace cleanup in automake files 2013-09-22 12:25:38 -07:00
Vivek Thampi cce390dd61 Minor fix for an uninitialized var 2013-09-22 12:13:05 -07:00
Vivek Thampi e92698532b Minor decode fix from merge 2013-09-02 13:02:13 -07:00
Vivek Thampi 5cd546f902 Cleanup dead code 2013-09-02 12:51:51 -07:00
Vivek Thampi 78fc55554e Merge branch 'master' into avx
Conflicts:
	libudis86/decode.c
2013-09-01 22:21:49 -07:00
Vivek Thampi 06cec0a96c Minor build fix for file removal 2013-09-01 20:47:24 -07:00
Vivek Thampi 59e1b7c144 Add a new build macro: UD_DEBUG
Add a build time macro UD_DEBUG which enables assertions and decode
error logging.
2013-09-01 20:03:34 -07:00
Vivek Thampi 39670d63e5 Cleanup input handling
Cleanup handling of input. Remove caching of input and specialize for
memory buffer inputs. This should speed things up.
2013-09-01 19:53:16 -07:00
Vivek Thampi 8ac54ca710 Remove some obsolete fields 2013-08-31 16:32:08 -07:00
Vivek Thampi 4bb0ba7805 Add new api ud_insn_mnemonic
As noted in Issue #48, the api ud_insn_mnemonic was documented, but
never implemented. This change adds the function, some tests and
updated documentation.
2013-08-31 16:08:26 -07:00
Vivek Thampi 84a37eb0e9 At 100% coverage and all tests passing for avx 2013-07-08 20:05:09 -07:00
Vivek Thampi 88bb68bb46 Add all remaining avx instructions 2013-07-07 01:56:50 -07:00
Vivek Thampi b0c586e22b Add support for ymm sized memory accesses in translations 2013-07-06 12:43:19 -07:00
Vivek Thampi 97ea879879 Add new size types to support avx register sizes 2013-07-06 12:42:44 -07:00