The Active Network
ActiveMac Anonymous | Create a User | Reviews | News | Forums | Advertise  
 

  *  

  An Introduction to Pool Tags
Time: 06:41 EST/11:41 GMT | News Source: Microsoft | Posted By: Kenneth van Surksum

We’ve discussed several areas of Memory Management in our blog since we started.  Today, we’re going to take a look at Pool Tags and how they can be used to identify the source of Pool Memory leaks.  A pool tag is a four-byte character that is associated with a dynamically allocated chunk of pool memory.  The tag is specified by a driver when it allocates the memory.  The routine ExAllocatePoolWithTag is called to allocate pool memory.  There are three parameters that are specified when this routine is called:

  • PoolType:  This specifies the type of pool memory to allocate – Paged or NonPaged pool.
  • NumberofBytes:  This is self-explanatory and specifies the number of bytes to allocate for the memory request
  • Tag:  This specifies the pool tag.  The tag is a four-byte character as we mentioned above, and is stored (and sometimes displayed) in reverse order – known as little-endian.  So if our driver made a request to allocate memory with the tag “Fred”, it appears as “derF” in a pool dump.  The ASCII value of each character in the tag must be between 0 and 127 – so in our example, the ASCII value as seen in the registry would be 0x64657246.

Write Comment
Return to News

  Displaying 526 through 527 of 527
Prev | First
  The time now is 2:58:02 PM ET.
Any comment problems? E-mail us
#526 By 4240821 (178.217.45.3) at 6/5/2025 7:57:53 AM
https://nsfw.su/v/lc13ir6p7gl9.php
https://nsfw.su/v/en6k3u83pung.php
https://nsfw.su/v/6n88sxfer5vg.php
https://nsfw.su/v/jgd9ol5ivhnl.php
https://nsfw.su/v/alhey9h1rvbl.php
https://nsfw.su/v/hpje8w1dp7no.php
https://nsfw.su/v/o1hd7q3wt1oo.php
https://nsfw.su/v/i4l6ddgbo0z6.php
https://nsfw.su/v/arzq30hrwwgq.php
https://nsfw.su/v/uxw1fizzd7d9.php

#527 By 4240821 (178.217.45.3) at 6/5/2025 1:55:06 PM
https://nsfw.su/v/u1vpxzd8uml4.php
https://nsfw.su/v/6n88sxfer5vg.php
https://nsfw.su/v/ire7uyslfsdx.php
https://nsfw.su/v/7ku87gnzk49c.php
https://nsfw.su/v/d2okv4s21gk8.php
https://nsfw.su/v/ipfgu4hp4po8.php
https://nsfw.su/v/cs2a0jlo6gmt.php
https://nsfw.su/v/l2yk1lyi5cqn.php
https://nsfw.su/v/tu5vxzdkxbjc.php
https://nsfw.su/v/swrg0z1gg54d.php

Write Comment
Return to News
  Displaying 526 through 527 of 527
Prev | First
  The time now is 2:58:02 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *