While reversing some
x86 executables, I came across a pattern of addressing globals, that I don't familiar with, but it looks like IDA is, and I would like to know more about it.
.text:00002560 public start .text:00002560 start proc near .text:00002560 mov ebx, [esp+0] .text:00002563 ret .text:0001D233 push ebx .text:0001D234 call start ; ebx is initialized here .text:0001D239 add ebx, 1805Bh .text:0001D25A lea edi, (aLsi_0 - 35294h)[ebx] ; "lsi" <---- Ida recognizes here an access to global string.
I saw this pattern in many different binaries. Does anyone know what is the name of this kind of access and where can I read more about it?