mirror of
https://github.com/verilator/verilator.git
synced 2026-09-07 10:01:11 +02:00
Internal: Remove deprecated/insecure functions. No functional change intended.
This commit is contained in:
@@ -336,8 +336,8 @@ public:
|
||||
virtual const VerilatedRange* rangep() const override { return &(varp()->packed()); }
|
||||
virtual const char* fullname() const override {
|
||||
static VL_THREAD_LOCAL std::string t_out;
|
||||
char num[20];
|
||||
sprintf(num, "%d", m_index);
|
||||
char num[25];
|
||||
VL_SNPRINTF(num, 25, "%d", m_index);
|
||||
t_out = std::string(scopep()->name()) + "." + name() + "[" + num + "]";
|
||||
return t_out.c_str();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user