Commit Graph

4251 Commits

Author SHA1 Message Date
Cyrill Gorcunov
218ba6bc9e test: nasm-t -- Add binexe test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
071e53603f test: nasm-t -- Add bcd test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
f72e459c73 test: nasm-t -- Add avx512f test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
c4e4b4175e test: nasm-t -- Add avx512pf instruction
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
f1b71f6d70 test: nasm-t -- Add avx512err instructions
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
7bd36bcf74 test: nasm-t -- Add avx512cd test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
220879170d test: nasm-t -- Add avx005 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
348feb7eed test: nasm-t -- Add avx test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
df9df3b662 test: nasm-t -- Add aouttest
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
32c25b51c6 test: nasm-t -- Add json template
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
5eb6d35721 test: nasm-t -- Add gotoff64 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
692ec9f8d2 test: nasm-t -- Add aoutso test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
99e866c68d test: nasm-t -- Add mpx test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
1c58168dd5 test: nasm-t -- Add mpx-64 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
76ff7aa4e4 test: nasm-t -- Add movnti test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
2786f85aed test: nasm-t -- Add movd test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
125e2e6b3f test: nasm-t -- Add radix test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
4683da7a93 test: nasm-t -- Add r13 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
e6a3c72c79 test: nasm-t -- Add prefix66 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
3fbd075ffa test: nasm-t -- Add pushseg test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
873c090f89 test: nasm-t -- Update _version test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
41985ad93e test: nasm-t -- Add test67
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
e5ebeac478 test: nasm-t -- Add testnos3 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
943f9ce514 test: nast-t -- Add smartalign test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
5fc8791857 test: nasm-t -- Add vmread test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
498d36038a test: nasm-t -- Add testdos test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
aa08543575 test: nasm-t -- Add uscore test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
1fe16a00ab test: nasm-t -- Add struc test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
4272eb4508 test: nasm-t -- Add sha test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
ad6cb7c01b test: nasm-t -- Add sha-64 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
7642fefb14 test: nasm-t -- Add xchg test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
daff45cf3c test: nasm-t -- Add xcrypt test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
502556c63d test: nasm-t -- Sort tests by name
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
149231f665 test: nasm-t -- Add zerobyte test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
0060e40246 test: nasm-t -- Add andbyte test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
2a34d0287e test: nasm-t -- Add align13s test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
750bc50aa8 test: nasm-t -- Write text data in utf8 form
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00
Cyrill Gorcunov
b4e3f11931 output: obj -- Fix nil dereference if no deps needed
Occasionally sneaked in by f7106d06e4

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:42:40 +03:00
H. Peter Anvin (Intel)
9a1216a1ef NASM 2.14 2018-11-07 13:43:01 -08:00
H. Peter Anvin (Intel)
522d15c407 nasmdoc.src: fix compound word 2018-11-07 12:54:23 -08:00
Chang S. Bae
4310eb9d42 doc: Add a description for a useful case of mangling symbols
Signed-off-by: Chang S. Bae <changseok.bae@gmail.com>
2018-10-30 10:11:08 +03:00
Cyrill Gorcunov
4b5b737d49 preproc: Don't access out of bound data on malformed input
There are a number of places still where we test text
data which is potentially may be an empty string. This
is known to happen on fuzzer input but usually doesn't
take place in regular valid programs. Surely we need
to revisit preprocessor code for this kind of errors.

https://bugzilla.nasm.us/show_bug.cgi?id=3392525

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-10-29 22:54:34 +03:00
Cyrill Gorcunov
b756372b06 rdstrnum: Make sure we dont shift out of bound
Otherwise we may hit underfined behavior.

https://bugzilla.nasm.us/show_bug.cgi?id=3392526

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-10-29 22:25:16 +03:00
Cyrill Gorcunov
bfa1ed0ae9 test: nasm-t -- Add UTF testcase
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-10-28 23:51:45 +03:00
Cyrill Gorcunov
fa13a138ea stabs: Convert style and add comments
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-10-28 23:51:38 +03:00
Cyrill Gorcunov
f856a97707 elf: Convert header to linux style
No functional changes.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-10-28 23:51:31 +03:00
Cyrill Gorcunov
7a6e2550fc misc: Nindent -- Drop expand tabs with space option
Currently out code is rather a mix of space/tabs
with sometime different indent level. Mostly because
some of developers are came from kernel space. Lets
shift to kernel coding standart with small steps,
file by file. It really helps when you're sitting
in front of laptop more than 10 hours long.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-10-28 23:51:25 +03:00
Cyrill Gorcunov
29a8299487 dwarf: Update header and drop redundant space
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-10-28 23:51:18 +03:00
Cyrill Gorcunov
218971e5ac dwarf: Update definitions for v4 and v5
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-10-28 23:51:10 +03:00
Cyrill Gorcunov
41f9ce464a .gitignore: Add patches directory
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-10-28 23:51:03 +03:00