We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b227b5d commit a7f0cd5Copy full SHA for a7f0cd5
src/LibObjectFile/Elf/ElfFilePartList.cs
@@ -1,4 +1,4 @@
1
-// Copyright (c) Alexandre Mutel. All rights reserved.
+// Copyright (c) Alexandre Mutel. All rights reserved.
2
// This file is licensed under the BSD-Clause 2 license.
3
// See the license.txt file in the project root for more information.
4
@@ -53,7 +53,7 @@ public void Insert(ElfFilePart part)
53
public void CreateParts(ulong startOffset, ulong endOffset)
54
{
55
var offset = startOffset;
56
- for (int i = 0; i < _parts.Count && offset < endOffset; i++)
+ for (int i = 0; i < _parts.Count && offset <= endOffset; i++)
57
58
var part = _parts[i];
59
if (offset < part.StartOffset)
0 commit comments