US 11,727,017 B2
Methods for introspecting code in a multi-tenant environment
Nicholas Chun Yuan Chen, San Francisco, CA (US); Lovi Yu, Folsom, CA (US); Christopher Peterson, South San Francisco, CA (US); Christopher Alan Ebert, Berkeley, CA (US); Michael Goldberg Boilen, Kirkland, WA (US); and Samantha Reynard, San Francisco, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Jul. 28, 2020, as Appl. No. 16/940,867.
Prior Publication US 2022/0035821 A1, Feb. 3, 2022
Int. Cl. G06F 16/00 (2019.01); G06F 16/2457 (2019.01); G06F 16/242 (2019.01); G06F 16/28 (2019.01); G06F 16/2452 (2019.01); G06F 16/2455 (2019.01)
CPC G06F 16/24575 (2019.01) [G06F 16/2433 (2019.01); G06F 16/24524 (2019.01); G06F 16/24553 (2019.01); G06F 16/288 (2019.01)] 21 Claims
OG exemplary drawing
 
15. A computing device to execute a method for code introspection in a multi-tenant architecture, the computing device comprising:
a non-transitory machine-readable storage structure to store a database that stores information that was generated by a compiler of the multi-tenant architecture and that relates to compilation processes performed by the compiler, and a code introspection service; and
a processor coupled to the non-transitory machine-readable storage structure, the processor to execute the code introspection service, the code introspection service to:
receive from an entity a structured query language (SQL) query for a database that facilitates code introspection, wherein the database stores symbol table data, in an SQL queryable format, generated as part of compiling code for the multi-tenant architecture;
retrieve context for the entity that sent the query;
retrieving information, from the database based on the SQL query, regarding the symbol table data;
filter the information based on the context; and
return the filtered information.