Fix flags bind() before new()
Improve flirt matching. Introduces flirt flagspace. Closes 1355.
Update elf_header parsing / pf with enum

Update elf_header parsing / pf with enum