Skip to content

Commit

Permalink
Add section-flags to section proto specification
Browse files Browse the repository at this point in the history
  • Loading branch information
eschulte committed Feb 24, 2020
1 parent 5e6c5b4 commit 5ca0372
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions proto/Section.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,21 @@ package proto;

import "ByteInterval.proto";

enum SectionFlag {
Flag_Undefined = 0;
READABLE = 1;
WRITABLE = 2;
EXECUTABLE = 3;
// TODO: Fill in all known section properties for all known file formats.
reserved 4 to 4095;
}

message Section {
reserved "address", "size";
reserved 3, 4;

bytes uuid = 1;
string name = 2;
repeated ByteInterval byte_intervals = 5;
repeated SectionFlag section_flags = 6;
}

0 comments on commit 5ca0372

Please sign in to comment.