1-Can I reverse drawtext function? 2-How to know the length of data in your app
-
Hello amazing people, just have 2 questions 1- assuming I use Drawtext to output a text on HDC, is it possible to reverse that? i meant get that text which i drawn from HDC not from the buffer? 2- How in the world we know the length of executed code in an app? is it SizeOfRawData or what/? I know how to use DOS header and the NTheader.. but i still do not know the length exactly, it seems that it's different if do calculation, I am sure that i did it wrong.... Thanks...
-
Hello amazing people, just have 2 questions 1- assuming I use Drawtext to output a text on HDC, is it possible to reverse that? i meant get that text which i drawn from HDC not from the buffer? 2- How in the world we know the length of executed code in an app? is it SizeOfRawData or what/? I know how to use DOS header and the NTheader.. but i still do not know the length exactly, it seems that it's different if do calculation, I am sure that i did it wrong.... Thanks...
1. I am not aware of any functions that can read a device context. 2. What do you mean by "length of executed code"? The size of an executable program in memory will be larger than its loadable exe file as it has the addition of stack and heap space. It can also grow and shrink during execution.
Veni, vidi, abiit domum
-
1. I am not aware of any functions that can read a device context. 2. What do you mean by "length of executed code"? The size of an executable program in memory will be larger than its loadable exe file as it has the addition of stack and heap space. It can also grow and shrink during execution.
Veni, vidi, abiit domum
about the 2 question.. Yes i did mean that, but what if i want the size of written code inside a section? not the size of the section.. it's oky even if it before loading to the memory... basically not the extra 0000 in the size just the raw code.... this what i am trying to find out...?
-
about the 2 question.. Yes i did mean that, but what if i want the size of written code inside a section? not the size of the section.. it's oky even if it before loading to the memory... basically not the extra 0000 in the size just the raw code.... this what i am trying to find out...?