在加载更多的程序集并转化IL为机器指令时,CLR的加载器有一点额外的工作要完成,那就是调整函数入口地址。
The CLR loader has a little more work to do to load many assemblies and turn IL into machine instructions, particularly resolving function addresses.
brsl代表“branch relative and setlink”,用来分支到函数的入口点并将链接寄存器(LR)设置为返回地址的下一个指令。
BRSL stands for "branch relative and set link." This branches to the function entry point and sets the link register (LR) to the next instruction for the return address.
您有很多选择,但是为了简便起见,可以将这个地址简单地写入一个文件,要注意哪个地址是函数的入口地址,哪个地址是函数的出口地址(参见清单2)。
You have many options, but for the sake of simplicity, just write the addresses to a file, noting which addresses are function entry and which are exit (see Listing 2).
如果前缀是E,那么这个地址就是一个函数的入口地址(也就是说,您正在调用这个函数)。
If the prefix is an e, the address is a function entry address (that is, this function was called).
入口点的入口点函数的内存地址。
Entry point the entry point memory address for the function.
入口点的入口点函数的内存地址。
Entry point the entry point memory address for the function.
应用推荐