add searching for code/data/unknown in mem

(TODO: need to make executed code not be marked as read in order for
this to work better)