随笔分类 -  .NET MSIL

摘要:本文翻译自Vijay Mukhi所著《C# to IL》,原文地址:http://www.vijaymukhi.com/documents/books/ilbook/contents.htm。本书适合于中等程度的.NET程序员阅读,是了解IL技术的基础书籍。 阅读全文
posted @ 2009-06-03 08:07 包建强 阅读(4085) 评论(14) 推荐(2) 编辑
摘要:道理越辨越明。我不是来吵架的,而是特地来澄清一些概念。赵劼的看法实在有些偏激,但凡与之意见向左的,一概穷追猛打至死。有感于他的毁人不倦大多穿凿附会之说,于是,暂时搁下手上的工作,发此文以正视听。 阅读全文
posted @ 2009-06-02 04:48 包建强 阅读(8905) 评论(104) 推荐(3) 编辑
摘要:摘要: 本文翻译自Vijay Mukhi所著《C# to IL》,原文地址:http://www.vijaymukhi.com/documents/books/ilbook/contents.htm。本书适合于中等程度的.NET程序员阅读,是了解IL技术的基础书籍。 阅读全文
posted @ 2009-06-01 08:12 包建强 阅读(5705) 评论(34) 推荐(0) 编辑
摘要:本文翻译自Vijay Mukhi所著《C# to IL》,原文地址:http://www.vijaymukhi.com/documents/books/ilbook/contents.htm。本书适合于中等程度的.NET程序员阅读,是了解IL技术的基础书籍。 阅读全文
posted @ 2009-05-31 00:24 包建强 阅读(4241) 评论(12) 推荐(1) 编辑
摘要:本文翻译自Vijay Mukhi所著《C# to IL》,原文地址:http://www.vijaymukhi.com/documents/books/ilbook/contents.htm。本书适合于中等程度的.NET程序员阅读,是了解IL技术的基础书籍。 阅读全文
posted @ 2009-05-29 00:02 包建强 阅读(9861) 评论(50) 推荐(5) 编辑
摘要:坐在咖啡屋的靠窗位置,欣赏着雨中的西雅图,写下这几行淅淅沥沥的文字。 不要惊讶,坐在你面前娓娓而谈的,并不是一个技术Geek,而是流连于淮海路迤逦风光的情调中人。编程只是我诸多爱好中的一项,当然,有时会过火些,比如说,从狄更斯的《双城记》中管窥到设计模式的精华,当然,这只是一些偶发异常,通常不会被抛出到外界。 一直在酝酿,想要写一篇卓尔不群的前言,就是说开头不请名人讲些冠冕堂皇的废话,结尾也没有... 阅读全文
posted @ 2009-05-25 13:48 包建强 阅读(3894) 评论(9) 推荐(3) 编辑
摘要:下文摘自我翻译《Expert .NET 2.0 IL Assembler》第13章中的一节,这本书是IL的权威之作,作者就是IL开发Team的:尾部调用 尾部调用类似于方法调用(jmp),二者都是放弃当前方法,并将参数传递到尾部调用(跳转)的方法上。然而,由于尾部调用的参数必须在计算堆栈上被显式加载(与跳转不同,尾部调用丢弃了当前方法的堆栈帧[1](stack frame),它保护了栈的框架并可以... 阅读全文
posted @ 2009-03-31 21:38 包建强 阅读(1013) 评论(2) 推荐(0) 编辑
摘要:第8章 基本类型和签名 基本类型就那么几种,都在表8-1中列出了。此外,还提到了数据指针类型和函数指针类型。 CLR中有两种类型的数组——向量和多维数组。它们的创建方式不同,从而布局也不同。 以上都是炒“冷饭”,学过一点C#都多少知道一点,而修饰符才是一个有趣的特性。4种修饰符各有用途: 修饰符modreq和modopt,用于托管/非托管封送的返回类型或方法参数上。在将非托管方法封送为托管方法时... 阅读全文
posted @ 2009-01-18 14:59 包建强 阅读(500) 评论(0) 推荐(0) 编辑
摘要:本来想放到译本的每章后面,写到第5章,才发现是狗尾续貂,我的功力和原作者相差实在太大,还是放在自己的地方上吧。 本书源码: http://www.apress.com/book/downloadfile/3046(原书) http://www.cnblogs.com/Jax/archive/2008/12/30/1365685.html(我的博客,未做任何改动) 第1章 这一章非常实用: 如果... 阅读全文
posted @ 2009-01-05 20:45 包建强 阅读(1452) 评论(3) 推荐(1) 编辑
摘要:1.Anders Liu 透过IL看C# (1)——switch语句(上)透过IL看C# (2)——switch语句(下)透过IL看C# (外一篇)——警惕常量陷阱再读《Microsoft .NET IL汇编语言程序设计》 2.Filer Lu 3.雨痕 4."强暴.net程序集"系列 5.张羿 阅读全文
posted @ 2009-01-02 19:28 包建强 阅读(1300) 评论(1) 推荐(0) 编辑
摘要:Authors Vijay Mukhi (vmukhi@vsnl.com) is one of the pioneers of the Indian Infotech Industry. For years, he has been the first to teach the emerging technologies in India thus ensuring that India a... 阅读全文
posted @ 2009-01-02 13:43 包建强 阅读(404) 评论(0) 推荐(0) 编辑
摘要:Introduction This book on MetaData Tables is a heady cocktail of the esoteric and mysterious details pertaining to the internals of an executable file, which gets created by the compiler of any .Net... 阅读全文
posted @ 2009-01-02 13:43 包建强 阅读(652) 评论(0) 推荐(0) 编辑
摘要:6. Correlating Metadata Tables In all the previous chapters that we presented, we had elucidated all the concepts and tables through distinct programs. In this chapter, we have endeavored to inscri... 阅读全文
posted @ 2009-01-02 13:17 包建强 阅读(560) 评论(0) 推荐(0) 编辑
摘要:5. The Blob Stream b.il .assembly b { } .class sequential public zzz { .method static vararg void pqr(int32 i, int64 j, int8 k ) { .entrypoint } .method explicit void ... 阅读全文
posted @ 2009-01-02 13:16 包建强 阅读(644) 评论(0) 推荐(0) 编辑
摘要:4. The Other Tables This chapter goes on to delineate the remaining tables that have not been touched upon and elucidated in the previous chapter. For this purpose, separate programs have been crea... 阅读全文
posted @ 2009-01-02 13:14 包建强 阅读(685) 评论(0) 推荐(0) 编辑
摘要:3. MetaData Table Types Every table type is assigned a unique number, or to be more precise, a bit in the valid field. Thus, there can be a maximum of 64 different table types, since the valid fiel... 阅读全文
posted @ 2009-01-02 13:13 包建强 阅读(963) 评论(0) 推荐(0) 编辑
摘要:2. MetaData Header This chapter traverses to the innards of the executable file in order to fathom the concept of metadata. a.cs using System; using System.IO; public class zzz { public stati... 阅读全文
posted @ 2009-01-02 13:11 包建强 阅读(856) 评论(0) 推荐(0) 编辑
摘要:1. The PE File Format This is a complex book, which inquires into the quintessence of the executable file generated by the compiler of any product in the .Net world. The programs that form the core... 阅读全文
posted @ 2009-01-02 13:11 包建强 阅读(1224) 评论(1) 推荐(0) 编辑
摘要:Vijay Mukhi的Metadata Tables一书,我对其进行了重新排版,尤其是C#的源代码,以VS的风格显示。这本书是结合C#写的,读起来别有一份滋味。 阅读全文
posted @ 2009-01-02 13:05 包建强 阅读(781) 评论(0) 推荐(1) 编辑
摘要:http://files.cnblogs.com/Jax/Expert_NET_2_0_IL_Assembler-3046.zip 阅读全文
posted @ 2008-12-30 23:58 包建强 阅读(577) 评论(0) 推荐(0) 编辑