Pvm : Pvm analysis 1 : Null Pointer Dereference at cmds.c:501
|
|
| Legend | [ X ] |
|---|---|
|
Warning Location
Contributes Parse Error Other Warning Two or More Loop Iterations On Execution Path Comment Macro Preprocessor Include Keyword Preprocessed Away | |
| Legend | ||
|---|---|---|
| Warning Location | Contributes | Parse Error |
| Other Warning | Two or More Loop Iterations | On Execution Path |
| Comment | Macro | Preprocessor |
| Include | Keyword | Preprocessed Away |
| Source | Language: C | Show LegendHide Legend | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Preconditions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
$param_1 >= 3 aliases->a_link->a_num >= 1 strlen(((char*)$param_2)[8]) > 0 strlen(aliases->a_link->a_name) = strlen(((char*)$param_2)[8]) strlen(aliases->a_link->a_name) > 0 aliases->a_link != aliases |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Postconditions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
aliases->a_link->a_link->a_rlink' = aliases->a_link->a_rlink aliases->a_link->a_num' = -1 aliases->a_link->a_rlink' = 0 *aliases->a_link->a_name' is freed *aliases->a_link->a_args' is freed aliases->a_link->a_rlink->a_link' = aliases->a_link->a_link aliases->a_link->a_link' = 0 *aliases->a_link' is freed ac' = $param_1 ap' = aliases->a_link ap' = &$heap_240482 ap2' = aliases->a_link args' = $param_2 + 16 av' = $param_2 $heap_240482' = aliases->a_link bytes_after(&$heap_240482)' = 48 $heap_240482' is allocated by malloc $heap_240482' is allocated bytes_before(&$heap_240482)' = 0 ((char*)&$heap_240482)[16]' = &$heap_240483 ((char*)&$heap_240482)[24]' = $param_1 - 2 ((char*)&$heap_240482)[32]' = &$heap_240484 ((char*)&$heap_240482)[8]' = 0 $heap_240483' = ((char*)*$param_2)[8] bytes_after(&$heap_240483)' = strlen(((char*)$param_2)[8]) + 1 $heap_240483' is allocated by malloc $heap_240483' is allocated bytes_before(&$heap_240483)' = 0 strlen(&$heap_240483)' = strlen(((char*)$param_2)[8]) bytes_after(&$heap_240484)' = 8 * $param_1 - 8 $heap_240484' is allocated by malloc $heap_240484' is allocated bytes_before(&$heap_240484)' = 0 name' = ((char*)$param_2)[8] num' = -1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
