Andrew Kaster
138abb9098
ELF: Fail layout when program header hooks return nullptr ( #673 )
...
ELFLoader::layout() had a "failed" variable that was never set. This
patch checks the return value of each hook (alloc/map section and tls)
and fails the load if they return null.
I also needed to patch Process so that the alloc_section_hook and
map_section_hook actually return nullptr when allocating a region fails.
Fixes #664 :)
2019-10-20 16:24:42 +02:00
..
2019-10-20 08:15:39 +02:00
2019-10-17 23:39:24 +02:00
2019-10-18 15:58:06 +02:00
2019-10-10 11:58:15 +02:00
2019-10-18 16:50:23 +02:00
2019-10-20 10:51:12 +02:00
2019-10-16 19:14:02 +02:00
2019-08-06 21:09:24 +02:00
2019-10-07 10:11:39 +02:00
2019-10-13 08:45:49 +02:00
2019-10-18 15:58:06 +02:00
2019-10-18 15:58:06 +02:00
2019-08-18 07:40:02 +02:00
2019-10-07 10:11:39 +02:00
2019-08-11 08:22:42 +02:00
2019-10-16 19:14:02 +02:00
2019-09-27 14:25:42 +02:00
2019-08-06 20:04:12 +02:00
2019-09-06 15:36:54 +02:00
2019-09-06 15:36:54 +02:00
2019-09-09 08:14:00 +02:00
2019-08-02 19:22:48 +02:00
2019-08-11 08:22:42 +02:00
2019-09-30 08:57:01 +02:00
2019-09-06 15:36:54 +02:00
2019-10-20 08:15:39 +02:00
2019-10-12 19:30:59 +02:00
2019-10-12 19:30:59 +02:00
2019-10-13 08:45:49 +02:00
2019-10-20 08:15:39 +02:00
2019-08-14 06:28:53 +02:00
2019-08-14 06:28:53 +02:00
2019-10-20 16:24:42 +02:00
2019-10-13 18:03:21 +02:00
2019-09-28 13:59:49 +02:00
2019-10-13 15:07:23 +02:00
2019-10-07 16:39:47 +02:00
2019-09-14 20:21:10 +02:00
2019-09-04 11:27:14 +02:00
2019-09-04 11:27:14 +02:00
2019-09-16 09:01:44 +02:00
2019-08-11 16:30:43 +02:00
2019-10-13 18:03:21 +02:00
2019-10-13 18:03:21 +02:00
2019-10-13 14:36:55 +02:00
2019-10-13 14:36:55 +02:00
2019-10-02 18:20:11 +02:00