skip to main
|
skip to sidebar
How To by Examples
simple examples of how to
Showing posts with label
function backtrace
.
Show all posts
Showing posts with label
function backtrace
.
Show all posts
Friday, October 21, 2011
[Cheating in C] How to know a certain function is called by which function.
When you want to know which function calls a function name A(), and there are many other functions that call A(), here is simple cheating.
First, find out the condition that you want to know who calls A() and make a hard coding there like this.
if( the condition you want ) {
int *a=0;
*a=0;
}
and run with GDB
Saturday, October 10, 2009
Kernel Function Backtrace
http://www.faqs.org/docs/Linux-HOWTO/Linux-Crash-HOWTO.html
Home
Subscribe to:
Posts (Atom)
Followers
Blog Archive
▼
2012
(6)
▼
July
(1)
segmentation fault (core dumped)
►
March
(2)
►
January
(3)
►
2011
(101)
►
December
(17)
►
November
(19)
►
October
(61)
►
September
(4)
►
2010
(1)
►
January
(1)
►
2009
(18)
►
December
(5)
►
November
(2)
►
October
(11)
About Me
jaeyong
View my complete profile