• Will Harris's avatar
    Reland "Add test that verifies CFG loader config is generated correctly." · f56c8f8e
    Will Harris authored
    This is a reland of c2b6797f
    
    Fixed to add CALLBACK in front of the callback function.
    
    Original change's description:
    > Add test that verifies CFG loader config is generated correctly.
    >
    > This CL adds a test that creates a callback from operating system
    > code to a module that has CFG enabled where the callback is not
    > listed as a valid indirect target.
    >
    > Note: this test does not require dispatch guards to be present
    > in chromium code, just for them to be present in OS code and
    > for the CFG load config to be generated correctly.
    >
    > BUG=584575
    >
    > Change-Id: Id6f5f4061f7237c23f08c8fe1b7471ea200f0628
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2308854
    > Commit-Queue: Will Harris <wfh@chromium.org>
    > Reviewed-by: Alex Gough <ajgo@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#790587}
    
    Bug: 584575
    Cq-Include-Trybots: luci.chromium.try:win7-rel
    Change-Id: Ie721a3f3aebcb3ff1eaae711e588ba1ec8a6e507
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2311038Reviewed-by: default avatarAlex Gough <ajgo@chromium.org>
    Commit-Queue: Will Harris <wfh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#790690}
    f56c8f8e
cfi_unittest.cc 2.44 KB