Changeset 489 in xtideuniversalbios for trunk/Tools
- Timestamp:
- Dec 13, 2012, 7:32:09 AM (12 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/unused.pl
r376 r489 8 8 # 9 9 # Annotations can be placed in the source to eliminate false positives: 10 # a) if a label can be fallen into, place "; fall through to label" above the label10 # a) if a label can be fallen into, place "; fall through to <label>" above the label 11 11 # b) "; unused entrypoint ok" can be placed on the same line with the label 12 12 # c) "; jump table entrypoint" can be placed on the same line with the label … … 51 51 while(<UNUSED>) 52 52 { 53 if( /^([a-z0-9_]+\:)?\s+db\s+(.*)$/i || /^([a-z0-9_]+\:)?\s+dw\s+(.*)$/i || /^([a-z0-9_]+\:)?\s+mov\s+(.*)$/i || 54 /^([a-z0-9_]+\:)?\s+call\s+(.*)$/i || /^([a-z0-9_]+\:)?\s+j[a-z]?[a-z]?[a-z]?[a-z]?[a-z]?\s+(.*)$/i || 53 if( /^([a-z0-9_]+\:)?\s+db\s+(.*)$/i || 54 /^([a-z0-9_]+\:)?\s+dw\s+(.*)$/i || 55 /^([a-z0-9_]+\:)?\s+mov\s+(.*)$/i || 56 /^([a-z0-9_]+\:)?\s+call\s+(.*)$/i || 57 /^([a-z0-9_]+\:)?\s+push\s+(.*)$/i || 58 /^([a-z0-9_]+\:)?\s+j[a-z]?[a-z]?[a-z]?[a-z]?[a-z]?\s+(.*)$/i || 55 59 /^([a-z0-9_]+)?\s+equ\s+(.*)$/i ) 56 60 {
Note:
See TracChangeset
for help on using the changeset viewer.