aXiEd
Aktives Mitglied
Thread Starter
- Dabei seit
- 01.08.2006
- Beiträge
- 885
- Reaktionspunkte
- 68
Hallo, ich häng hier grad mit einem Freund an ner Aufgabe, die wie folgt aussieht:
Wir glauben dass D() nicht erkennen kann dass CV ein Virus ist, jedoch fehlt uns die richtige Begründung.
Weiß jemand Rat?
The question arises as to whether it is possible to develop a program that can analyze a piece of software to determine if it is a virus. Consider that we have a program D that is supposed to be able to do that. That is, for any program P, if we run D(P), the result returned is TRUE (P is a virus) or FALSE (P is not a virus). Now consider the following program:
Code:Program CV := {... main-program := {if D(CV) then goto next: else infect-executable; } next: }
In the preceding program, infect-executable is a module that scans memory for executable programs and replicates itself in thosse programs. Determine if D can correctly decide whether CV is a virus.
Wir glauben dass D() nicht erkennen kann dass CV ein Virus ist, jedoch fehlt uns die richtige Begründung.
Weiß jemand Rat?