Thursday 7 November 2013

Singly Linked Lists and Memory Alignment - Access Violation Exception

I came across a interesting case, whereby a singly linked list wasn't correctly aligned for the MEMORY_ALLOCATION_ALIGNMENT boundary on x64 systems. My analysis and explanation of why it may have happened is within the thread, which will be posted below with some MSDN API documentation for you to study.

BSOD 0x0000001E, 1D, 3B on Computer Shutdown

Additional Information:

InterlockedFlushSList 

_aligned_malloc

How to use Interlocked Singly Linked Lists?

I've also opened a thread at Sysnative, regarding if it is possible to XOR a Singly Linked List, since I noticed a XOR Assembly instruction in one of the instructions.

[Question] Possible XOR a Singly Linked List?




No comments:

Post a Comment