-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ElfType enum and accompanying test
- Loading branch information
Showing
5 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using System.ComponentModel; | ||
|
||
namespace BinaryTools.Elf | ||
{ | ||
/// <summary> | ||
/// Enumerates the object file type. | ||
/// </summary> | ||
public enum ElfType : ushort | ||
{ | ||
/// <summary> | ||
/// No file type | ||
/// </summary> | ||
[Description("No file type")] | ||
None, | ||
|
||
/// <summary> | ||
/// Relocatable file | ||
/// </summary> | ||
[Description("Relocatable file")] | ||
Relocatable, | ||
|
||
/// <summary> | ||
/// Executable file | ||
/// </summary> | ||
[Description("Executable file")] | ||
Executable, | ||
|
||
/// <summary> | ||
/// Shared object file | ||
/// </summary> | ||
[Description("Shared object file")] | ||
Shared, | ||
|
||
/// <summary> | ||
/// Core file | ||
/// </summary> | ||
[Description("Core file")] | ||
Core, | ||
} | ||
} |