how to monitor cpu instruction being called by a program [closed] - c

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
how to monitor cpu instruction being called by a program.

Depending on the platform, you might be able to run the program under a debugger, and single step through the assembly instructions to see exactly what it's doing.

try OllyDbg

Related

How to get the screen refresh rate using Xlib [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm looking for Xlib function or macro that will give me actual screen's refresh rate. Thanks.
Doing a quick search tells me it's not possible directly with xlib. However it seems possible using the XRandR extension, with the function XRRConfigRates.

Transitions of the process to different states [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Suppose I have a simple c program.I want to know the transitions this program makes that is if it goes into a blocked state or suspended state etc.,as it is getting executed.Can someone please explain taking a simple c program and going through the transitions for each line of code?
States are applicable to processes. A program under execution is referred to as a process.
This link would be a better way to understand different states of a process
http://en.wikipedia.org/wiki/Process_state

Size of Compiler [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I was exploring a bit on compilers.I had a question in my mind.I wanted to know whether,
C-Programming language provide*any programing function* to know the size of compiler being used?
I think it's safe to say "no". There isn't necessarily a meaningful answer -- it's entirely possible to build a single program with code from two (or more) different compilers.

How to use and edit Windows exceutable resources from C? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Can anyone tell me how to add a Windows string resource?
How to read it?
And, lastly, code for another C program to edit that resource.
thanx a lot in advance...hope you guyz don't laugh ..;)
Assuming that you are talking about Windows resources inside of executables, see this:
http://www.codeproject.com/KB/cpp/dynares.aspx

How do I write a compiler in C? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I want to write a compiler in C.
Whats basics do I have to learn for creating a compiler?
Start by reading the dragon book.
flex and yacc may help

Categories

Resources