Re: [PATCH v2] arm: print alloc free paths for address in registers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 

> Instead of your changes to SL*B, could you check mem_dump_obj() and others added
> by Paul in 5.12-rc1?

> (+CC Paul, thus not trimming)

 

checked mem_dump_obj(), but it only provides path of allocation and not of free.

/**
 * mem_dump_obj - Print available provenance information

..

 * if available, the return address and stack trace from the allocation
 * of that object.
 */
void mem_dump_obj(void *object)

and in case of "Use After Free", Free path is also required.

So we need to add support for free path in this API if we have to use it.

 

Thanks,

Maninder Singh


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux