stack frame structure of intel compiler - Compilers

This is a discussion on stack frame structure of intel compiler - Compilers ; Hello, I am trying out a stack dumping program that dumps the content of the complete call stack on a Intel Linux box. I noticed that generally the stack frames are of the following format(noted with intel compiler) ebp --------- ...

+ Reply to Thread
Results 1 to 3 of 3

stack frame structure of intel compiler

  1. Default stack frame structure of intel compiler

    Hello,

    I am trying out a stack dumping program that dumps the content of the
    complete call stack on a Intel Linux box. I noticed that generally the
    stack frames are of the following format(noted with intel compiler)

    ebp
    ---------
    return pc
    args to next func
    :
    temporary storage / padding
    :
    local variables
    :
    ebp
    ---------
    return pc

    The ebp and return pc can be easily traversed and highlighted. Local
    variables though not dynamic determining the boundaries to mark them
    out is one of my intentions. The temporary storage seems to be
    completely under the control of the compiler.

    Can you point me to some document by which I can know

    - what is the size of the temporary storage in any arbitrary stack
    frame (its boundaries)

    - what is the boundary of the local variable part

    - If I can print variable names and their sizes along side their
    addresses my routine will be of great value.

    Any other regions in the stack frame I am missing ?

    Thanks,
    Suman.
    [All of the x86 compilers I know use the stack frame format specified
    a long time ago in the System V Interface Definition. -John]


  2. Default Re: stack frame structure of intel compiler

    too much, nor will they have to make 10 trips back and fourth from the
    service stations.



    Roast Leg of Amputee

    By all means, substitute lamb or a good beef roast if the haunch
    it is in any way diseased. But sometimes surgeons make mistakes,
    and if a healthy young limb is at hand, then don?t hesitate to cook
    it to perfection!

    1 high quality limb, rack, or roast
    Potatoes, carrot
    Oil
    celery
    onions
    green onions
    parsley
    garlic
    salt, pepper, etc
    2 cups beef stock

    Marinate meat (optional, not necessary with better cuts).
    Season liberally and lace with garlic cloves by making incisions,
    and placing whole cloves deep into the meat.
    Grease a baking pan, and fill with a thick bed of onions,
    celery, green onions, and parsley.
    Place roast on top with fat side up.
    Place uncovered in 500° oven for 20 minutes, reduce oven to 325°.
    Bake till medium rare (150°) and let roast rest.
    Pour stock over onions and drippings, carve the meat and
    place the slices in the au jus.



    Bisque ŕ l?Enfant

    Honor the memory of Grandma with this dish by utilizing her good
    silver soup tureen and her great grandchildren (crawfish, crab or
    lobster will work just as well, however this dish is classically
    made with crawfish).

    Stuffed infant heads, stuffed crawfish heads, stuffed crab or lobster shells;
    make patties if shell or head is not available
    (such as with packaged crawfish, crab, or headless baby).
    Flour
    oil
    onions
    bell peppers
    garlic salt, pepper, etc.
    3 cups chicken stock
    2 sticks butter
    3 tablespoons oil

    First stuff the heads, or make the patties (see index)
    then fry or bake.
    Set aside to drain on paper towels.
    Make a roux with butter, oil and flour,
    brown vegetables in the roux, then add chicken stock and
    allow to simmer for 20 minutes.
    Add the pat



  3. Default Re: stack frame structure of intel compiler

    Spaghetti with Real Italian Meatballs

    If you don?t have an expendable bambino on hand,
    you can use a pound of ground pork instead.
    The secret to great meatballs, is to use very lean meat.

    1 lb. ground flesh; human or pork
    3 lb. ground beef
    1 cup finely chopped onions
    7 - 12 cloves garlic
    1 cup seasoned bread crumbs
    ˝ cup milk, 2 eggs
    Oregano
    basil
    salt
    pepper
    Italian seasoning, etc.
    Tomato gravy (see index)
    Fresh or at least freshly cooked spaghetti or other pasta

    Mix the ground meats together in a large bowl,
    then mix each of the other ingredients.
    Make balls about the size of a baby?s fist
    (there should be one lying around for reference).
    Bake at 400°for about 25 minutes -
    or you could fry them in olive oil.
    Place the meatballs in the tomato gravy, and simmer for several hours.
    Serve on spaghetti.
    Accompany with green salad, garlic bread and red wine.



    Newborn Parmesan

    This classic Sicilian cuisine can easily be turned into Eggplant Parmesan
    If you are planning a vegetarian meal. Or you could just



+ Reply to Thread

Similar Threads

  1. Exit function in stack structure
    By Application Development in forum labview
    Replies: 3
    Last Post: 12-07-2007, 07:10 AM
  2. gdb error: Previous frame inner to this frame (corrupt stack?)
    By Application Development in forum c++
    Replies: 2
    Last Post: 11-30-2007, 03:16 PM
  3. Mdbg Stack Frame,
    By Application Development in forum DOTNET
    Replies: 0
    Last Post: 11-15-2007, 04:51 AM
  4. how to call C (non-intel C compiler) from ifort (intel fortran)?
    By Application Development in forum Fortran
    Replies: 4
    Last Post: 10-02-2007, 07:11 PM