Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Many thanks for the library. I am now testing LIEF with the following piece of code
LIEF
#include <LIEF/LIEF.h> int main() { return 0; } gcc -c test_lief.c
but receive errors because the redefinition of enum types SECTION_TYPES, SECTION_FLAGS,... which are defined both in ELF/enums.h and MachO/enums.h.
enum
SECTION_TYPES
SECTION_FLAGS
ELF/enums.h
MachO/enums.h
The text was updated successfully, but these errors were encountered:
Thanks for the report, I will look at it
Sorry, something went wrong.
66b4cd4
Fix enums conflicts
56d4ee1
Enums changes (C++/C): ELF: * s/SECTION_TYPES/ELF_SECTION_TYPES/ * s/SECTION_FLAGS/ELF_SECTION_FLAGS/ * s/SYMBOL_TYPES/ELF_SYMBOL_TYPES/ * s/SEGMENT_FLAGS/ELF_SEGMENT_FLAGS/ MachO: * s/SECTION_TYPES/MACHO_SECTION_TYPES/ * s/SECTION_FLAGS/MACHO_SECTION_FLAGS/ * s/SYMBOL_TYPES/MACHO_SYMBOL_TYPES/ * s/SEGMENTS_FLAGS/MACHO_SEGMENTS_FLAGS/ PE: * s/SECTION_TYPES/PE_SECTION_TYPES/ Resolve #32
romainthomas
No branches or pull requests
Many thanks for the library. I am now testing
LIEF
with the following piece of codebut receive errors because the redefinition of
enum
typesSECTION_TYPES
,SECTION_FLAGS
,... which are defined both inELF/enums.h
andMachO/enums.h
.The text was updated successfully, but these errors were encountered: