MCPcopy Create free account
hub / github.com/ElyDotDev/windows-kill / warmUp

Method warmUp

windows-kill-library/sender.cpp:47–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 void Sender::warmUp(const string& which) {
48 string all("ALL");
49 string sigInt("SIGINT");
50 string sigBreak("SIGBREAK");
51
52 if (which.compare(all) == 0) {
53 ctrl_c_routine.findAddress();
54 ctrl_break_routine.findAddress();
55 }
56 else if (which.compare(sigInt) == 0) {
57 ctrl_c_routine.findAddress();
58 }
59 else if (which.compare(sigBreak) == 0) {
60 ctrl_break_routine.findAddress();
61 }
62 else {
63 throw invalid_argument(string("Invalid which argument."));
64 }
65 }
66}

Callers

nothing calls this directly

Calls 1

findAddressMethod · 0.80

Tested by

no test coverage detected