Skip to content

[rustjava-2026-09-23-validation-rules-name-their-position-adopt-p0] fix(classfile): extra-bytes 거부가 클래스가 끝난 바이트 위치를 말한다 - #96

Merged
Jun025 merged 1 commit into
mainfrom
rustjava-2026-09-23-validation-rules-name-their-position-adopt-p0
Sep 24, 2026
Merged

Jun025 merged 1 commit into
mainfrom
rustjava-2026-09-23-validation-rules-name-their-position-adopt-p0

Conversation

@Jun025

@Jun025 Jun025 commented Sep 24, 2026

Copy link
Copy Markdown
Owner

채택 2026-09-23-validation-rules-name-their-position#p0.

거부 위치 처분
truncated or unparsable nom 오프셋 복원은 되지만 1바이트 변이에서 손상 ±8B 안 Hello 358/639 · StringConcat 535/1151 — 신뢰 불가 유지
extra bytes file.len() - remaining.len() 정확 Location::ByteOffset(u32)
version < 45.0 고정 바이트 6..8 — 위치 무정보 유지
  • 문면: extra bytes after the end of the class file → … (at byte offset 417)
  • 대가: ClassFileError 24 → 32B(64-bit) · 크기 잠금 갱신. Location 변종 추가(미릴리스 타입).
  • 변이 3종(오프셋=len · =0 · 종전 class.rs) red ↔ green. DoD 10/10 rc=0 · test 597/0.

상세 docs/worklog/2026-09-24-extra-bytes-name-their-offset.md

🤖 Generated with Claude Code

…ix(classfile): extra-bytes 거부가 클래스가 끝난 바이트 위치를 말한다

parse-level 거부 3종을 재어 정확한 위치를 쥔 extra bytes 만 Location::ByteOffset(u32) 로 싣는다.
truncated/unparsable 은 nom 오프셋이 1바이트 변이의 약 절반에서 손상 지점 ±8B 밖이라 유지,
version<45 는 위치 없음. ClassFileError 24→32B(크기 잠금 갱신 · 이유 기록).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jun025
Jun025 merged commit 37107f4 into main Sep 24, 2026
13 checks passed
@Jun025
Jun025 deleted the rustjava-2026-09-23-validation-rules-name-their-position-adopt-p0 branch September 24, 2026 10:04
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