| 20 | }; |
| 21 | |
| 22 | class CodeObject |
| 23 | { |
| 24 | public: |
| 25 | // Constructors |
| 26 | CodeObject( |
| 27 | const std::shared_ptr<const AbstractProcessManager>& manager, |
| 28 | remote_addr_t addr, |
| 29 | uintptr_t lastli, |
| 30 | int tlbc_index); |
| 31 | CodeObject(std::string filename, std::string scope, LocationInfo location_info); |
| 32 | |
| 33 | // Getters |
| 34 | std::string Filename() const; |
| 35 | std::string Scope() const; |
| 36 | const LocationInfo& Location() const; |
| 37 | int NArguments() const; |
| 38 | const std::vector<std::string>& Varnames() const; |
| 39 | |
| 40 | private: |
| 41 | // Data members |
| 42 | std::string d_filename; |
| 43 | std::string d_scope; |
| 44 | LocationInfo d_location_info; |
| 45 | int d_narguments; |
| 46 | std::vector<std::string> d_varnames; |
| 47 | }; |
| 48 | } // namespace pystack |
nothing calls this directly
no outgoing calls
no test coverage detected