Parsi Coders
[Snip] Another anti debugger procedure - نسخه قابل چاپ

+- Parsi Coders (http://parsicoders.com)
+-- انجمن: Cracking / Anti Crack (http://parsicoders.com/forumdisplay.php?fid=75)
+--- انجمن: Anti Debug (http://parsicoders.com/forumdisplay.php?fid=76)
+---- انجمن: Delphi (http://parsicoders.com/forumdisplay.php?fid=81)
+---- موضوع: [Snip] Another anti debugger procedure (/showthread.php?tid=1099)



[Snip] Another anti debugger procedure - Amin_Mansouri - 10-17-2011

کد:
procedure antidbg;
var
  ok:Boolean;
begin
  ok:=False;
  try
    asm
        INT 2Dh
        nop
    end;
  except
    ok := True;
  end;
  if not ok then Application.Terminate;
end;