Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/avast/retdec
/ align
Function
align
src/bin2llvmir/optimizations/decoder/decoder_ranges.cpp:13–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
namespace {
12
13
inline retdec::common::Address align(
14
const retdec::common::Address& s,
15
unsigned a)
16
{
17
return a && s % a ? retdec::common::Address(s + a - (s % a)) : s;
18
}
19
20
} // namespace anonymous
21
Callers
3
addPrimary
Method · 0.85
addAlternative
Method · 0.85
remove
Method · 0.85
Calls
1
Address
Class · 0.85
Tested by
no test coverage detected