Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

SafeMM

SafeMM

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Description: A "proof of concept" unit for using OS functionality to raise an AV when an improper attempt is made to read or write memory.

Usage: To use SafeMM as a replacement memory manager in a standalone application add the SafeMMInstall as the first unit in the project uses clause. Then run the application under the debugger. If an invalid memory access is detected an Access Violation will be generated.

For applications using ShareMem, compile the borlndmm.dpr project and copy the resulting borlndmm.dll into the application bin directory.

To use SafeMM with the IDE (BDS.exe), backup and replace the borlndmm.dll file in the directory where BDS.exe is installed.