Created
December 5, 2009 19:03
-
-
Save agustingianni/249809 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while (analisysQueue.empty() == false) | |
{ | |
// Sacamos un entry point | |
entry_point = analisysQueue.front(); | |
// Obtenemos una referencia a la seccion qeu contiene el entry point | |
section = sections->getSectionByAddress(entry_point->getValue()); | |
// symbolo no pertenece a ninguna seccion, skippeamos | |
if (!section) | |
{ | |
analisysQueue.pop(); | |
continue; | |
} | |
// Sacamos el offset dentro del archivo | |
offset = entry_point->getValue() - section->getAddress(); | |
unsigned char *data_stream = section->getData()->getBegin(); | |
size_t data_stream_size = section->getData()->getSize(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment