Граф коммитов

214 Коммитов

Автор SHA1 Сообщение Дата
NateD-MSFT 9d317e4ff5
Add ports of Must-Fix CA IRQL rules (C28157, C28158) (#52)
* Add IrqlNotUsed checks.

* Fix baseline for IrqlNotUsedPrecise

* Add IrqlNotSaved query

Still needs documentation/baseline checked in.

* Help file + baseline for IrqlNotSaved

* Update metadata for IRQL checks

* Update ported CA check suite

* Updates from PR feedback.

Also complicates unit test cases slightly and makes some fixes to IrqlNotSaved.

* Remove IrqlNotUsedPrecise.

* Remove obsolete test call to IrqlNotUsedPrecise

* Add additional test cases to unit tests.
2023-02-03 16:29:26 -08:00
Laura 7ce57db13d
Merge pull request #51 from microsoft/lagonza/ECA-Onboard-Updates
Updates query metadata to include ECA and CodeQL required fields
2023-02-01 16:42:52 -08:00
Laura Gonzalez 89c8a86783 updates id and repro text 2023-02-01 10:51:42 -08:00
Laura a7d6794f89
Merge pull request #50 from microsoft/user/lagonza/updatecodeql2116
Updates repo to use CodeQL v2.11.5
2023-01-24 15:59:07 -08:00
Laura Gonzalez 1e5d94d4a4 updates query metadata to include ECA and CodeQL required parameters 2023-01-24 15:54:09 -08:00
Laura Gonzalez 38a8941d32 adds install pack command location 2023-01-24 14:25:50 -08:00
Laura Gonzalez 193acd0c13 updates workflow to use codeql cli v2.11.5 2023-01-24 14:11:55 -08:00
Laura Gonzalez 5adc93d654 Updates CodeQL to v2.11.5 from v2.6.3 along with config files and readme 2023-01-24 13:02:06 -08:00
Laura d59f580cd9
Merge pull request #48 from microsoft/lagonza/WHCP_22H2-readme-update
Updates README.md to be the same as MAIN branch
2023-01-19 12:45:15 -08:00
Laura 4ab99d5d3a
Merge pull request #49 from microsoft/lagonza/development-readme-update
Updates README.md to be the same as MAIN branch
2023-01-19 12:45:00 -08:00
Laura 7ef11fc7d7
Merge pull request #47 from microsoft/lagonza/WHCP21H2-readme-update
Updates README.md to be the same as MAIN branch
2023-01-19 12:44:50 -08:00
Laura c3174b81d9
Updates README.md to be the same as MAIN branch
Signed-off-by: Laura <lagonza@microsoft.com>
2023-01-18 18:41:26 -08:00
Laura 12615226ea
Updates README.md to be the same as MAIN branch
Signed-off-by: Laura <lagonza@microsoft.com>
2023-01-18 18:40:11 -08:00
Laura 3dc6d75399
Updates README.md to be the same as MAIN branch
Signed-off-by: Laura <lagonza@microsoft.com>
2023-01-18 18:38:27 -08:00
Laura fbd8ea330e
Merge pull request #45 from microsoft/lagonza/add-pr-template
Adds docs directory and PR template
2023-01-11 11:45:09 -08:00
Laura 6fe368c87e
Merge branch 'main' into lagonza/add-pr-template 2023-01-11 11:00:42 -08:00
Laura Gonzalez 8d3ad64768 updates checklist to use checkboxes, use test readme instead of test build command 2023-01-10 14:16:37 -08:00
Laura Gonzalez dd1461750c adds doc dir and pr template 2023-01-10 14:10:06 -08:00
Laura 9bd506f517
Merge pull request #44 from microsoft/lagonza/update-readme
Updates README.md to include Quick Start and Contribution Guidelines
2023-01-10 13:00:51 -08:00
Laura Gonzalez c273039bd3 Fix grammar 2023-01-10 13:00:21 -08:00
Laura Gonzalez 0429f14549 addresses pr comments 2023-01-09 17:40:00 -08:00
Laura Gonzalez b3bb256e8d Updates readme to include quickstart and contribution guidelines. 2023-01-06 15:57:38 -08:00
Laura ab7925778c
Merge pull request #42 from microsoft/codeql-pack-update
Codeql Version Update from 2.6.3 to 2.11.5
2022-12-21 17:14:56 -08:00
Laura Gonzalez 9f5ae14319 updates readme with new install instructions 2022-12-21 15:56:55 -08:00
NateD-MSFT f994af138c
Merge pull request #41 from microsoft/development
Standardize test folder naming + fix missing and broken tests+baselines (#40)
2022-12-16 14:09:02 -08:00
NateD-MSFT 7ee18a7001
Standardize test folder naming + fix missing and broken tests+baselines (#40)
* Move WDM experimental folder into queries folder

* Fix PoolTagIntegral and WrongDispatchAssignment baselines

* Fix baseline for ExaminedValue check

* Rename "PortFolder" to "test"

* Rename "out" to "working" and "test" to "diff"

* Standardize DeviceInitApi experimental test.

Note that this test currently does not generate results with the query, as the query is experimental and still needs further development.

* Update README.md

* Standardize to "WDMTestTemplate" + "KMDFTestTemplate"
2022-12-16 16:01:26 -06:00
NateD-MSFT 083d3db89f Remove accidental checked-in test file. 2022-12-08 18:41:33 -08:00
NateD-MSFT 2cae2a8617 Update README.md 2022-12-08 18:40:13 -08:00
NateD-MSFT 303215491a Fix CodeQL CLI version in test script 2022-12-08 17:36:21 -08:00
NateD-MSFT 0b885568af YAWF (Yet Another Workflow Fix) 2022-12-07 18:36:51 -08:00
NateD-MSFT b0d64773f5 Fix repo path in GitHub action 2022-12-07 18:28:15 -08:00
NateD-MSFT 7c6da292c7 Add missing .cmd 2022-12-07 18:22:49 -08:00
NateD-MSFT 5b5f3a91da Additional action fix 2022-12-07 18:17:46 -08:00
NateD-MSFT d6d23eb020 Add codeql pack installation to GitHub action 2022-12-07 18:16:35 -08:00
NateD-MSFT 0329d9ab96 Fix QLPack/library dependencies 2022-12-07 18:06:12 -08:00
NateD-MSFT a80ca6714f Fix merge of qlpack.yml 2022-12-07 17:36:06 -08:00
NateD-MSFT ad3ada5956 Merge branch 'main' into codeql-pack-update 2022-12-07 17:33:29 -08:00
NateD-MSFT 0ef3d72045 Fix query import paths 2022-12-07 17:32:34 -08:00
Laura d5cd8f257f
Merge pull request #37 from scaramushe/readme
Add CodeQL version to compatibility matrix
2022-12-06 16:32:05 -08:00
Scaramushe 817f8240d2 Add CodeQL version to Readme 2022-12-04 15:14:46 +02:00
NateD-MSFT f77f324491
Merge pull request #35 from microsoft/development
Move development queries up to main.
2022-11-23 16:24:38 -08:00
NateD-MSFT 70eceba761 Update CA ported query suite. 2022-11-23 15:02:49 -08:00
NateD-MSFT 1f876c453b Move DeviceInitApi into experimental folder. 2022-11-23 14:55:01 -08:00
NateD-MSFT 9a91d5dc37
Port CA rules C28126, C28128, C28134, C28735 (#34)
* Add PoolTagIntegral check (needs cleanup)

* Create IllegalFieldAccess.ql

* More work on IllegalFieldAccess query

* Update requirements for our test script.

* Finish implementation of IllegalFieldAccess

* Complete IllegalFieldAccess documentation.

* Add QLHelp for PoolTagIntegral.

* Add ObReferenceMode query.

* Add C28735 checks to ExtendedDeprecatedApi

* Add WdkDeprecatedApis test

* Add note about TMH files to ExtendedDeprecatedApis help

* Add missing call to PoolTagIntegral test

* Fix typo in call to PoolTagIntegral test
2022-11-23 14:42:27 -08:00
NateD-MSFT ad2e94fdbd Additional merge fix
Differing paths led to Raul's new files being placed in the wrong location.
2022-10-25 17:00:37 -07:00
NateD-MSFT d3a6bb2dbe Merge branch 'main' into development 2022-10-25 17:00:06 -07:00
NateD-MSFT b88cc26ee1 Grab CWE-704 from the right QL pack 2022-10-25 16:54:38 -07:00
NateD-MSFT 8d9136055e Fix version of WcharCharConversion in recommended suite. 2022-10-25 16:49:14 -07:00
Raul Garcia 00809170ea
Fixing a FP pattern for PUCHAR casting (#33)
* Fixing a FP pattern for PUCHAR casting

* Adding Query version tag
2022-10-25 14:47:36 -07:00
NateD-MSFT 5d6f8a3cee
Add queries for finding uses of deprecated APIs (C28719, C28726, C28750) (#32)
* Initial work on ExtendedDeprecatedApis

* Add Element superclass for results

* Refactor + add logic for reporting replacements.

* Add C28726 and C28750 functions

* Update metadata.

* Update metadata + QLHelp

* Add test files for ExtendedDeprecatedApis

* Update query suites and fix OpaqueMdl tests.

* Fix typo in ExtendedDeprecatedApis metadata

Signed-off-by: NateD-MSFT <34494373+NateD-MSFT@users.noreply.github.com>

* Update ExtendedDeprecatedApis QLhelp.

Signed-off-by: NateD-MSFT <34494373+NateD-MSFT@users.noreply.github.com>
2022-10-04 15:25:43 -07:00