exely / csapp-labs Goto Github PK
View Code? Open in Web Editor NEWSolutions and Notes for Labs of Computer Systems: A Programmer's Perspective 3rd Editon // 《深入理解计算机系统》第三版的实验文件、解答与笔记
Solutions and Notes for Labs of Computer Systems: A Programmer's Perspective 3rd Editon // 《深入理解计算机系统》第三版的实验文件、解答与笔记
笔记中提到的archlab的Part C部分循环展开优化时,将8次展开和4次展开相结合出现的问题(参考文件labs/archlab/sim/pipe/mncopy.ys
)应该是由于跳转的名称出现重复(8次和4词都从ele1
开始编号,但是终止语句并不相同)导致问题。经过实验把4次循环的ele
名称和之前的区分开来即可通过全部测试并将Average CPE降到8.64。
要求是:Integer constants 0 through 255 (0xFF
), inclusive. You are not allowed to use big constants such as 0xffffffff
.
直接将strncmp的第二个参数sval修改为我们的cookie
使得匹配成功
对把
哦 , 这个hexmatch已经默认将两个待匹配的字符串设置为相等的直了
中间用sprintf把s改为hex
所以只需要把cookie的hex给rdi,rdi会给rsi
我最近也在读 CSAPP 第三版,但是我没有账号,无法下载 lab 的代码。你可以把所有 lab 的代码上传吗?
不能用%r15是因为Y86-64没有%r15寄存器
如果可以的话,请教教我
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.