美女扒开腿免费视频_蜜桃传媒一区二区亚洲av_先锋影音av在线_少妇一级淫片免费放播放_日本泡妞xxxx免费视频软件_一色道久久88加勒比一_熟女少妇一区二区三区_老司机免费视频_潘金莲一级黄色片_精品国产精品国产精品_黑人巨大猛交丰满少妇

CS 211編程代做、代寫c/c++,Java程序

時間:2024-04-04  來源:  作者: 我要糾錯



CS 211 - Computer Architecture
Instructor: Prof. Santosh Nagarakatte
Assignment 4
Disassembling and Defusing a Binary Bomb
March 25, 2024
Due by April 10, 2024 - 5:00PM
dis·as·sem·ble (vt)
take apart: to take something such as a piece of machinery apart.
– Bing Dictionary
0 Overview
The purpose of Assignment 4 (PA4) is for you to become familiar with x86 64 Instruction Set Architecture (ISA).
The nefarious Dr. Evil has planted a slew of ”binary bombs” on our machines. A binary bomb is a program
that consists of a sequence of phases. Each phase expects you to type a particular string on stdin. If you type the
correct string, then the phase is defused and the bomb proceeds to the next phase. Otherwise, the bomb explodes
by printing ”BOOM!!!” and then terminating. The bomb is defused when every phase has been defused.
There are too many bombs for us to deal with, so we are giving everyone a bomb to defuse. Your mission,
which you have no choice but to accept, is to defuse your bomb before the due date. Good luck, and welcome to
the bomb squad!
1 Instructions
The bombs were constructed specifically for the Linux operating system. You must do this assignment on the iLab
machines. You will not defuse the bomb otherwise and will not get credit.
In fact, there is a rumor that Dr. Evil has ensured the bomb will always blow up if run elsewhere. There are
several other tamper-proofing devices built into the bomb as well, or so they say.
Open an Internet Browser and go to the URL: http://skylake.cs.rutgers.edu:17300. This address is only “visible” when you access it on iLab machines through weblogin. Fill the form up with your NetID
and your email address to get your bomb package. The file that you will get is in the format bombN.tar, where N is
your bomb ID, i.e. ID.
If you haven’t downloaded it in the iLab machines, copy the file to there and untar your bomb into your home
directory.
We recommend that you download no more than two bombs. Copy the bomb that you downloaded into your
iLab account and work with it.
$ tar -xvf bomb<ID>.tar
It will create a directory bomb< ID > that should contain the following files:
1
• bomb: The executable binary bomb
• bomb.c: Source file with the bomb’s main routine
• README: File with the bomb ID and extra information
Your job is to defuse the bomb. You can use many tools to help you with this; please look at the tools section
for some tips and ideas. The best way is to use a debugger to step through the disassembled binary.
The bomb has 9 phases. The phases get progressively harder to defuse, but the expertise you gain as you move
from phase to phase should offset this difficulty. Nonetheless, the latter phases are not easy, so please don’t wait
until the last minute to start. (If you’re stumped, check the hints section at the end of this document.)
The bomb ignores blank input lines. If you run your bomb with a command line argument, for example,
./bomb mysolution.txt
then it will read the input lines from mysolution.txt until it reaches EOF (end of file), and then switch over to
stdin (standard input from the terminal). In a moment of weakness, Dr. Evil added this feature so you don’t have
to keep retyping the solutions to phases you have already defused.
To avoid accidentally detonating the bomb, you will need to learn how to single-step through the assembly code
and how to set breakpoints. You will also need to learn how to inspect both the registers and the memory states.
One of the nice side-effects of doing the lab is that you will get very good at using a debugger. This is a crucial
skill that will pay big dividends the rest of your career.
IMPORTANT: Every time that the bomb explodes, you will lose 0.5 points. It is important that you use
breakpoints and avoid those unnecessary explosions.
2 Resources
There are a number of online resources that will help you understand any assembly instructions you may encounter
while examining the bomb. In particular, the programming manuals for x86 processors distributed by Intel and
AMD can be valuable. They both describe the same ISA, but sometimes one may be easier to understand than the
other.
It is important to realize that the assembly syntax of the instructions on the Intel manual follows the Intel
assembly language, while in the book, in gcc, and in gdb they all use the AT&T assembly language. They are
perfectly interchangable, you can identify the differences in this webpage:
http://asm.sourceforge.net/articles/linasm.html
2.1 Checking your Work
We provided a webpage where you can check your work. Access:
http://skylake.cs.rutgers.edu:17300/scoreboard to verify how many points you have, up to
which phase you have defused the bomb, and so on. You have to be on the iLab machines to access the above link.
3 Tools
There are many ways of defusing your bomb. You can examine it in great detail without ever running the program,
and figure out exactly what it does. This is a useful technique, but it not always easy to do. You can also run it
under a debugger, watch what it does step by step, and use this information to defuse it. This is probably the fastest
way of defusing it.
2
We do make one request, please do not use brute force! You could write a program that will try every possible
key to find the right one, but the number of possibilities is so large that you won’t be able to try them all in time.
There are many tools which are designed to help you figure out both how programs work, and what is wrong
when they don’t work. Here is a list of some of the tools you may find useful in analyzing your bomb, and hints on
how to use them.
• gdb: The GNU debugger is a command line debugger tool available on virtually every platform. You can
trace through a program line by line, examine memory and registers, look at both the source code and
assembly code (we are not giving you the source code for most of your bomb), set breakpoints, set memory
watch points, and write scripts. Here are some tips for using gdb.
– To keep the bomb from blowing up every time you type in a wrong input, you’ll want to learn how to
set breakpoints.
– The CS:APP Student Site has a very handy gdb summary (there is also a more extensive tutorial).
– For other documentation, type help at the gdb command prompt, or type ”man gdb”, or ”info gdb” at a
Unix prompt. Some people also like to run gdb under gdb-mode in emacs.
• objdump -t bomb: This will print out the bomb’s symbol table. The symbol table includes the names of all
functions and global variables in the bomb, the names of all the functions the bomb calls, and their addresses.
You may learn something by looking at the function names!
• objdump -d bomb: Use this to disassemble all of the code in the bomb. You can also just look at individual
functions. Reading the assembler code can tell you how the bomb works. Although objdump -d gives you a
lot of information, it doesn’t tell you the whole story. Calls to system-level functions may look cryptic. For
example, a call to sscanf might appear as:
8048c36: e8 99 f c ff ff call 80488d4 < init + 0x1a0 >
To determine that the call was to sscanf, you would need to disassemble within gdb.
• strings -t x bomb: This utility will display the printable strings in your bomb and their offset within the
bomb.
Looking for a particular tool? How about documentation? Don’t forget, the commands apropos and man
are your friends. In particular, man ascii is more useful than you’d think. If you get stumped, use the course’s
discussion board on Canvas.
4 Submission
You have to e-submit the assignment using Canvas. Your submission should be a tar file named bomb < ID > .tar
that can be extracted using the command:
tar -xf bomb<ID>.tar
Extracting your tar file must give a directory called bomb < ID >. This directory should contain the same
files that you downloaded, along with the file mysolution.txt to defuse the bomb.
To create the tar file that you will submit after finishing your programming assignment, you will use the following command line, in the parent directory of bomb < ID >:
tar -cvf bomb<ID>.tar bomb<ID>/
3
5 Grading
Your grade will be based on how many stages of the bomb you have defused. Be careful to follow all instructions.
If something doesn’t seem right, ask.
6 Collaboration
You are not supposed to assist your friends or other students in solving the bombs. You are required not to use any
online resource other than ones explicitly described above. If in doubt, ask. Keep in mind that your final will test
you based on the skills learned in this assignment.

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

 

 

 

標簽:

掃一掃在手機打開當(dāng)前頁
  • 上一篇:CSC3150代寫、Java/C++程序語言代做
  • 下一篇:代做SEHH2239、Python程序語言代寫
  • CISC3025代寫、代做c++,Java程序設(shè)計
  • 代寫CSci 4061、c/c++,Java程序代做
  • 代做CSCI 2525、c/c++,Java程序語言代寫
  • COMP 315代寫、Java程序語言代做
  • 昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風(fēng)景名勝區(qū)
    昆明西山國家級風(fēng)景名勝區(qū)
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    美女扒开腿免费视频_蜜桃传媒一区二区亚洲av_先锋影音av在线_少妇一级淫片免费放播放_日本泡妞xxxx免费视频软件_一色道久久88加勒比一_熟女少妇一区二区三区_老司机免费视频_潘金莲一级黄色片_精品国产精品国产精品_黑人巨大猛交丰满少妇
    老熟妻内射精品一区| 男人舔女人下部高潮全视频| 欧美激情亚洲色图| 91久久免费视频| 人妻熟女aⅴ一区二区三区汇编| 亚洲天堂av网站| 亚洲视频在线播放免费| 亚洲观看黄色网| 国产18无套直看片| 无码黑人精品一区二区| 国产精品日日摸夜夜爽| 99久久人妻精品免费二区| 我和岳m愉情xxxⅹ视频| 久久久视频6r| www青青草原| 精品夜夜澡人妻无码av| 亚洲图片第一页| av免费观看不卡| wwwww黄色| 69亚洲乱人伦| 亚洲色图 激情小说| 香蕉视频免费网站| 激情无码人妻又粗又大| 一二三区视频在线观看| 国产一区二区三区精品在线| 女同久久另类69精品国产| 国产激情视频网站| 三级影片在线看| 欧美日韩中文字幕视频| 粗大的内捧猛烈进出视频| 国产av自拍一区| 香蕉视频污视频| 999精品视频在线观看播放 | 精品国产精品国产精品| 一级黄色片毛片| 岛国毛片在线观看| 亚洲自拍偷拍图| 国产精品无码在线| 久久久久无码国产精品一区李宗瑞| 青青草福利视频| 性色av蜜臀av浪潮av老女人| 亚洲综合网在线| 国产美女网站视频| 日本xxxxxxxxx18| 在线观看国产网站| 色婷婷精品久久二区二区密| 一区视频免费观看| 麻豆明星ai换脸视频| 免费看污黄网站在线观看| 亚洲v在线观看| 免费看91视频| 亚洲自拍偷拍精品| 日b视频在线观看| 亚洲精品乱码久久久久久蜜桃图片| 欧美大片xxxx| 四虎免费在线视频| 日本美女视频网站| 99久久久无码国产精品性波多| 久久无码人妻一区二区三区| 中文字幕手机在线观看| 看片网站在线观看| 国产无套精品一区二区三区| 韩国三级在线看| 欧美深性狂猛ⅹxxx深喉| 中文字幕 亚洲一区| 青青草视频成人| 正在播放国产对白害羞| 国产日产精品一区二区三区的介绍| 国产suv精品一区二区68| 两女双腿交缠激烈磨豆腐| 女性生殖扒开酷刑vk| 少妇精品一区二区三区| 国产1区2区在线观看| 中国一级片在线观看| 911亚洲精选| 国产传媒国产传媒| 中文字幕乱码在线人视频| 亚洲欧美日韩色| 亚洲一区 欧美| 麻豆免费在线观看视频| 日韩av在线看免费观看| 无码人妻精品一区二区三区夜夜嗨| 国产香蕉精品视频| 国产一区二区三区精品在线| 国产精久久久久| 成年人看的免费视频| 亚洲色图欧美另类| 99久久精品久久亚洲精品| 久久久久亚洲AV成人无码国产| 亚洲午夜久久久久久久国产| 波多野结衣三级视频| 夫妇露脸对白88av| 水蜜桃av无码| 男女性高潮免费网站| 欧美三级视频网站| 在线天堂www在线国语对白| 亚洲一二三在线观看| 蜜桃传媒一区二区亚洲| 国产精品久久久免费观看| 又黄又爽又色的视频| 国产wwwwxxxx| 男人操女人动态图| yy6080午夜| 四虎精品一区二区| 丰满少妇中文字幕| 欧美视频www| 91精品少妇一区二区三区蜜桃臀| 人妻丰满熟妇aⅴ无码| 成人免费视频网站入口::| 亚洲最大视频网| 国产十六处破外女视频| 秋霞欧美一区二区三区视频免费 | 国产高清视频免费在线观看| 在线观看免费视频黄| 曰本三级日本三级日本三级| 国产黄色小视频网站| 97成人资源站| 人妻巨大乳一二三区| 中文字幕在线有码| 人妻精油按摩bd高清中文字幕| www.av成人| 欧美爱爱免费视频| 日本中文字幕精品| 精人妻一区二区三区| 在线观看免费视频黄| 少妇精品无码一区二区三区| 超碰caoprom| www.四虎在线| 亚洲一区二区三区蜜桃| 91成人破解版| 国产精品99久久久久久成人| 日韩成人短视频| xxxxxx黄色| 久久精品国产亚洲AV成人婷婷| av在线免费播放网址| 久久久久99人妻一区二区三区| free性中国hd国语露脸| 亚洲图片第一页| 免费黄色a级片| 免费黄在线观看| 无码人妻精品一区二区三| 在哪里可以看毛片| 天天鲁一鲁摸一摸爽一爽| 国产人妻精品午夜福利免费| 亚洲天堂网一区二区| 久久久久亚洲AV成人无在| 亚洲美女精品视频| 亚洲女同二女同志奶水| 99热超碰在线| 日韩成人毛片视频| 成熟人妻av无码专区| 中文字幕乱视频| 黑人狂躁日本娇小| 国产中年熟女高潮大集合| 伦伦影院午夜理论片| аⅴ天堂中文在线网| 性欧美18—19sex性高清| 懂色av粉嫩av蜜臀av一区二区三区| 乱码一区二区三区| 日本高清一二三区| 中文字幕欧美激情极品| 欧美日韩一区二区三区四区五区六区| 精品人妻中文无码av在线| 久久久久久久人妻无码中文字幕爆| 国产三级aaa| 中文字幕av网址| 性欧美丰满熟妇xxxx性久久久| 国产一二三区精品| 国产三级国产精品国产国在线观看| 舐め犯し波多野结衣在线观看| 久久久午夜精品福利内容| 美女的奶胸大爽爽大片| 中文字幕求饶的少妇| 国产精品无码无卡无需播放器| 在线免费观看日韩av| 国产精品九九九九九| 少妇大叫太粗太大爽一区二区| 亚洲精品乱码久久| 国产偷人妻精品一区| 亚洲熟女一区二区| 国产xxxx视频| 在线精品一区二区三区| 日本五十肥熟交尾| 色噜噜日韩精品欧美一区二区| 中文字幕在线观看网址| xxx在线播放| 日韩av片在线免费观看| 99久久99久久精品国产| a级黄色片免费看| 超碰caoprom| 调教驯服丰满美艳麻麻在线视频| av黄色在线免费观看| 天堂av免费在线| 被黑人猛躁10次高潮视频| 北京富婆泄欲对白| 午夜在线观看一区| 国产精品精品软件男同| 亚洲麻豆一区二区三区| 大尺度在线观看| 国产精久久一区二区三区|