search_binary_Handler

From: André Coelho
Date: Thu Jul 14 2022 - 18:36:06 EST


Hey,

why is search_binary_handler cycles through binary formats?! if there is only 3, why don't just return the pointers to then?

also, why does binfmt_misc ,exists?! couldnt we just use execve("interpreter","args)) , after reading some first bytes?

since ELF  does read first bytes, can't we just use a ELF subset?!


thanks in advance


i wish to get cc of answers to this email


andre albergaria