A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/021642.html below:

[Python-Dev] Debug entry points for PyMalloc

[Python-Dev] Debug entry points for PyMalloc [Python-Dev] Debug entry points for PyMallocMartin v. Loewis martin@v.loewis.de
22 Mar 2002 20:51:30 +0100
Michael Hudson <mwh@python.net> writes:

> > Is something extraordinary required to make that possible?  I had in mind
> > nothing fancier than
> > 
> > extern void _PyMalloc_DebugCheckAddress(void* p);
> 
> Dunno.  I ought to learn how to use gdb properly.

That should work fine from gdb. You need a well-known entry point
(i.e. no macros), and you need "scalar" arguments (i.e. no memory
allocation, structures, etc). Passing void* works fine if you know the
integer value of the address.

Regards,
Martin



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4