68 bool Contains(
void *
addr);
70 void *Relocate(
void *addr);
98 CodeRangeSet::iterator it;
110 CodeRangeSet::iterator it =
code_ranges.lower_bound(addr);
125 CodeRangeSet::iterator it =
code_ranges.lower_bound(addr);
141 (start,
new CodeRange(sname, start, end, offset, discover)));
168 discover = _discover;
174 return (
void *)(offset + (
char *) addr);
180 return (addr >= start) && (addr < end);
186 process_range(name, -offset, Relocate(start), Relocate(end), discover);
long offset_for_fn(void *addr)
CodeRange(const char *_name, void *_start, void *_end, long _offset, DiscoverFnTy discover)
void new_code_range(const char *sname, void *start, void *end, long offset, DiscoverFnTy discover)
void process_code_ranges()
void process_range_init(void)
void code_ranges_reinit(void)
bool consider_possible_fn_address(void *addr)
map< void *, CodeRange * > CodeRangeSet
bool Contains(void *addr)
void process_range(const char *name, long offset, void *vstart, void *vend, DiscoverFnTy fn_discovery)
void * Relocate(void *addr)
static CodeRangeSet code_ranges