Compiling Source Code Into Assemblies

فهرست عناوین اصلی در این پاورپوینت

فهرست عناوین اصلی در این پاورپوینت

● DEV490

.NET Framework:
CLR – Under The Hood
● Jeffrey Richter
● Topics
● Compiling Source Code
Into Assemblies
● An Assembly
● ILDasm.exe
● Intermediate Language
● ILDasm.exe
● Benefits Of IL
● Real Benefit Of IL:
Security And Verification
● Benefits Of “Safe” Code
● Executing Managed IL Code
● All Types/Modules Are
Self-Describing
● Metadata Definition Tables
(Partial List)
● Metadata Reference Tables
(Partial List)
● Code Attempts To
Access A Type/Method
● How The CLR Resolves An Assembly Reference
● Topics
● A Thread’s Stack
● Simple Class Hierarchy
● Instance Method Mapping Using this
● IL Instructions To
Call A Method
● Memory: Code, Types, Objects
● Topics
● The Managed Heap
● Roots And GC Preparation
● When A GC Starts…
● Before A Collection
● Compacting The Heap
● After A Collection
● Root Example
● Microsoft Products And Services For Lifelong Learning
www.microsoft.com/learning


نوع زبان: انگلیسی حجم: 1.14 مگا بایت
نوع فایل: اسلاید پاورپوینت تعداد اسلایدها: 36 صفحه
سطح مطلب: نامشخص پسوند فایل: ppt
گروه موضوعی: زمان استخراج مطلب: 2019/06/16 12:09:50

لینک دانلود رایگان لینک دانلود کمکی

اسلایدهای پاورپوینت مرتبط در پایین صفحه

عبارات مهم استفاده شده در این مطلب

عبارات مهم استفاده شده در این مطلب

il, code, ., type, method, entry, assembly, metadatum, manage, ‘s, name, compiler,

توجه: این مطلب در تاریخ 2019/06/16 12:09:50 به صورت خودکار از فضای وب آشکار توسط موتور جستجوی پاورپوینت جمع آوری شده است و در صورت اعلام عدم رضایت تهیه کننده ی آن، طبق قوانین سایت از روی وب گاه حذف خواهد شد. این مطلب از وب سایت زیر استخراج شده است و مسئولیت انتشار آن با منبع اصلی است.

http://download.microsoft.com/download/e/2/1/e216b4ce-1417-41af-863d-ec15f2d31b59/dev490.ppt

در صورتی که محتوای فایل ارائه شده با عنوان مطلب سازگار نبود یا مطلب مذکور خلاف قوانین کشور بود لطفا در بخش دیدگاه (در پایین صفحه) به ما اطلاع دهید تا بعد از بررسی در کوتاه ترین زمان نسبت به حدف با اصلاح آن اقدام نماییم. جهت جستجوی پاورپوینت های بیشتر بر روی اینجا کلیک کنید.

عبارات پرتکرار و مهم در این اسلاید عبارتند از: il, code, ., type, method, entry, assembly, metadatum, manage, ‘s, name, compiler,

مشاهده محتوای متنیِ این اسلاید ppt

مشاهده محتوای متنیِ این اسلاید ppt

dev۴۹ .net framework clr – under the hood jeffrey richter author consultant trainer wintellect jeffrey richter author of several .net framework win۳۲ books cofounder of wintellect a company dedicated to helping clients ship better software faster services consulting debugging security reviews training consultant on microsoft’s .net framework team since october ۱۹۹۹ msdn magazine contributing editor .net columnist topics execution model intermediate language il verification jit compilation metadata and assembly loading how things relate at runtime code types objects a thread’s stack and the heap garbage collection how a reference tracking gc works topics execution model intermediate language il verification jit compilation metadata and assembly loading how things relate at runtime code types objects a thread’s stack and the heap garbage collection how a reference tracking gc works compiling source code into assemblies c source code file s managed assembly il and metadata fortran source code file s c source code file s basic source code file s c compiler basic compiler c compiler fortran compiler managed assembly il and metadata managed assembly il and metadata managed assembly il and metadata an assembly an assembly is the managed equivalent of an exe dll implements and optionally exports a collection of types it is the unit of versioning security and deployment parts of an assembly file windows pe header clr header information interpreted by the clr and utilities metadata type definition and reference tables intermediate language code emitted by compiler ildasm.exe intermediate language all .net compilers produce il code il is cpu independent machine language created by microsoft with input from external commercial and academic language compiler writers il is higher level than most cpu machine languages some sample il instructions create and initialize objects including arrays call virtual methods throw and catch exceptions store load values to from fields parameters and local variables developers can write in il assembler ilasm.exe many compilers produce il source code and compile it by spawning ilasm.exe ildasm.exe benefits of il il is not tied to any specific cpu managed modules can run on any cpu x۸۶ itanium opteron etc as long as the os on that cpu supports the clr many believe that write once run everywhere is the biggest benefit i disagree security and verification of code is the really big win real benefit of il security and verification when processing il clr verifies it to ensure that everything it does is safe every method is called with correct number and type of parameters every method’s return value is used properly every method has a return statement metadata includes all the type method info used for verification benefits of safe code multiple managed applications can run in ۱ windows’ process applications can’t corrupt each other or themselves reduces os resource usage improves performance administrators can trust apps isps forbidding isapi dlls sql server running il for stored procedures internet downloaded code with code access security note administrator can turn off verification executing managed il code when loaded the runtime creates method stubs when a method is called the stub jumps to runtime runtime loads il and compiles it il is compiled into native cpu code just like compiler back end method stub is removed and points to compiled code compiled code is executed in future when method is called it just runs console managed exe mscoree.dll jitcompiler jitcompiler … jitcompiler function ۱. in the assembly that implements the type console look up the method writeline being called in the metadata. ۲. from the metadata get the il for this method and verify it. ۳. allocate a block of memory. ۴. compile the il into native cpu instructions the native code is saved in the memory allocated in step ۳. ۵. modify the method’s entry in the type’s table so that it now points to the memory block allocated in step ۳. ۶. jump to the native code contained inside the memory block. static void writeline static void writeline string remaining members native cpu instructions static void main console.writeline hello console.writeline goodbye nativemethod all types modules are self describing ۱ typedef entry for app entry refers to methoddef entry for main ۲ typeref entries for system.object and system.console both entries refer to assemblyref entry for mscorlib public class app public static void main system.console.writeline hi metadata definition tables partial list typedef ۱ entry for each type defined type’s name base type flags i.e. public private etc. and index into methoddef fielddef tables methoddef ۱ entry for each method defined method’s name flags private public virtual static etc il offset and index to paramdef table fielddef ۱ entry for each field defined name flags i.e. private public etc. and type paramdef ۱ entry for each parameter def’d name and flags in out retval etc. metadata reference tables partial list assemblyref ۱ entry for each assembly ref’d name version culture public key token typeref ۱ entry for each type ref’d type’s name and index into assemblyref table memberref ۱ entry for each member ref’d name signature and index into typeref table ildasm.exe metadata and il code attempts to access a type method ۲۳ ۱ assemblyref entry for mscorlib ۱ ۳ typeref entry to system.console ۶ ۱ methoddef for main fyi .method ۶ ۱ public hidebysig static void main class system.string args il managed .entrypoint code size ۱۱ xb .maxstack ۸ il ldstr hi il ۵ call void mscorlib ۲۳ ۱ system.console ۱ ۳ writeline class system.string il a ret end of method app main how the clr resolves an assembly reference il call with metadata token memberref methoddef memberref  typeref typeref  assemblyref create internal type structure load assembly look up typedef methoddef  typedef emit native call topics execution model intermediate language il verification jit compilation metadata and assembly loading how things relate at runtime code types objects a thread’s stack and the heap garbage collection how a reference tracking gc works a thread’s stack windows’ process clr thread pool managed heap name string return address void m۱ string name joe m۲ name … return void m۲ string s int۳۲ length s.length int۳۲ tally … …

کلمات کلیدی پرکاربرد در این اسلاید پاورپوینت: il, code, ., type, method, entry, assembly, metadatum, manage, ‘s, name, compiler,

این فایل پاورپوینت شامل 36 اسلاید و به زبان انگلیسی و حجم آن 1.14 مگا بایت است. نوع قالب فایل ppt بوده که با این لینک قابل دانلود است. این مطلب برگرفته از سایت زیر است و مسئولیت انتشار آن با منبع اصلی می باشد که در تاریخ 2019/06/16 12:09:50 استخراج شده است.

http://download.microsoft.com/download/e/2/1/e216b4ce-1417-41af-863d-ec15f2d31b59/dev490.ppt

  • جهت آموزش های پاورپوینت بر روی اینجا کلیک کنید.
  • جهت دانلود رایگان قالب های حرفه ای پاورپوینت بر روی اینجا کلیک کنید.

رفتن به مشاهده اسلاید در بالای صفحه


پاسخی بگذارید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *