Skip to content

Commit

Permalink
only descend into layer GPDPA from trampoline
Browse files Browse the repository at this point in the history
  • Loading branch information
bradgrantham-lunarg authored and charles-lunarg committed Jun 22, 2022
1 parent 477fb9e commit 1f92bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/unknown_function_handling.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ void *loader_phys_dev_ext_gpa_impl(struct loader_instance *inst, const char *fun
if (!loader_check_icds_for_phys_dev_ext_address(inst, funcName)) {
// If we're not checking layers, or we are and it's not in a layer, just
// return
if (!loader_check_layer_list_for_phys_dev_ext_address(inst, funcName)) {
if (!is_tramp || !loader_check_layer_list_for_phys_dev_ext_address(inst, funcName)) {
return NULL;
}
}
Expand Down

0 comments on commit 1f92bbb

Please sign in to comment.