Added executable flag to memory segments in TDFs

This commit is contained in:
Nav
2024-04-29 20:25:36 +01:00
parent c0836a1b6d
commit 081d1e0bcd
267 changed files with 2635 additions and 2619 deletions

View File

@@ -334,6 +334,10 @@ class ValidationService
$failures[] = 'Size exceeds 32-bit unsigned integer';
}
if ($segment->executable === null) {
$failures[] = 'Missing executable';
}
$processedSectionKeys = [];
foreach ($segment->sections as $section) {
$failures = array_merge($failures, $this->validateMemorySegmentSection($section));