MCPcopy Create free account
hub / github.com/clementgallet/libTAS / followFlags

Method followFlags

src/program/ramsearch/MemSection.cpp:33–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33bool MemSection::followFlags(int flags) const
34{
35 if ((flags & MemNoSpecial) && (type == MemSpecial))
36 return false;
37
38 if ((flags & MemNoRO) && (!writeflag))
39 return false;
40
41 if ((flags & MemNoExec) && (execflag))
42 return false;
43
44 return true;
45}
46
47void MemSection::readMap(std::string& line)
48{

Callers 2

totalSizeMethod · 0.80
nextSectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected