Commit 9764ceb
Fix context setting errors in DetourEnumerateImports API (#266)
* fix context setting errors in DetourEnumerateImports API
* Fix SAL annotation on DetouerEnumerateImportThunk
SAL annotation for VoidContext should just be In rather than In_opt (this is consistent with how the existing DetouerEnumerateImportThunk is structured).
This was causing an error in the static analysis checks in the CI build.
* Update test_module_api.cpp
Comparison of BOOL vs. bool, this should fix it.
---------
Co-authored-by: g00356712 <[email protected]>
Co-authored-by: Jeff Bisset <[email protected]>1 parent ae57e62 commit 9764ceb
2 files changed
+33
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| 648 | + | |
648 | 649 | | |
649 | 650 | | |
650 | 651 | | |
| |||
664 | 665 | | |
665 | 666 | | |
666 | 667 | | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
667 | 681 | | |
668 | 682 | | |
669 | 683 | | |
| |||
674 | 688 | | |
675 | 689 | | |
676 | 690 | | |
677 | | - | |
678 | | - | |
| 691 | + | |
679 | 692 | | |
680 | 693 | | |
681 | | - | |
| 694 | + | |
682 | 695 | | |
683 | 696 | | |
684 | 697 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
510 | 512 | | |
511 | 513 | | |
512 | 514 | | |
| |||
568 | 570 | | |
569 | 571 | | |
570 | 572 | | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
571 | 587 | | |
572 | 588 | | |
573 | 589 | | |
| |||
0 commit comments