×

Detecting parameter validity in code including cross-service calls

  • US 10,572,375 B1
  • Filed: 02/05/2018
  • Issued: 02/25/2020
  • Est. Priority Date: 02/05/2018
  • Status: Active Grant
First Claim
Patent Images

1. A system to analyze code executable on an on-demand code execution system to detect potentially invalid parameters passed to an invoked service, the system comprising:

  • a physical data store storing executable code submitted to the on-demand code execution system by a user device, the executable code including an invocation of a first network-accessible service;

    a computing device in communication with the physical data store and configured to;

    obtain the executable code;

    identify, independent of execution of the executable code, the invocation within the executable code of the first network-accessible service, wherein the invocation of the first service includes a parameter to be passed to the first network-accessible service;

    determine an expected output of the first network-accessible service, the expected output including an invocation of one or more second network-accessible services not referenced within the executable code and an expected parameter to be passed to the one or more second network-accessible services;

    obtain parameter evaluation criteria for the one or more second network-accessible services;

    compare the expected parameter to the parameter evaluation criteria to determine that the expected parameter does not satisfy the parameter evaluation criteria; and

    transmit an indication that the expected parameter does not satisfy the parameter evaluation criteria.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×