91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 5.08MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2024-02-01
  • 語言: 其他
  • 標簽: csapp實驗??

資源簡介

深入理解計算機系統及實驗

資源截圖

代碼片段和文件信息

/***************************************************************************
?*?Dr.?Evil‘s?Insidious?Bomb?Version?1.0
?*?Copyright?2002?Dr.?Evil?Incorporated.?All?rights?reserved.
?*
?*?LICENSE:
?*
?*?Dr.?Evil?Incorporated?(the?PERPETRATOR)?hereby?grants?you?(the
?*?VICTIM)?explicit?permission?to?use?this?bomb?(the?BOMB).??This?is?a
?*?time?limited?license?which?expires?on?the?death?of?the?VICTIM.
?*?The?PERPETRATOR?takes?no?responsibility?for?damage?frustration
?*?insanity?bug-eyes?carpal-tunnel?syndrome?loss?of?sleep?or?other
?*?harm?to?the?VICTIM.??Unless?the?PERPETRATOR?wants?to?take?credit
?*?that?is.??The?VICTIM?may?not?distribute?this?bomb?source?code?to
?*?any?enemies?of?the?PERPETRATOR.??No?VICTIM?may?debug
?*?reverse-engineer?run?“strings“?on?decompile?decrypt?or?use?any
?*?other?technique?to?gain?knowledge?of?and?defuse?the?BOMB.??BOMB
?*?proof?clothing?may?not?be?worn?when?handling?this?program.??The
?*?PERPETRATOR?will?not?apologize?for?the?PERPETRATOR‘s?poor?sense?of
?*?humor.??This?license?is?null?and?void?where?the?BOMB?is?prohibited
?*?by?law.
?***************************************************************************/

#include?
#include?“support.h“
#include?“phases.h“

/*?
?*?Note?to?self:?Remember?to?erase?this?file?so?my?victims?will?have?no
?*?idea?what?is?going?on?and?so?they?will?all?blow?up?in?a
?*?spectaculary?fiendish?explosion.?--?Dr.?Evil?
?*/

FILE?*infile;

int?main(int?argc?char?*argv[])
{
????char?*input;

????/*?Note?to?self:?remember?to?port?this?bomb?to?Windows?and?put?a?
?????*?fantastic?GUI?on?it.?*/

????/*?When?run?with?no?arguments?the?bomb?reads?its?input?lines?
?????*?from?standard?input.?*/
????if?(argc?==?1)?{??
infile?=?stdin;
????}?

????/*?When?run?with?one?argument??the?bomb?reads?from??
?????*?until?EOF?and?then?switches?to?standard?input.?Thus?as?you?
?????*?defuse?each?phase?you?can?add?its?defusing?string?to??and
?????*?avoid?having?to?retype?it.?*/
????else?if?(argc?==?2)?{
if?(!(infile?=?fopen(argv[1]?“r“)))?{
????printf(“%s:?Error:?Couldn‘t?open?%s\n“?argv[0]?argv[1]);
????exit(8);
}
????}

????/*?You?can‘t?call?the?bomb?with?more?than?1?command?line?argument.?*/
????else?{
printf(“Usage:?%s?[]\n“?argv[0]);
exit(8);
????}

????/*?Do?all?sorts?of?secret?stuff?that?makes?the?bomb?harder?to?defuse.?*/
????initialize_bomb();

????printf(“Welcome?to?my?fiendish?little?bomb.?You?have?6?phases?with\n“);
????printf(“which?to?blow?yourself?up.?Have?a?nice?day!\n“);

????/*?Hmm...??Six?phases?must?be?more?secure?than?one?phase!?*/
????input?=?read_line();?????????????/*?Get?input???????????????????*/
????phase_1(input);??????????????????/*?Run?the?phase???????????????*/
????phase_defused();?????????????????/*?Drat!??They?figured?it?out!
??????*?Let?me?know?how?they?did?it.?*/
????printf(“Phase?1?defused.?How?about?the?next?one?\n“);

????/*?The?second?phase?is?harder.??No?one?will?ever?figure?out
?????*?how?to?defuse?this...?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????768000??2007-05-06?10:46??csapp_lab\archlab-handout1.tar

?????文件?????768000??2007-05-06?10:46??csapp_lab\archlab-handout2.tar

?????文件??????20338??2007-04-06?16:22??csapp_lab\bomb2\bomb

?????文件??????20261??2007-04-06?16:22??csapp_lab\bomb2\bomb-quiet

?????文件???????4049??2007-04-06?16:22??csapp_lab\bomb2\bomb.c

?????文件???????5323??2007-04-06?16:28??csapp_lab\bomb2\defuseStat.htm

?????文件?????????21??2007-04-06?16:22??csapp_lab\bomb2\ID

?????文件???????9128??2007-04-06?16:22??csapp_lab\bomb2\phases.c

?????文件?????????98??2007-04-06?16:22??csapp_lab\bomb2\README

?????文件????????107??2007-04-06?16:22??csapp_lab\bomb2\solution.txt

?????文件??????20338??2007-04-06?16:22??csapp_lab\bomb5\bomb

?????文件??????20261??2007-04-06?16:22??csapp_lab\bomb5\bomb-quiet

?????文件???????4049??2007-04-06?16:22??csapp_lab\bomb5\bomb.c

?????文件???????5323??2007-04-06?16:28??csapp_lab\bomb5\defuseStat.htm

?????文件?????????21??2007-04-06?16:22??csapp_lab\bomb5\ID

?????文件???????7826??2007-04-06?16:22??csapp_lab\bomb5\phases.c

?????文件?????????98??2007-04-06?16:22??csapp_lab\bomb5\README

?????文件????????117??2007-04-06?16:22??csapp_lab\bomb5\solution.txt

?????文件??????40960??2007-04-19?13:36??csapp_lab\buflab-handout.tar

?????文件?????952320??2007-05-06?10:45??csapp_lab\datalab-handout.tar

?????文件??????61440??2007-05-06?10:46??csapp_lab\perflab-handout.tar

?????文件??????57075??2007-04-18?17:54??csapp_lab\perflab.pdf

?????文件?????235520??2007-04-19?13:38??csapp_lab\ringbuf.tar

?????文件?????135680??2007-03-18?10:21??csapp_lab\二進制炸彈實驗說明.doc

?????文件?????169984??2007-04-14?16:30??csapp_lab\緩沖區溢出實驗說明.doc

?????文件????4929177??2007-10-19?15:35??csapp.pdf

?????目錄??????????0??2007-12-03?11:42??csapp_lab\bomb2

?????目錄??????????0??2007-12-03?11:42??csapp_lab\bomb5

?????目錄??????????0??2007-12-03?11:42??csapp_lab

-----------?---------??----------?-----??----

............此處省略2個文件信息

評論

共有 條評論