MCPcopy Create free account
hub / github.com/dobin/RedEdr / add_stack_cleanup

Function add_stack_cleanup

RedEdrShared/loguru.cpp:916–924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

914 }
915
916 void add_stack_cleanup(const char* find_this, const char* replace_with_this)
917 {
918 if (strlen(find_this) <= strlen(replace_with_this)) {
919 LOG_F(WARNING, "add_stack_cleanup: the replacement should be shorter than the pattern!");
920 return;
921 }
922
923 s_user_stack_cleanups.push_back(StringPair(find_this, replace_with_this));
924 }
925
926 static void on_callback_change()
927 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected