MCPcopy Create free account
hub / github.com/atrexus/vulkan / remove

Method remove

src/pe/section_headers.cpp:40–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 }
39
40 void section_headers::remove( const char* name ) const noexcept
41 {
42 const auto num_sections = count( );
43
44 for ( std::uint16_t i = 0; i < num_sections; ++i )
45 {
46 auto section = at( i );
47
48 if ( std::strncmp( reinterpret_cast< const char* >( section->Name ), name, IMAGE_SIZEOF_SHORT_NAME ) == 0 )
49 {
50 remove( i );
51 break;
52 }
53 }
54 }
55
56 void section_headers::remove( const std::uint16_t idx ) const noexcept
57 {

Callers 1

resolve_sectionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected