MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / BytecodeRewriter

Method BytecodeRewriter

src/instrument.cpp:326–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324
325 public:
326 BytecodeRewriter(const u8* class_data, int class_data_len, const Targets* targets, const MethodTargets* method_targets) :
327 _src(class_data),
328 _src_limit(class_data + class_data_len),
329 _dst(NULL),
330 _dst_len(0),
331 _dst_capacity(class_data_len + 400),
332 _cpool(NULL),
333 _class_name(nullptr),
334 _method_name(nullptr),
335 _targets(targets),
336 _method_targets(method_targets) {}
337
338 ~BytecodeRewriter() {
339 delete[] _cpool;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected