Skip to content

Fix custom file accessor views#108

Merged
tinysec merged 1 commit into
masterfrom
fix/file-accessor-view
Jul 22, 2026
Merged

Fix custom file accessor views#108
tinysec merged 1 commit into
masterfrom
fix/file-accessor-view

Conversation

@tinysec

@tinysec tinysec commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • correct BNCreateBinaryDataViewFromFile marshaling from an untyped pointer to BNFileAccessor by-reference ABI
  • add BinaryView.FromFile for managed CustomFileAccessor implementations
  • root the accessor for the full BinaryView lifetime so native callback pointers cannot dangle
  • validate deferred core reads through managed callbacks in the external E2E suite

Validation

  • dotnet build -c Release --no-restore (0 warnings)
  • targeted E2E: 1/1 passed
  • full external E2E: 232/232 passed

@tinysec
tinysec merged commit d65111b into master Jul 22, 2026
1 check passed
@tinysec
tinysec deleted the fix/file-accessor-view branch July 22, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant