Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Andriianov Dmitrii
assignment-1-elf64-loader
Commits
a3c46304
Commit
a3c46304
authored
5 months ago
by
DimaTivator
Browse files
Options
Download
Email Patches
Plain Diff
:)
parent
9bb46e05
master
No related merge requests found
Pipeline
#91207
passed with stages
in 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
solution/src/elf64_loader.c
solution/src/elf64_loader.c
+1
-1
No files found.
solution/src/elf64_loader.c
View file @
a3c46304
...
...
@@ -83,7 +83,7 @@ int LoadElf64(const int file_descriptor, const char *section_name) {
}
}
// check we
a
ther start_section is executable
// check w
h
ether start_section is executable
if
(
start_section
==
PT_NULL
||
!
(
start_section
->
sh_flags
&
SHF_EXECINSTR
))
{
close
(
file_descriptor
);
return
EINVAL
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help