Besonderhede van voorbeeld: -4270308858178172105

Metadata

Author: WikiMatrix

Data

English[en]
Self-modification can be accomplished in a variety of ways depending upon the programming language and its support for pointers and/or access to dynamic compiler or interpreter 'engines': overlay of existing instructions (or parts of instructions such as opcode, register, flags or address) or direct creation of whole instructions or sequences of instructions in memory creating or modification of source code statements followed by a 'mini compile' or a dynamic interpretation (see eval statement) creating an entire program dynamically and then executing it Self-modifying code is quite straightforward to implement when using assembly language.
Persian[fa]
خود-تغییر دهندگی را میتوان به روشهای مختلفی بسته به زبان برنامهنویسی و پشتیبانی آن از اشاره گرها و / یا دسترسی به کامپایلر پویا یا موتورهای مترجم انجام داد: پوشاندن دستورالعملهای موجود (یا بخشی از دستورالعملهایی مانند opcode, register, flags یا آدرس) یا ایجاد مستقیم دستورالعملهای کامل یا توالی دستورالعملها در حافظه ایجاد یا تغییر عبارات کد منبع که با یک مینی کامپایل یا یک تفسیر یا ترجمه پویا صورت میگیرد (نگاه کنید به eval) ایجاد یک برنامه کامل به صورت پویا و سپس اجرای آن کد خود تغییر دهندگی برای پیادهسازی در هنگام استفاده از زبان اسمبلی بسیار ساده است.

History

Your action: