Deprecated: How to debug app compatibility problems using kernel objects (HookKernelObjects)

Save to PDF

Applies to: Cloudhouse Containers pre AppAcceleratorV 4.5.249.22579

25/05/2019 Cliff Hobbs

Warning

As of AppAcceleratorV 4.5.249.22579, the feature HookKernelObjects is no longer supported. AppAcceleratorV provides all the required hooks by default.

Overview

To help diagnose problems with application compatibility, the Cloudhouse Compatibility Container™ engine provides full logging for the kernel objects detailed in the Hooked APIs info box below. This information is not available in ProcMon, and enabling this feature means that additional tools like APIMon are not required. Enable the HookKernelObjects feature switch in AppAcceleratorV.clc.

Note

Redirection rules are not applied to these APIs.

List of Hooked APIs:

  • CreateFileMappingA
  • CreateFileMappingW
  • OpenFileMappingA
  • OpenFileMappingW
  • CreateMutexA
  • CreateMutexW
  • CreateMutexExA
  • CreateMutexExW
  • OpenMutexA
  • OpenMutexW
  • CreateEventA
  • CreateEventW
  • CreateEventExA
  • CreateEventExW
  • OpenEventA
  • OpenEventW
  • CreateSemaphoreExA
  • CreateSemaphoreExW
  • OpenSemaphoreA
  • OpenSemaphoreW

Step-by-step process

To enable kernel logging:

  1. Open file AppAcceleratorV.clc
  2. Enable full logging for AAV by following the How to enable AAV logging in releases prior to 1903 section of How to enable Container (AAV) logging.
  3. Uncomment the HookKernalObjects feature.
<Features>
  <Feature>HookKernelObjects</Feature>
</Features>
Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support