Commit Graph

727 Commits

Author SHA1 Message Date
b911c946f2 Import a basic instruction set for Ethereum 2018-09-10 04:07:34 +02:00
60360d1418 Code cleanup 2018-09-10 04:07:34 +02:00
d8cae4caa0 Support the "eth" architecture in the static binaries 2018-09-10 04:07:34 +02:00
f1ca56e332 Initial import for the "eth" architecture 2018-09-10 04:07:34 +02:00
13acc31cf6 Fix encoding operands on x86 2018-09-10 04:07:24 +02:00
e46cec7ae6 Update calls to match the instruction definition 2018-09-10 03:16:50 +02:00
933dd5ea89 Clarify a few error messages 2018-09-10 02:09:46 +02:00
862be04125 Define ARO_COUNT for the amount of operands supported 2018-09-09 20:37:54 +02:00
936db21b44 Code cleanup 2018-09-09 20:37:34 +02:00
11c2f85862 Actually encode the opcode
It is still truncated to one byte though.
2018-09-09 20:28:35 +02:00
05d7959d77 Actually decode what is read 2018-09-09 20:17:46 +02:00
8ed809c217 Remove debugging code 2018-09-09 20:13:44 +02:00
74a3f6b83c Update the copyright notice 2018-09-09 20:13:44 +02:00
bd1e042f8d Reflect the new project name 2018-09-09 19:52:23 +02:00
f3248afa68 Add a comment 2018-09-08 20:11:10 +02:00
73dab081eb Update the copyright notice 2018-09-08 20:09:29 +02:00
baa8f5412c Decode prefixes on i386-based architectures 2018-09-08 20:08:26 +02:00
4e14c80f0c Actually implement prefixes in the parser 2018-09-08 20:07:14 +02:00
3767308cf9 Add support for encoding prefixes 2018-09-08 20:04:54 +02:00
93ed1c8b70 Support prefixes when printing instructions 2018-09-08 20:00:45 +02:00
35ddb30287 Allow section names to contain dots
This is still a hack unfortunately.
2018-09-08 19:59:00 +02:00
cee2165e74 Code cleanup 2018-09-08 19:58:53 +02:00
c8475833c1 Allow prefixes to have an opcode and flags 2018-09-08 18:14:57 +02:00
edb43f2624 Allow dots in directive arguments 2018-09-08 18:08:37 +02:00
5d96e0f55b Remove a redundant token set 2018-09-08 18:06:49 +02:00
64faa8ab5f Register more dependencies 2018-08-20 18:05:08 +02:00
2dd26a6409 Add a test for the "rep" prefix 2018-08-17 20:31:06 +02:00
6c5e3cdd91 Update the copyright notice 2018-08-17 20:30:37 +02:00
0bc444ee23 Add support for instruction prefixes 2018-08-17 20:29:48 +02:00
41487d5aeb Register tags 2018-08-17 20:01:33 +02:00
25b904e580 Update the copyright notice 2018-08-17 19:54:35 +02:00
737b71363c Avoid a few compilation warnings 2018-08-17 19:54:20 +02:00
6e323cf756 Update the copyright notice 2018-08-17 19:45:37 +02:00
7a11549026 Constify 2018-08-17 19:45:30 +02:00
866c093389 Code cleanup 2018-08-17 19:15:52 +02:00
9109079731 Update the copyright notice 2018-08-17 19:15:05 +02:00
aef23a45f2 Find instruction names instead of allocating memory 2018-08-17 19:13:42 +02:00
375925dba8 Import a code coverage test
Disabled by default for the moment.
2018-02-24 21:05:17 +01:00
c888f4c98b Import a test for FIXME in comments
Disabled by default for the moment.
2018-02-24 20:50:35 +01:00
cc56dd93cb Begin to implement directives 2017-10-15 21:16:50 +02:00
dbe25195c4 Remove unused variable 2017-10-15 21:13:45 +02:00
21a521f82b Avoid a compilation warning 2017-10-15 21:11:31 +02:00
d69ba7dfc7 Avoid a compilation warning 2017-10-15 21:09:43 +02:00
d24a9df040 Avoid a compilation warning 2017-10-15 21:06:09 +02:00
bb876e9627 Update the copyright notice 2017-10-15 21:04:41 +02:00
a38e35cda1 Code cleanup 2017-10-15 21:04:14 +02:00
9ca17b04d0 Add a callback for directives 2017-10-11 23:35:41 +02:00
c2c4851f17 Add debugging information 2017-10-11 20:55:38 +02:00
5d8d58ad23 Report errors when not supporting functions or sections 2017-10-11 20:54:40 +02:00
3e057b6f34 Update the description 2017-10-09 17:26:26 +02:00