OMAP是什么的缩写?

C/C++本地代码调试

OMAP是什么的缩写?


qiliu3 2014-06-10, 10:05 上午
原文:It is called OMAP code optimization.

It is used to make code that needs to be present in memory smaller. So instead of flat ad dress  space  for  compiled  function  we  have  pieces  of  it  scattered  here  and  there. 

This leads  to  an  ambiguity  when  we  try  to  disassemble OMAP  code  at its  address  because WinDbg doesn’t know whether it should treat address range as a function offset (starting  from  the  beginning  of the  function  source  code)  or  just  a  memory  layout  offset (starting  from  the  address  of  that  function). 

结合上下文,我理解是张老师讲过的“代码流放”的意思,只是我不清楚OMAP到底是什么英文单词的缩写?

Re: OMAP是什么的缩写?


格蠹老雷 2014-06-11, 21:01 下午
因为与TI的处理器架构重名,所以搜索时会搜到很多无关的东西

看DbgHelp文档中的定义:

typedef struct _OMAP {
  ULONG rva;
  ULONG rvaTo;
} OMAP, *POMAP;

就是O + Map,O估计是Optimization,优化代码映射,也或许是Object code,总之意思是一样的

Re: OMAP是什么的缩写?


qiliu3 2014-06-13, 15:43 下午
谢谢张老师!

Powered by Community Server Powered by CnForums.Net