文件偏移地址是指数据在PE文件中的地址,是文件在磁盘上存放时相对于文件开头的偏移。文件偏移地址从pe文件的第一个字节开始计数,起始值为0。用十六进制工具(如WINHEX)打开文件所显示的地址就是文件偏移地址。
做这件事的办法之一是对jfs_mount . o文件使用objdump实用程序,然后查看偏移地址3c。
One way you can do this is to use the objdump utility on the jfs_mount.o file and look at offset 3c.
当然,在我们的源文件里,偏移量是作为初始地址给出的。
And of course the offset is given as the original address in our source file.
文件偏移和内存地址是不容易的相关。
应用推荐