Skip to content

Fix06/seg fault#16

Merged
jaeunda merged 4 commits intomainfrom
fix06/seg-fault
Nov 16, 2025
Merged

Fix06/seg fault#16
jaeunda merged 4 commits intomainfrom
fix06/seg-fault

Conversation

@jaeunda
Copy link
Copy Markdown
Owner

@jaeunda jaeunda commented Nov 16, 2025

Segmentation Fault

image

Debug(gdb)

image image image image
  • IDENTIFIER와 { (LR) 사이, setFunctionDeclaratorSpecifier 함수 부근에서 접근할 수 없는 메모리에 접근하려고 함

Solve: setDeclaratorListSpecifier의 argument 순서 바뀜

image

(추가) 누락된 declaration_list_opt 추가

image

(추가) statement_list의 동작 수정

  • N_INIT_LIST_NILN_STMT_LIST_NIL로 수정
image

처음 선언한 IDENTIFIER에 대한 redeclaration 에러

image

func.h: 456 라인 누락되어 추가함

image

@jaeunda jaeunda self-assigned this Nov 16, 2025
@jaeunda jaeunda merged commit 858f8f5 into main Nov 16, 2025
1 check passed
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