Pointer (computer Programming) - Wild Branch

Wild Branch

Where a pointer is used as the address of the entry point to a program or start of a subroutine and is also either uninitialized or corrupted, if a call or jump is nevertheless made to this address, a "wild branch" is said to have occurred. The consequences are usually unpredictable and the error may present itself in several different ways depending upon whether or not the pointer is a "valid" address and whether or not there is (coincidentally) a valid instruction (opcode) at that address. The detection of a wild branch can present one of the most difficult and frustrating debugging exercises since much of the evidence may already have been destroyed beforehand or by execution of one or more inappropriate instructions at the branch location. If available, an instruction set simulator can usually not only detect a wild branch before it takes effect, but also provide a complete or partial trace of its history.

Read more about this topic:  Pointer (computer Programming)

Famous quotes containing the words wild and/or branch:

    A bestial and violent man will go so far as to kill because he is under the influence of drink, exasperated, or driven by rage and alcohol. He is paltry. He does not know the pleasure of killing, the charity of bestowing death like a caress, of linking it with the play of the noble wild beasts: every cat, every tiger, embraces its prey and licks it even while it destroys it.
    Colette [Sidonie Gabrielle Colette] (1873–1954)

    In communist society, where nobody has one exclusive sphere of activity but each can become accomplished in any branch he wishes, society regulates the general production and thus makes it possible for me to do one thing today and another tomorrow, to hunt in the morning, fish in the afternoon, rear cattle in the evening, criticize after dinner, just as I have a mind, without ever becoming hunter, fisherman, shepherd or critic.
    Karl Marx (1818–1883)