Nguyen Anh Quynh
2e51d06f3e
update README.md with NodeJS binding
2016-05-13 10:50:35 +08:00
Nguyen Anh Quynh
3010d0c366
regress: separate ATT & Intel testcases for x86_jmp0.py
2016-05-12 16:58:38 +08:00
Nguyen Anh Quynh
2f6f11769c
propagate directive value error to ks_asm()
2016-05-12 16:33:16 +08:00
Nguyen Anh Quynh
9f1978562c
Merge pull request #44 from iksteen/regress-x86-label-addr
...
This checks whether the addr passed to ks.asm() is used.
2016-05-11 21:34:00 +08:00
Ingmar Steen
8470578017
This checks whether the addr passed to ks.asm() is used.
2016-05-11 07:13:39 +02:00
Nguyen Anh Quynh
9375d34edd
update bindings/README
2016-05-11 12:08:04 +08:00
Nguyen Anh Quynh
eb10c9abdd
more error string for ks_strerror()
2016-05-11 12:04:38 +08:00
Nguyen Anh Quynh
19fb1e4fc1
add llvm/keystone/LICENSE
2016-05-11 11:52:20 +08:00
Nguyen Anh Quynh
48d30fa01c
do not use strcasecmp() but StringRef.lower() for string comparison
2016-05-11 01:13:19 +08:00
Nguyen Anh Quynh
e3f7fa6f55
update CREDITS.TXT & bindings/README for NodeJS binding
2016-05-11 00:59:30 +08:00
Nguyen Anh Quynh
f35eaa04b8
Merge branch 'nodejs-bindings' of https://github.com/iksteen/beta into iksteen-nodejs-bindings
2016-05-11 00:41:57 +08:00
Nguyen Anh Quynh
104a77b957
MSVC does not use strcasecmp(), but _stricmp()
2016-05-11 00:39:24 +08:00
Ingmar Steen
10c33249a1
Rebuild JS constants when running make in bindings/
2016-05-10 18:38:06 +02:00
Ingmar Steen
32c13df6f5
Add nodejs bindings
2016-05-10 18:31:35 +02:00
Nguyen Anh Quynh
6b8d09e47f
regress: testcase for NASM directive [bits 16/32/64]
2016-05-11 00:18:40 +08:00
Nguyen Anh Quynh
71a91a06b5
regress: print out testcases in regress.py
2016-05-11 00:18:14 +08:00
Nguyen Anh Quynh
67bfda8206
Merge branch 'master' of https://github.com/keystone-engine/beta
2016-05-11 00:01:22 +08:00
Nguyen Anh Quynh
19324f44ea
x86: NASM syntax now supports '[bits 16/32/64]' directive
2016-05-10 23:59:40 +08:00
Nguyen Anh Quynh
8ce0261aef
Merge branch 'master' of https://github.com/keystone-engine/beta
2016-05-10 22:40:46 +08:00
Nguyen Anh Quynh
c397743279
update CREDITS.TXT
2016-05-10 22:34:06 +08:00
Nguyen Anh Quynh
aa5cae37d8
Merge pull request #40 from iksteen/nasm-rel-abs-expression
...
Add support for nasm rel/abs keywords in bracket expressions.
2016-05-10 20:25:06 +08:00
Ingmar Steen
20d64ceb9a
Add support for nasm rel/abs keywords in bracket expressions.
...
The usual nasm rules apply: abs overrides rel no matter how often or where you
specify rel, rel is silently ignored when a base register or shift register is
specified.
2016-05-10 14:21:27 +02:00
Nguyen Anh Quynh
31f163787f
regress: add directives 'db', 'dw' to x86_nasm_directive.py
2016-05-10 16:24:49 +08:00
Nguyen Anh Quynh
417abf3202
update CREDITS.TXT
2016-05-10 16:19:02 +08:00
Nguyen Anh Quynh
c55058f5e2
Merge pull request #39 from iksteen/disable-relocation-addend
...
Disable relocation addend for all targets.
2016-05-10 10:39:58 +08:00
Ingmar Steen
ba81685d97
Disable relocation addend for all targets.
...
Since Keystone will not be generating actual ELF files, relocation
addends prevent symbol addresses from being inlined in the output.
2016-05-09 21:59:08 +02:00
Nguyen Anh Quynh
07a2995009
Merge branch 'master' of https://github.com/keystone-engine/beta
2016-05-10 00:50:38 +08:00
Nguyen Anh Quynh
30c89a257c
regress: add x86_nasm_directives.py for 'bits' directive for NASM syntax
2016-05-10 00:50:29 +08:00
Nguyen Anh Quynh
836ccd948a
x86: support 'bits 16/32/64' directive for NASM syntax
2016-05-10 00:49:08 +08:00
Nguyen Anh Quynh
cac15f9ae8
Merge pull request #38 from iksteen/refactor-x64-label-tests
...
Split x64_rip_rel_abs.py into 3 separate unit tests.
2016-05-09 17:21:39 +08:00
Ingmar Steen
e2a1fcd4eb
Split x64_rip_rel_abs.py into 3 separate unit tests.
...
- x64_lea_label.py tests label addressing on x64 using all syntaxes (this
demonstrates the incorrect addressing of labels on x64).
- x64_lea_label_rel.py tests rip relative label addressing on x64 using all
available syntaxes (this demonstrates nasm syntax not being parsed).
- x64_lea_label_nasm_abs.py tests explicit absolute addressing on x64
using nasm syntax (no equivalent exists in other syntaxes afaik).
2016-05-09 10:38:56 +02:00
Nguyen Anh Quynh
47d586b208
arm: fix relative address for BL & BLX instructions (issue #36 )
2016-05-09 14:59:03 +08:00
Nguyen Anh Quynh
4f40550ec8
regress: chmod +x arm_blx_rel_thumb.py
2016-05-09 14:48:40 +08:00
Nguyen Anh Quynh
2862c965af
Merge branch 'master' of https://github.com/edgarmb/beta into edgarmb-master
2016-05-09 14:47:57 +08:00
Nguyen Anh Quynh
4b73b295e8
regress: put 'b' in front of assembly string for Python3 support
2016-05-09 14:43:31 +08:00
Edgar
d82bb68ad6
regress: relative blx thumb-mode instruction
2016-05-09 14:31:34 +08:00
Nguyen Anh Quynh
a99e4eccc3
Merge pull request #35 from iksteen/regress-x86-nasm-rel-abs
...
Add tests for rip-rel/abs resolution with AT&T/Intel syntax.
2016-05-08 05:45:59 +08:00
Ingmar Steen
a6830d124a
Add tests for RIP rel/abs with AT&T/Intel syntax.
...
Also adds x86 tests that check the same absolute addressing.
2016-05-07 23:42:36 +02:00
Nguyen Anh Quynh
d1cb02dc4c
regress: chmod +x x86_nasm_rel_abs.py
2016-05-08 04:44:32 +08:00
Nguyen Anh Quynh
ebce74fb92
Merge pull request #33 from iksteen/regress-x86-nasm-rel-abs
...
Add tests for nasm rel/abs addressing
2016-05-08 04:43:06 +08:00
Ingmar Steen
66ab7b95da
Add tests for nasm rel/abs addressing
2016-05-07 22:35:48 +02:00
Nguyen Anh Quynh
5e0ad0cde7
x86: allow comment at end of file
2016-05-07 23:34:21 +08:00
Nguyen Anh Quynh
1a44492c19
regress: correct a comment in x86_nasm.py
2016-05-07 21:47:02 +08:00
Nguyen Anh Quynh
906d935011
x86: better handling NASM directives in parser
2016-05-07 21:28:58 +08:00
Nguyen Anh Quynh
70c60d46fa
Merge branch 'master' of https://github.com/keystone-engine/beta
2016-05-07 21:21:22 +08:00
Nguyen Anh Quynh
27b03a29ad
x86: ';' is now considered comment until EOL
2016-05-07 21:21:14 +08:00
Nguyen Anh Quynh
45e9014f34
x86: a quick dirty fix to handle dw/dd/dq directive. better fix is needed
2016-05-07 18:59:01 +08:00
Nguyen Anh Quynh
68e3ed8802
x86: support for NASM directive in db/dw/dd/dq
2016-05-07 17:53:29 +08:00
Nguyen Anh Quynh
93fc90afcb
Merge branch 'master' of https://github.com/keystone-engine/beta
2016-05-06 21:35:09 +08:00
Nguyen Anh Quynh
2285c69c71
move kstool/test-all.sh to suite/
2016-05-06 21:34:52 +08:00