Delphi-PRAXiS
Seite 1 von 6  1 23     Letzte »    

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi "Schutz" vor Resource Hacker(ResHack) ? (https://www.delphipraxis.net/4204-schutz-vor-resource-hacker-reshack.html)

Pseudemys Nelsoni 19. Apr 2003 03:01


"Schutz" vor Resource Hacker(ResHack) ?
 
hoi

kann ich irgendwie verhindern das man mit dem prog(siehe topic) mein project öffnen kann?
ich mein das muss ja nich jeder sehn wie ich mein prog gemacht hab

danke ;)

gruss silent

Luckie 19. Apr 2003 03:17

Mit UPX packen sollte schon etwas helfen. Kann man zwar auch umgehen, aber da ist es schon nötig mit dem Hex-Editor deinem Programm zu Leibe zurücken.

Warum willst du die Ressourcen verstecken? Sind deine Bitmaps und Icon so schützens wert?

Pseudemys Nelsoni 19. Apr 2003 04:00

nein, aber die strings, und muss ja nicht jeder sehen das ich den client mit der indy irc kompo gemacht hab, reicht wenn ich weiss das ich newb bin :D

danke btw

gruss silent

Pseudemys Nelsoni 19. Apr 2003 04:30

btw, wie funzt das mit upx?

Sharky 19. Apr 2003 05:48

Zitat:

Zitat von silent
btw, wie funzt das mit upx?

UPX ist ein EXE-Packer. Das Programm komprimiert deine EXE-Files. Diese bleiber aber weiterhin startbar. Im prinzip wird dein Programm gepackt und erst beim starten der EXE in den Arbeitsspeicher entpackt.

Bei mir bringt das eine grössen reduzierung der EXEs von ca. 60%.

d3g 19. Apr 2003 08:24

Zitat:

Zitat von Luckie
Mit UPX packen sollte schon etwas helfen. Kann man zwar auch umgehen, aber da ist es schon nötig mit dem Hex-Editor deinem Programm zu Leibe zurücken.

Und was ist mit upx -d executable?

Luckie 19. Apr 2003 11:08

Hm? OK. Gewonnen. :mrgreen:

APP 19. Apr 2003 11:13

Hallo,
btw, es gibt auch einen interessanten Artikel warum man solche Kompressoren NICHT verwenden sollte...

Zitat:

Why not use an EXE compressor?


Some have asked why I made StripReloc when there are EXE compression programs such as ASPack and UPX that will trim more bytes off of executables than StripReloc ever could.

The reason is there are downsides to using EXE compressors. Most notably:

Upon startup of a compressed EXE/DLL, all of the code is decompressed from the disk image into memory in one pass, which can cause disk thrashing if the system is low on memory and is forced to access the swap file. In contrast, with uncompressed EXE/DLLs, the OS allocates memory for code pages on demand (i.e. when they are executed).
Multiple instances of a compressed EXE/DLL create multiple instances of the code in memory. If you have a compressed EXE that contains 1 MB of code (before compression) and the user starts 5 instances of it, approximately 4 MB of memory is wasted. Likewise, if you have a DLL that is 1 MB and it is used by 5 running applications, approximately 4 MB of memory is wasted. With uncompressed EXE/DLLs, code is only stored in memory once and is shared between instances.
Some older virus scanners flag compressed EXE/DLLs as being virus-infected. (This is this reason I stopped compressing Inno Setup's EXEs.)
(gefunden bei Jordan Russell)

Luckie 19. Apr 2003 11:25

Jupp. Es ist bekannt, dass UPX den Windows-Memory-Manager aushebeln.

Daniel 19. Apr 2003 11:27

Zitat:

Zitat von Luckie
Jupp. Es ist bekannt, dass UPX den Windows-Memory-Manager aushebeln.

...aber dennoch nie verkehrt, darauf hinzuweisen. :wink:


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:15 Uhr.
Seite 1 von 6  1 23     Letzte »    

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz