Confirmed users
675
edits
(file bug against socorro first) |
No edit summary |
||
Line 4: | Line 4: | ||
# determine what type of skiplist is appropriate | # determine what type of skiplist is appropriate | ||
#* '''prefixSignatureRegEx''' (most common) - This is the rule that generates compound signatures. This regular expression is a list of signatures that should be combined with whatever signature follows on the stack to form a compound signature. It keeps accumulating frame signatures until its matching fails. A partial view of this regular expression looks like this: "@0x0|strchr|strstr|strlen|PL_strlen|strcmp|wcslen|memcpy|memmove|memcmp|malloc|realloc..." New values should be added to the end delimited with a vertical bar “|”. | #* '''prefixSignatureRegEx''' (most common) - This is the rule that generates compound signatures. This regular expression is a list of signatures that should be combined with whatever signature follows on the stack to form a compound signature. It keeps accumulating frame signatures until its matching fails. A partial view of this regular expression looks like this: "@0x0|strchr|strstr|strlen|PL_strlen|strcmp|wcslen|memcpy|memmove|memcmp|malloc|realloc..." New values should be added to the end delimited with a vertical bar “|”. | ||
#* '''irrelevantSignatureRegEx''' – The rule lists all the frames | #* '''irrelevantSignatureRegEx''' – The rule lists all the frames in the stack that are irrelevant and should be ignored. This regular expression looks like this: "@0x0-9a-fA-F?{2,}|@0x1-9a-fA-F?|RaiseException?|CxxThrowException?" New values should be added to the end using the vertical bar as a delimiter. In Socorro version 1.7.7, the application of this rule changed. It used to be that the first failure of this rule would terminate any further application of the rule. This rule now applies through the whole signature generation process. | ||
#* '''signatureSentinels''' (least common) - This is the first rule to be applied. The code iterates through the stack frame, throwing away everything it finds until it encounters a match. A typical form of this regular expression would be: 'purecall'. Once it finds a match, it passes what's left of the stack frame on the other rules. If it never finds a match, it passes the entire stack to the further rules. New values should be added to the end using the vertical bar as a delimiter. | #* '''signatureSentinels''' (least common) - This is the first rule to be applied. The code iterates through the stack frame, throwing away everything it finds until it encounters a match. A typical form of this regular expression would be: 'purecall'. Once it finds a match, it passes what's left of the stack frame on the other rules. If it never finds a match, it passes the entire stack to the further rules. New values should be added to the end using the vertical bar as a delimiter. | ||
# File a Socorro bug for a change to the configuration of the Processor. | # File a Socorro bug for a change to the configuration of the Processor. |