diff options
author | Francisco Jerez <[email protected]> | 2016-05-17 16:02:48 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2016-07-11 20:22:48 -0700 |
commit | 7bcefa59031992a39ac997c2000dbad26153aed2 (patch) | |
tree | 78003e1e04e20a752b7046fe5c84f71affa24711 /scripts | |
parent | 574477e5994166ce6212e922ff15d6a36f840bf3 (diff) |
clover/llvm: Clean up ELF parsing.
This function was doing three separate things:
- Initializing and releasing the ELF parsing state (the latter can be
better done using RAII).
- Searching for the symbol table in the ELF file.
- Extraction of kernel symbol offsets from the symbol table.
Split each one into a separate function for clarity and clean up the
result slightly.
Reviewed-by: Serge Martin <[email protected]>
Tested-by: Jan Vesely <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions