MCPcopy Create free account
hub / github.com/avast/retdec / addPrimary

Method addPrimary

src/bin2llvmir/optimizations/decoder/decoder_ranges.cpp:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace bin2llvmir {
24
25void RangesToDecode::addPrimary(common::Address s, common::Address e)
26{
27 s = align(s, archInsnAlign);
28 if (e > s)
29 {
30 _primaryRanges.insert(s, e);
31 }
32}
33
34void RangesToDecode::addPrimary(const common::AddressRange& r)
35{

Calls 2

alignFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected