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

Method findBlobByAddress

src/codeCache.cpp:124–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124CodeBlob* CodeCache::findBlobByAddress(const void* address) {
125 for (int i = 0; i < _count; i++) {
126 if (address >= _blobs[i]._start && address < _blobs[i]._end) {
127 return &_blobs[i];
128 }
129 }
130 return NULL;
131}
132
133const char* CodeCache::binarySearch(const void* address) {
134 int low = 0;

Callers 1

findRuntimeStubMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected