Method and apparatus for providing seamless hooking and intercepting of selected kernel and HAL exported entry points in an operating system
AssigneeCompaq Computer Corporation
InventorThomas J. Bonola
Life of this patent
Estimating the term…
Loading patent…
AssigneeCompaq Computer Corporation
InventorThomas J. Bonola
Estimating the term…
In a computer system having at least one host processor, a method and apparatus for providing seamless hooking and interception of selected entrypoints includes finding the IDT for each CPU which can include scanning the HAL image for the HAL PCR list. Saving the interrupt handler currently mapped in the CPU's interrupt descriptor table. Patching the original interrupt into the new interrupt handler. Storing the new interrupt exception into the CPU's interrupt descriptor table. Hooking a select entrypoint by first determining if the entrypoint begins with a one byte instruction code. If it does, saving the address of the original entrypoint, saving the original first one byte instruction, and patching the new interrupt intercept routine to jump to the original entrypoint's next instruction.
A computer system comprising:
A computer system comprising:
In a computer system comprising at least one host processor, the host processor comprising an interrupt descriptor table and a harware abstraction layer, the hardware abstraction layer comprising a hardware abstraction layer table of system processor control registers, and a module providing a method for selectively hooking a public entrypoint having a logical address, said method of selectively hooking a public entrypoint comprising the steps of:
A method of selectively hooking a public entrypoint in a computer system comprising at least one host processor, the host processor comprising an interrupt descriptor table and a hardware abstraction layer, the hardware abstraction layer comprising a hardware abstraction layer table of system processor control registers, the method comprising the acts of:
Dependencies are inferred from the claim text.