aboutsummaryrefslogtreecommitdiff
path: root/tools/scan-view
AgeCommit message (Collapse)Author
2013-04-29[analyzer] scan-view: don't ever serve absolute paths.Jordan Rose
At one point in time scan-view allowed absolute paths to reference files within the server root, but this doesn't seem to be used anymore, and caused problems if a server-root-relative path actually matched an absolute path to an existing file. This patch just treats paths as server-root-relative all the time. PR15843 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180715 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-12Further harden checking that scan-view isn't serving up pages outsideTed Kremenek
the server root. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165839 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-12Have scan-view guard against serving up pages outside the root directory.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165815 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-21Fix call to send_error() in scan-view. An int error code is expected but a ↵Ted Kremenek
string was being sent. Patch by Andrew Price! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126138 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-04Increase scan-view max timeout to 1 minute.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70896 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-30"missing ivar release" is a performance bug.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58436 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-24Generalize searching for the keyword "leak" in a bug type.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58115 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-23For Radar reporting, null dereferences should be default classified as ↵Ted Kremenek
"Crash/Hang/Data loss" <rdar://problem/6315624> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58045 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30Set reproducibility back to "Always"Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56891 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30scan-view: Remove some debugging prints.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56864 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30Default reproducibility to "Not applicable"Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56860 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30Make "Performance" the default Radar classification for leaks. "Other" for ↵Ted Kremenek
all others (for now). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56858 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30Make a separate parameter class for "Radar classifications".Ted Kremenek
Do not save the radar classification to the config file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56856 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30Add "SelectionParameter" class to represent drop-down boxes.Ted Kremenek
Added "Classification" field to Radar filing. Modified FileRadar.scpt to take the classification as an argument. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56854 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30Conditionally load/save default parameter value from config file.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56852 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30Use objects to represent form parameters. This allows us to abstract away someTed Kremenek
of the details of HTML rendering of form parameters, and also us with the ability to delegate other actions (such as in the filling in of default values) to specific parameter objects. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56851 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30Tabs -> Spaces.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56833 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-29Fix braindead bug, ID number was hardcoded.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56789 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-26Change Radar reproducibility to "Always".Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56644 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-25Disable report crashes link for the time being.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56617 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-25Add link to report analyzer failures (parse errors, asserts, etc).Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56606 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-24Add scan-view '--allow-all-hosts' option, by default access is nowDaniel Dunbar
restricted to 127.0.0.1. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56563 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22scan-view: Add header and "report bug" links to report pages.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56470 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22scan-view: Add links to open files using default file handler.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56454 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22scan-view: Update for "button" class change, drop magic resolution ofDaniel Dunbar
"scanview.css", start action for opening files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56448 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22Removed scan-view's version of scanview.css.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56446 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22not executableNuno Lopes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56439 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22scan-view: Add links from bug reporting forms to report & summary pages.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56427 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22scan-view: Search for available port if default is unavailable.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56426 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22scan-view: Store bug reporter defaults in ~/.scanview.cfgDaniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56424 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22scan-view tweakDaniel Dunbar
- Require index.html in provided results directory. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56423 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22scan-view tweaksDaniel Dunbar
- Use more correct HTTP error codes on (unexpected) errors. - Use onLoad to set ensure bug submission method gets set correctly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56422 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22Improve scan-view report bug (submitted) interface.Daniel Dunbar
Give more meaningful error messages / fail gracefully on bad form input or SMTP errors. Use button for Report Bug link (where available). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56420 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22Improve scan-view report bug interface.Daniel Dunbar
- Pulled css out into Resources/scanview.css git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56416 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21scan-view tweaks:Daniel Dunbar
- Add simple favicon - Allow resolving source file paths (should be rethought) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56414 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21scan-view tweaks:Daniel Dunbar
- Update for scan-build table change. - Add --auto-reload option (for development, avoids need to restart server). - Always send Last-Modified, with a reasonable value for dynamic content. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56409 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21scan-view: Add more information to default bug description and useDaniel Dunbar
iframe to embed bug view (for easy reference). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56406 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21Don't add Bugzilla reporter (not yet implemented)Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56404 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21Have ScanView.py generate a "<td></td>" pair in the output HTML instead of ↵Ted Kremenek
having scan-build output an empty (and possibly unused) <td>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56393 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-20Make scan-view more robust / friendly when bug reporting fails.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56382 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-19Add initial implementation of scan-viewDaniel Dunbar
- Web based interface to static analyzer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56375 91177308-0d34-0410-b5e6-96231b3b80d8