#include <kernwin.hpp> // For read_selection() definition
#include <ua.hpp>
ea_t saddr, eaddr;
ea_t addr;
// Get the user selection
int selected = read_selection(&saddr, &eaddr);
if (selected)
{
// Re-analyse the selected address range
for (addr = saddr; addr <= eaddr; addr++)
ua_code(addr);
}
else
{
msg("No selection.\n");
}







