Browse Source

Merge pull request #1272 from sagark/targs-protected

make target_args() protected instead of private to allow subclasses to inject args
pull/1275/head
Jerry Zhao 3 years ago
committed by GitHub
parent
commit
cd0a5dc550
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      fesvr/htif.h

3
fesvr/htif.h

@ -63,6 +63,7 @@ class htif_t : public chunked_memif_t
virtual void idle() {}
const std::vector<std::string>& host_args() { return hargs; }
std::vector<std::string>& target_args() { return targs; }
reg_t get_entry_point() { return entry; }
@ -98,8 +99,6 @@ class htif_t : public chunked_memif_t
std::vector<device_t*> dynamic_devices;
std::vector<std::string> payloads;
const std::vector<std::string>& target_args() { return targs; }
std::map<uint64_t, std::string> addr2symbol;
friend class memif_t;

Loading…
Cancel
Save