Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
76b1cc8
Add unit tests for DwarfAttributeValue and related DWARF types
Sasinkas Apr 9, 2026
cb5a384
Add unit tests for DwarfCommonInformationEntry to validate parsing be…
Sasinkas Apr 13, 2026
237fd1e
Add unit tests for DwarfFrameDescriptionEntry to validate constructor…
Sasinkas Apr 13, 2026
208b939
Add unit tests for DwarfLineNumberProgram to validate constructor and…
Sasinkas Apr 13, 2026
db52ee5
Add unit tests for DwarfSymbol to validate name and full name behavior
Sasinkas Apr 13, 2026
d57aba5
Add unit tests for DwarfSymbolProvider to validate parsing and comman…
Sasinkas Apr 13, 2026
f112129
Merge branch 'main' into dev/sraroseck/draft/UpdateTests/UnitTests/Dw…
Sasinkas Apr 21, 2026
36ec1d4
Update active context and learnings with guardian integration test de…
Sasinkas Apr 22, 2026
531e04a
Add integration tests for BinSkim with BinSkimRunner helper class
Sasinkas Apr 24, 2026
9d2e225
Add integration tests for new Dwarf commands and enhance existing tests
Sasinkas Apr 24, 2026
5b8b769
acitve context
Sasinkas Apr 30, 2026
71f30c1
Merge branch 'main' into dev/sraroseck/draft/UpdateTests/UnitTests/Dw…
Sasinkas May 27, 2026
2db23b0
Fix directory index boundary check and update Strp offset in unit tests
Sasinkas May 28, 2026
20ce7d5
Add unit tests for ElfBinary class to validate loading and error hand…
Sasinkas May 28, 2026
c6719c7
Add unit tests for ELF binary analysis in AnalyzeCommandIntegrationTests
Sasinkas May 28, 2026
93c6842
Add Pester integration tests for BinSkim CLI functionality
Sasinkas May 28, 2026
16fe746
Add PDB file for BA2004.EnableSecureSourceCodeHashing functional test…
Sasinkas Jun 4, 2026
ec9a810
Add portable executable and PDB files for .NET Core and .NET Standard
Sasinkas Jun 4, 2026
a780397
Merge branch 'main' into dev/sraroseck/draft/UpdateTests/UnitTests/Dw…
Sasinkas Jun 4, 2026
d053d62
Refactor LEB128 encoding helpers into DwarfTestHelpers for code reuse…
Sasinkas Jun 4, 2026
4379ef3
Refactor integration tests: remove redundant tests, add repository ro…
Sasinkas Jun 8, 2026
07b5447
Fix applicability condition for EnableShadowStack in RuleTests
Sasinkas Jun 8, 2026
19bc249
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 8, 2026
de65664
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 8, 2026
3ba606a
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 8, 2026
7f9b15b
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 8, 2026
faf29ea
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 8, 2026
3ebe1f7
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 8, 2026
225a360
Merge branch 'main' into dev/sraroseck/draft/UpdateTests/UnitTests/Dw…
Sasinkas Jun 8, 2026
b84a211
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 8, 2026
d2eb70f
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 8, 2026
bbc3d5d
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 9, 2026
8db7b49
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 9, 2026
bee3aa2
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 9, 2026
8649118
Refactor variable declarations for clarity in Dwarf-related unit tests
Sasinkas Jun 9, 2026
8d1522b
Merge branch 'dev/sraroseck/draft/UpdateTests/UnitTests/DwarfAttribut…
Sasinkas Jun 9, 2026
d0b9b5e
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 9, 2026
a0ff8f1
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 9, 2026
87205ec
Potential fix for pull request finding 'CodeQL / Call to 'System.IO.P…
Sasinkas Jun 9, 2026
15f676c
Remove outdated documentation and notes from the memory bank
Sasinkas Jun 9, 2026
855f1f5
Merge branch 'main' into dev/sraroseck/draft/UpdateTests/UnitTests/Dw…
Sasinkas Jun 12, 2026
1335ba7
Add blank lines for improved readability in feature instructions
Sasinkas Jun 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/03-feature.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ applyTo: "**"

## Feature Instructions



## Testing Configuration
6 changes: 6 additions & 0 deletions src/BinSkim.sln
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Test.UnitTests.BinSkim.Rule
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Test.UnitTests.BinSkim.Driver", "Test.UnitTests.BinSkim.Driver\Test.UnitTests.BinSkim.Driver.csproj", "{B64DBE60-C7E6-48C1-BB7F-B12129DF98B2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Test.IntegrationTests.BinSkim.Driver", "Test.IntegrationTests.BinSkim.Driver\Test.IntegrationTests.BinSkim.Driver.csproj", "{2E4F8A1B-3C5D-4E6F-9A0B-1C2D3E4F5A6B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -84,6 +86,10 @@ Global
{B64DBE60-C7E6-48C1-BB7F-B12129DF98B2}.Debug|Any CPU.Build.0 = Debug|AnyCPU
{B64DBE60-C7E6-48C1-BB7F-B12129DF98B2}.Release|Any CPU.ActiveCfg = Release|AnyCPU
{B64DBE60-C7E6-48C1-BB7F-B12129DF98B2}.Release|Any CPU.Build.0 = Release|AnyCPU
{2E4F8A1B-3C5D-4E6F-9A0B-1C2D3E4F5A6B}.Debug|Any CPU.ActiveCfg = Debug|AnyCPU
{2E4F8A1B-3C5D-4E6F-9A0B-1C2D3E4F5A6B}.Debug|Any CPU.Build.0 = Debug|AnyCPU
{2E4F8A1B-3C5D-4E6F-9A0B-1C2D3E4F5A6B}.Release|Any CPU.ActiveCfg = Release|AnyCPU
{2E4F8A1B-3C5D-4E6F-9A0B-1C2D3E4F5A6B}.Release|Any CPU.Build.0 = Release|AnyCPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ private static DwarfFileInformation ReadFile(DwarfMemoryReader debugLine, List<s
int directoryIndex = (int)debugLine.ULEB128();
ulong lastModified = debugLine.ULEB128();
ulong length = debugLine.ULEB128();
string directory = (directoryIndex > 0 && directoryIndex <= directories.Count - 1) ? directories[directoryIndex - 1] : null;
string directory = (directoryIndex > 0 && directoryIndex <= directories.Count) ? directories[directoryIndex - 1] : null;
string path;

path = string.IsNullOrEmpty(directory) || Path.IsPathRooted(name) ? name : Path.Combine(directory, name);
Expand Down
440 changes: 249 additions & 191 deletions src/Test.FunctionalTests.BinSkim.Rules/RuleTests.cs

Large diffs are not rendered by default.

Loading
Loading