commit | 455f55c7c02931b22c818572ed28378c02591397 | [log] [tgz] |
---|---|---|
author | Pingfan Liu <piliu@redhat.com> | Fri Dec 06 10:44:42 2024 +0800 |
committer | Simon Horman <horms@kernel.org> | Fri Dec 13 12:33:12 2024 +0000 |
tree | 0ac1469f5088d3e9f202c5dd6e6f48ca552ab212 | |
parent | 0475ec5d32469a486713f9ed7023645bbbbb8769 [diff] |
PE: Extract get_pehdr_offset() for reuse The get_pehdr_offset() function helps skip the DOS stub in a PE file to locate the start of the PE header. Since it can be used in multiple C files, it is being moved to a header file. Signed-off-by: Pingfan Liu <piliu@redhat.com> Signed-off-by: Simon Horman <horms@kernel.org>