Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Project 2-1] Passing the argument and creating a thread(mywnajsldkf) #29

Merged
merged 9 commits into from
Jun 14, 2023

Conversation

mywnajsldkf
Copy link
Contributor

#16

- const 타입인 file_name을 tokenizing 하기 위해 복제
- strtok_r 함수를 이용해서 tokenizing
- tokenizing한 token을 argv 배열에 저장
- file_name 파싱 결과를 담을 배열을 생성한다.
- argv 뒤에서부터 인자들을 userstack에 저장한다.
- 단어 정렬을 위해 패딩을 추가한다.
- argv를 채운다.
- rdi, rsi를 지정한다.
- fake address를 저장한다.
- 전처리기 사용을 위해 #define USERFROG 추가(안해도 된다)
- define 추가
@mywnajsldkf mywnajsldkf linked an issue Jun 14, 2023 that may be closed by this pull request
3 tasks
@mywnajsldkf mywnajsldkf merged commit 8eab5c3 into Blue-club:mywnajsldkf Jun 14, 2023
@mywnajsldkf mywnajsldkf deleted the parsing branch June 14, 2023 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Project 2-1] Passing the argument and creating a thread(mywnajsldkf)
1 participant