{"id":13667273,"url":"https://github.com/Exely/CSAPP-Labs","last_synced_at":"2025-04-26T15:32:40.905Z","repository":{"id":37617333,"uuid":"104562650","full_name":"Exely/CSAPP-Labs","owner":"Exely","description":"Solutions and Notes for Labs of Computer Systems: A Programmer's Perspective 3rd Editon // 《深入理解计算机系统》第三版的实验文件、解答与笔记","archived":false,"fork":false,"pushed_at":"2023-02-15T15:50:22.000Z","size":4270,"stargazers_count":2429,"open_issues_count":4,"forks_count":440,"subscribers_count":29,"default_branch":"master","last_synced_at":"2024-11-05T03:51:31.707Z","etag":null,"topics":["c","computer-architecture","computer-science","csapp","linux","notebook"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Exely.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-23T11:28:30.000Z","updated_at":"2024-10-30T14:48:27.000Z","dependencies_parsed_at":"2024-08-02T07:01:36.355Z","dependency_job_id":"900009a0-a072-46d5-9e82-351eee874850","html_url":"https://github.com/Exely/CSAPP-Labs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exely%2FCSAPP-Labs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exely%2FCSAPP-Labs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exely%2FCSAPP-Labs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exely%2FCSAPP-Labs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Exely","download_url":"https://codeload.github.com/Exely/CSAPP-Labs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224039140,"owners_count":17245543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","computer-architecture","computer-science","csapp","linux","notebook"],"created_at":"2024-08-02T07:00:34.279Z","updated_at":"2024-11-11T02:31:13.289Z","avatar_url":"https://github.com/Exely.png","language":"C","readme":"# CSAPP-Labs\n\n这个项目是我对《深入理解计算机系统》第三版配套实验的解答和我写的笔记，实验文件在目录[labs](./labs/)下，来源[Lab Assignments](http://csapp.cs.cmu.edu/3e/labs.html)。\n\n## 目录：\n\n### [labs](./labs/)\n\n 包含所有的lab文件，以及CMU给的参考文档，也包含我写的解答文件，我的实验环境是 Ubuntu 16.04 amd-64，其中[source](./labs/source/)保存了所有lab的原文件；\n\n### [notes](./notes/)\n\n 是我写的笔记：\n\n- [Data Lab 笔记](./notes/datalab.md)\n\n涉及了位运算，补码和浮点数等内容，都是`C`语言程序设计题。\n\n- [Bomb Lab 笔记](./notes/bomb.md)\n\n拆除二进制炸弹，可以大大提升看汇编代码的能力。\n\n- [Attack Lab 笔记](./notes/attack.md)\n\n 这个lab主要涉及了栈随机化，不可执行等栈保护的方法和使栈溢出、ROP攻击等内容。\n\n- [Architecture Lab (Y86-64) 笔记](./notes/archlab.md)\n\n Architecture Lab，涉及了`Y86-64`指令集，和SEQ和PIPE的实现方式，以及程序优化等内容，可以熟悉汇编和硬件语言`HCL`。\n\n- [Performance Lab 笔记](./notes/perflab.md)\n\n这个lab在CMU已经被Cache Lab取代了，考虑到Cache Lab比较难，可以先做这个lab练练手。基于书上第五、六章对程序进行优化，主要用了循环分块消除缓存不命中和消除分支预测错误等方法。   \n\n- [Cache Lab 笔记](./notes/cachelab.md)\n\nPart A要求写一个缓存模拟器，Part B要求优化矩阵转置函数，减少缓存不命中数。这个lab可以加深对缓存的理解。已写完Part A。\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FExely%2FCSAPP-Labs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FExely%2FCSAPP-Labs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FExely%2FCSAPP-Labs/lists"}