کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
421567 684896 2012 12 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
GDSL: A Generic Decoder Specification Language for Interpreting Machine Language
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
GDSL: A Generic Decoder Specification Language for Interpreting Machine Language
چکیده انگلیسی

The analysis of executable code requires the reconstruction of instructions from a sequence of bytes (or words) and a specification of their semantics. Most front-ends addressing this problem only support a single architecture, are bound to a specific programming language, or are hard to maintain. In this work, we present a domain specific language (DSL) called GDSL (Generic Decoder Specification Language) for specifying maintainable instruction decoders and the translation of instructions to a semantics. We motivate its design by illustrating its use for the Intel x86 platform. A compiler is presented that generates C code that rivals hand-crafted decoder implementations.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 289, 6 December 2012, Pages 53-64