Giter Club home page Giter Club logo

csapp-labs's Issues

attack lab第三题是直接修改了strncmp的参数吧

直接将strncmp的第二个参数sval修改为我们的cookie
使得匹配成功
对把


哦 , 这个hexmatch已经默认将两个待匹配的字符串设置为相等的直了
中间用sprintf把s改为hex
所以只需要把cookie的hex给rdi,rdi会给rsi

archlab中循环展开优化bug解决

笔记中提到的archlab的Part C部分循环展开优化时,将8次展开和4次展开相结合出现的问题(参考文件labs/archlab/sim/pipe/mncopy.ys)应该是由于跳转的名称出现重复(8次和4词都从ele1开始编号,但是终止语句并不相同)导致问题。经过实验把4次循环的ele名称和之前的区分开来即可通过全部测试并将Average CPE降到8.64。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.