Claims1. A method for static detection and categorization of information-flow downgraders, comprising:
2. The method as recited in claim 1, wherein identifying includes detecting and categorizing the downgrader functions based upon a purpose the downgrader function. 3. The method as recited in claim 1, wherein the one or more functions include a security-sensitive function in the program. 4. The method as recited in claim 1, further comprising comparing the context free grammar with a specification of the security-sensitive function such that if the grammar satisfies the specification, the input is considered properly downgraded. 5. The method as recited in claim 4, further comprising labeling a string to locate string-manipulating functions that modified the input and made the input specification-compliant. 6. The method as recited in claim 1, wherein the one or more function specifications are employed to categorize the downgrader function. 7. The method as recited in claim 1, wherein transforming the program includes transforming the program by employing pseudo notations for program variable assignments. 8. The method as recited in claim 1, wherein the downgrader function is generated by a Web application. 9. A computer readable storage medium comprising a computer readable program for static detection and categorization of information-flow downgraders, wherein the computer readable program when executed on a computer causes the computer to perform the steps of:
10. The computer readable storage medium as recited in claim 9, wherein identifying includes detecting and categorizing the downgrader functions based upon a purpose the downgrader function. 11. The computer readable storage medium as recited in claim 9, wherein the one or more functions include a security-sensitive function in the program. 12. The computer readable storage medium as recited in claim 9, further comprising comparing the context free grammar with a specification of the security-sensitive function such that if the grammar satisfies the specification the input is considered properly downgraded. 13. The computer readable storage medium as recited in claim 12, further comprising labeling a string to locate string-manipulating functions that modified the input and made the input specification-compliant. 14. The computer readable storage medium as recited in claim 9, wherein the one or more function specifications are employed to categorize the downgrader. 15. The computer readable storage medium as recited in claim 9, wherein transforming the program includes transforming the program by employing pseudo notations for program variable assignments. 16. A method for static detection and categorization of information-flow downgraders, comprising:
17. The method as recited in claim 16, wherein transforming the program includes transforming the program by employing pseudo notations for program variable assignments. 18. The method as recited in claim 17, wherein the downgrader function is generated by a Web application. 19. A system for static detection and categorization of information-flow downgraders, comprising:
20. The system as recited in claim 19, wherein downgrader functions are categorized based upon a purpose of the downgrader function. 22. The system as recited in claim 19, wherein the one or more functions include a security-sensitive function in the program. 23. The system as recited in claim 19, wherein the comparison module compares the context free grammar with a specification of a security-sensitive function such that if the grammar satisfies the specification the input is considered properly downgraded. 24. The system as recited in claim 23, a labeler configured to label a string to locate string-manipulating functions that modified the input and made the input specification-compliant. 25. The system as recited in claim 19, wherein the downgrader function is generated by a Web application. |