diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2019-08-21 20:05:22 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-08-30 12:51:28 -0700 |
| commit | bcd7bcc2968d1db4d4eb16c50afa76bdcffb6302 (patch) | |
| tree | 4cea13908fbf66515279c53e21bdcb672d10e01e /pkg | |
| parent | 9adfa8760f6ba6ed23dc7fe9eb900f8b684e0052 (diff) | |
prog: speed up resource ctors detection
When we build a list of resource constructors we over and over iterate through
all types in a syscall to find resource types. Speed it up by iterating only
once to build a list of constructors for each resource and then reuse it.
This significantly speeds up syz-exeprog startup time on Raspberry Pi Zero.
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions
