MemoryArchive1

18 Nov 2009

--------------------------------------------------------------------------------
Command:            ./nmap -p- -sU scanme.nmap.org/30 -oX scanme-30.xml --max-retries 1
Massif arguments:   (none)
ms_print arguments: massif.out.6035
--------------------------------------------------------------------------------


    MB
33.63^                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                             @::::::@::#
     |                                                             @::::::@::#
     |                                                             @::::::@::#
     |                                                             @::::::@::#
     |                                                             @::::::@::#
     |                                                             @::::::@::#
     |                                                             @::::::@::#
     |                                                             @::::::@::#
     |                             @:::@::@@::::::@::@@::::::::@:::@::::::@::#
     | ::@@:::::::@::::::::::::::::@: :@::@ :::: :@::@ ::::::::@:::@::::::@::#
     |:: @@:::::: @: ::::::::::::: @: :@::@ :::: :@::@ ::::::::@:::@::::::@::#
   0 +----------------------------------------------------------------------->Gi
     0                                                                   8.117

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 81  8,715,514,976       35,264,168       31,634,219     3,629,949            0
89.71% (31,634,219B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->74.31% (26,205,900B) 0x809EA12: PortList::addPort(unsigned short, unsigned char, char*, int) (portlist.cc:467)
| ->74.31% (26,205,900B) 0x808B416: ultrascan_port_pspec_update(UltraScanInfo*, HostScanStats*, probespec const*, int) (scan_engine.cc:2634)
|   ->74.29% (26,196,700B) 0x808B4C3: HostScanStats::dismissBench() (scan_engine.cc:2714)
|   | ->74.29% (26,196,700B) 0x8094DCB: processData(UltraScanInfo*) (scan_engine.cc:4969)
|   |   ->74.29% (26,196,700B) 0x80953F0: ultra_scan(std::vector<Target*, std::allocator<Target*> >&, scan_lists*, stype, timeout_info*) (scan_engine.cc:5128)
|   |     ->74.29% (26,196,700B) 0x8063804: nmap_main(int, char**) (nmap.cc:1833)
|   |       ->74.29% (26,196,700B) 0x805E0B4: main (main.cc:205)
|   |
|   ->00.03% (9,200B) in 1+ places, all below ms_print's threshold (01.00%)
|
->04.46% (1,572,864B) 0x80960DC: std::vector<probespec, std::allocator<probespec> >::_M_insert_aux(__gnu_cxx::__normal_iterator<probespec*, std::vector<probespec, std::allocator<probespec> > >, probespec const&) (new_allocator.h:89)
| ->04.46% (1,572,864B) 0x80940CC: HostScanStats::moveProbeToBench(std::_List_iterator<UltraProbe*>) (stl_vector.h:741)
|   ->04.46% (1,572,864B) 0x8094C2E: processData(UltraScanInfo*) (scan_engine.cc:5017)
|     ->04.46% (1,572,864B) 0x80953F0: ultra_scan(std::vector<Target*, std::allocator<Target*> >&, scan_lists*, stype, timeout_info*) (scan_engine.cc:5128)
|       ->04.46% (1,572,864B) 0x8063804: nmap_main(int, char**) (nmap.cc:1833)
|         ->04.46% (1,572,864B) 0x805E0B4: main (main.cc:205)
|
->03.78% (1,331,970B) 0x80C5C1C: safe_zalloc (nbase_memalloc.c:140)
| ->02.97% (1,048,576B) 0x809DDA5: PortList::PortList() (portlist.cc:403)
| | ->02.97% (1,048,576B) 0x80A371A: Target::Target() (Target.cc:107)
| |   ->02.97% (1,048,576B) 0x8066D9B: nexthost(HostGroupState*, TargetGroup*, scan_lists*, int) (targets.cc:458)
| |     ->02.97% (1,048,576B) 0x8063209: nmap_main(int, char**) (nmap.cc:1716)
| |       ->02.97% (1,048,576B) 0x805E0B4: main (main.cc:205)
| |
| ->00.80% (283,394B) in 1+ places, all below ms_print's threshold (01.00%)
|
->02.71% (954,720B) 0x8098127: T.457 (new_allocator.h:89)
| ->02.22% (783,552B) 0x809930F: nmap_services_init() (stl_tree.h:1230)
| | ->02.22% (783,552B) 0x8099D4B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->02.22% (783,552B) 0x8062FD2: nmap_main(int, char**) (nmap.cc:1423)
| |     ->02.22% (783,552B) 0x805E0B4: main (main.cc:205)
| |
| ->00.49% (171,168B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.80% (636,480B) 0x8098C4E: nmap_services_init() (new_allocator.h:89)
| ->01.80% (636,480B) 0x8099D4B: gettoppts(double, char*, scan_lists*) (services.cc:391)
|   ->01.80% (636,480B) 0x8062FD2: nmap_main(int, char**) (nmap.cc:1423)
|     ->01.80% (636,480B) 0x805E0B4: main (main.cc:205)
|
->01.51% (532,584B) 0x80C5CB4: safe_malloc (nbase_memalloc.c:117)
| ->01.39% (491,520B) 0x8097DC8: cp_strdup(char const*) (charpool.cc:141)
| | ->01.12% (393,216B) 0x8098B8E: nmap_services_init() (services.cc:261)
| | | ->01.12% (393,216B) 0x8099D4B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| | |   ->01.12% (393,216B) 0x8062FD2: nmap_main(int, char**) (nmap.cc:1423)
| | |     ->01.12% (393,216B) 0x805E0B4: main (main.cc:205)
| | |
| | ->00.28% (98,304B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.12% (41,064B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.13% (399,701B) in 62 places, all below massif's threshold (01.00%)

20 Nov 2009

--------------------------------------------------------------------------------
Command:            ./nmap -v -A scanme.nmap.org -oX scanme-A.xml --max-retries 1
Massif arguments:   (none)
ms_print arguments: massif.out.12622
--------------------------------------------------------------------------------


    MB
76.69^                                                                       :
     |                          @:@:@:@:::@::::::::::::::::::::::::::::::::::#
     |                 ::@:@@:::@:@:@:@:::@:                                 #
     |                :::@:@@:::@:@:@:@:::@:                                 #
     |               ::::@:@@:::@:@:@:@:::@:                                 #
     |              :::::@:@@:::@:@:@:@:::@:                                 #
     |             ::::::@:@@:::@:@:@:@:::@:                                 #
     |            @::::::@:@@:::@:@:@:@:::@:                                 #
     |           :@::::::@:@@:::@:@:@:@:::@:                                 #
     |          ::@::::::@:@@:::@:@:@:@:::@:                                 #
     |          ::@::::::@:@@:::@:@:@:@:::@:                                 #
     |         :::@::::::@:@@:::@:@:@:@:::@:                                 #
     |        ::::@::::::@:@@:::@:@:@:@:::@:                                 #
     |       :::::@::::::@:@@:::@:@:@:@:::@:                                 #
     |      ::::::@::::::@:@@:::@:@:@:@:::@:                                 #
     |    ::::::::@::::::@:@@:::@:@:@:@:::@:                                 #
     |    ::::::::@::::::@:@@:::@:@:@:@:::@:                                 #
     |   :::::::::@::::::@:@@:::@:@:@:@:::@:                                 #
     |  ::::::::::@::::::@:@@:::@:@:@:@:::@:                                 #
     | :::::::::::@::::::@:@@:::@:@:@:@:::@:                                 #
   0 +----------------------------------------------------------------------->Gi
     0                                                                   1.374

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 77  1,466,695,858       80,271,560       74,966,676     5,304,884            0
93.39% (74,966,676B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->83.48% (67,007,688B) 0x80C591C: safe_zalloc (nbase_memalloc.c:140)
| ->76.24% (61,199,952B) 0x8073D3B: str2AVal(char*) (osscan.cc:536)
| | ->76.24% (61,199,952B) 0x807408B: parse_fingerprint_file(char const*) (osscan.cc:1094)
| |   ->76.24% (61,199,952B) 0x8076553: parse_fingerprint_reference_file(char const*) (osscan.cc:1117)
| |     ->76.24% (61,199,952B) 0x8063CBB: nmap_main(int, char**) (nmap.cc:1345)
| |       ->76.24% (61,199,952B) 0x805E074: main (main.cc:205)
| |
| ->06.46% (5,184,016B) 0x807403D: parse_fingerprint_file(char const*) (osscan.cc:1082)
| | ->06.46% (5,184,016B) 0x8076553: parse_fingerprint_reference_file(char const*) (osscan.cc:1117)
| |   ->06.46% (5,184,016B) 0x8063CBB: nmap_main(int, char**) (nmap.cc:1345)
| |     ->06.46% (5,184,016B) 0x805E074: main (main.cc:205)
| |
| ->00.78% (623,720B) in 1+ places, all below ms_print's threshold (01.00%)
|
->02.99% (2,399,277B) in 109 places, all below massif's threshold (01.00%)
|
->02.26% (1,817,544B) 0x80C59B4: safe_malloc (nbase_memalloc.c:117)
| ->02.26% (1,817,544B) in 24 places, all below massif's threshold (01.00%)
|
->01.92% (1,543,335B) 0x80EDD31: luaM_realloc_ (in /home/david/nmap/nmap)
| ->01.92% (1,543,335B) in 26 places, all below massif's threshold (01.00%)
|
->01.55% (1,244,112B) 0x40453FF: pcre_compile2 (in /usr/local/lib/libpcre.so.0.0.1)
| ->01.55% (1,244,112B) 0x404580D: pcre_compile (in /usr/local/lib/libpcre.so.0.0.1)
|   ->01.55% (1,244,112B) 0x80A6E66: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:367)
|     ->01.55% (1,244,112B) 0x80A9E08: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
|       ->01.55% (1,244,112B) 0x80AA19F: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
|         ->01.55% (1,244,112B) 0x80AA41B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
|           ->01.55% (1,244,112B) 0x80AAA99: AllProbes::service_scan_init() (service_scan.cc:1162)
|             ->01.55% (1,244,112B) 0x80AAADB: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
|               ->01.55% (1,244,112B) 0x80638A9: nmap_main(int, char**) (nmap.cc:1869)
|                 ->01.55% (1,244,112B) 0x805E074: main (main.cc:205)
|
->01.19% (954,720B) 0x8098017: T.457 (new_allocator.h:89)
  ->01.19% (954,720B) in 3 places, all below massif's threshold (01.00%)

21 Nov 2009

Reading in a fingerprint file allocates memory for many identical strings. Here are samples of the strings and how often they are redundantly stored in memory.

Test names. Allocated with strdup.

285 CI
1321 SS
2014 II
2180 TI
2201 RID
2203 RUCK
2206 CD
2206 DFI
2221 UN
2224 RUD
2225 IPL
2225 RIPCK
2225 RIPL
2258 CC
2271 GCD
2271 ISR
2271 SP
2273 TS
2290 O4
2290 W3
2291 O1
2291 O2
2291 O3
2291 O5
2291 O6
2291 W1
2291 W2
2291 W4
2291 W6
2292 W5
12734 O
12734 W
12805 A
12805 F
12805 RD
12805 S
15063 Q
17288 DF
19220 R
19494 T
19494 TG

Test values. Each a static 256 bytes.

1 >0
1 0|100|16A0
1 0-106
1 0|1060
1 0|10F8
1 0|111C
...
1109 U
1171 4000
1347 38
1784 2000
1804 1-6
1916 16A0
2253 M5B4
2280 FA-104
2571 FFFF
3226 7B-85
3259 FF
3294 AS
3378 I
3782 R
4174 80
4681 O
4697 A
5199 AR
5775 S
6480 S+
8872 Z
9722 3B-45
10033 G
11321 40
18034 N
21691 Y
24294 0
24498

After nmap-mem r16169, string pool storage

--------------------------------------------------------------------------------
Command:            ./nmap -v -A scanme.nmap.org -oX scanme-A.xml --max-retries 1
Massif arguments:   (none)
ms_print arguments: massif.out.27872
--------------------------------------------------------------------------------

    MB
17.27^                                                                       #
     |                                   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#
     |                                 @@@@@                                 #
     |                               :@@@@@@                                 #
     |                          @:::::@@@@@@                                 #
     |                        @@@:::::@@@@@@                                 #
     |                      ::@@@:::::@@@@@@                                 #
     |                     @@:@@@:::::@@@@@@                                 #
     |                   ::@@:@@@:::::@@@@@@                                 #
     |                 ::::@@:@@@:::::@@@@@@                                 #
     |                @::::@@:@@@:::::@@@@@@                                 #
     |              @:@::::@@:@@@:::::@@@@@@                                 #
     |            ::@:@::::@@:@@@:::::@@@@@@                                 #
     |           @::@:@::::@@:@@@:::::@@@@@@                                 #
     |         @:@::@:@::::@@:@@@:::::@@@@@@                                 #
     |        @@:@::@:@::::@@:@@@:::::@@@@@@                                 #
     |      @@@@:@::@:@::::@@:@@@:::::@@@@@@                                 #
     |    @@@@@@:@::@:@::::@@:@@@:::::@@@@@@                                 #
     |   @@@@@@@:@::@:@::::@@:@@@:::::@@@@@@                                 #
     |  @@@@@@@@:@::@:@::::@@:@@@:::::@@@@@@                                 #
   0 +----------------------------------------------------------------------->Gi
     0                                                                   1.375

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 65  1,466,981,523       18,110,632       16,110,717     1,999,915            0
88.96% (16,110,717B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->47.35% (8,575,692B) 0x80C5F3C: safe_zalloc (nbase_memalloc.c:140)
| ->28.62% (5,184,016B) 0x807619D: parse_fingerprint_file(char const*) (osscan.cc:1117)
| | ->28.62% (5,184,016B) 0x80765C3: parse_fingerprint_reference_file(char const*) (osscan.cc:1152)
| |   ->28.62% (5,184,016B) 0x8063D8B: nmap_main(int, char**) (nmap.cc:1345)
| |     ->28.62% (5,184,016B) 0x805E144: main (main.cc:205)
| |
| ->15.36% (2,781,816B) 0x8075EBB: str2AVal(char*) (osscan.cc:589)
| | ->15.36% (2,781,816B) 0x80761EB: parse_fingerprint_file(char const*) (osscan.cc:1129)
| |   ->15.36% (2,781,816B) 0x80765C3: parse_fingerprint_reference_file(char const*) (osscan.cc:1152)
| |     ->15.36% (2,781,816B) 0x8063D8B: nmap_main(int, char**) (nmap.cc:1345)
| |       ->15.36% (2,781,816B) 0x805E144: main (main.cc:205)
| |
| ->02.38% (431,848B) 0x8076210: parse_fingerprint_file(char const*) (osscan.cc:1071)
| | ->02.38% (431,848B) 0x80765C3: parse_fingerprint_reference_file(char const*) (osscan.cc:1152)
| |   ->02.38% (431,848B) 0x8063D8B: nmap_main(int, char**) (nmap.cc:1345)
| |     ->02.38% (431,848B) 0x805E144: main (main.cc:205)
| |
| ->00.98% (178,012B) in 1+ places, all below ms_print's threshold (01.00%)
|
->10.04% (1,818,804B) 0x80C5FD4: safe_malloc (nbase_memalloc.c:117)
| ->04.34% (786,432B) 0x80982D8: cp_strdup(char const*) (charpool.cc:141)
| | ->04.34% (786,432B) 0x80990B9: nmap_services_init() (services.cc:263)
| |   ->04.34% (786,432B) 0x809A25B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     ->04.34% (786,432B) 0x8063062: nmap_main(int, char**) (nmap.cc:1423)
| |       ->04.34% (786,432B) 0x805E144: main (main.cc:205)
| |
| ->02.89% (522,670B) 0x80A7416: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:344)
| | ->02.89% (522,670B) 0x80AA428: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
| |   ->02.89% (522,670B) 0x80AA7BF: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
| |     ->02.89% (522,670B) 0x80AAA3B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
| |       ->02.89% (522,670B) 0x80AB0B9: AllProbes::service_scan_init() (service_scan.cc:1162)
| |         ->02.89% (522,670B) 0x80AB0FB: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
| |           ->02.89% (522,670B) 0x8063979: nmap_main(int, char**) (nmap.cc:1869)
| |             ->02.89% (522,670B) 0x805E144: main (main.cc:205)
| |
| ->01.27% (229,376B) 0x80981E4: cp_alloc(int) (charpool.cc:141)
| | ->01.27% (229,376B) 0x8076285: parse_fingerprint_file(char const*) (osscan.cc:1089)
| |   ->01.27% (229,376B) 0x80765C3: parse_fingerprint_reference_file(char const*) (osscan.cc:1152)
| |     ->01.27% (229,376B) 0x8063D8B: nmap_main(int, char**) (nmap.cc:1345)
| |       ->01.27% (229,376B) 0x805E144: main (main.cc:205)
| |
| ->01.07% (194,604B) 0x80A7327: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:402)
| | ->01.07% (194,604B) 0x80AA428: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
| |   ->01.07% (194,604B) 0x80AA7BF: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
| |     ->01.07% (194,604B) 0x80AAA3B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
| |       ->01.07% (194,604B) 0x80AB0B9: AllProbes::service_scan_init() (service_scan.cc:1162)
| |         ->01.07% (194,604B) 0x80AB0FB: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
| |           ->01.07% (194,604B) 0x8063979: nmap_main(int, char**) (nmap.cc:1869)
| |             ->01.07% (194,604B) 0x805E144: main (main.cc:205)
| |
| ->00.47% (85,722B) in 1+ places, all below ms_print's threshold (01.00%)
|
->09.17% (1,660,957B) 0x80EE351: luaM_realloc_ (in /home/david/nmap-mem/nmap)
| ->03.18% (575,712B) in 22 places, all below massif's threshold (01.00%)
| |
| ->02.61% (472,416B) 0x80F2778: setnodevector (in /home/david/nmap-mem/nmap)
| | ->01.87% (338,352B) 0x80F2DB8: resize (in /home/david/nmap-mem/nmap)
| | | ->01.87% (338,352B) 0x80F2C8C: newkey (in /home/david/nmap-mem/nmap)
| | |   ->01.48% (268,128B) 0x80F3E8B: luaV_settable (in /home/david/nmap-mem/nmap)
| | |   | ->01.11% (200,676B) 0x80F50BA: luaV_execute (in /home/david/nmap-mem/nmap)
| | |   | | ->01.11% (200,676B) in 2 places, all below massif's threshold (01.00%)
| | |   | |
| | |   | ->00.37% (67,452B) in 1+ places, all below ms_print's threshold (01.00%)
| | |   |
| | |   ->00.39% (70,224B) in 1+ places, all below ms_print's threshold (01.00%)
| | |
| | ->00.74% (134,064B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.28% (231,597B) 0x80F219A: luaS_newlstr (in /home/david/nmap-mem/nmap)
| | ->01.12% (202,052B) 0x80F9449: luaX_newstring (in /home/david/nmap-mem/nmap)
| | | ->01.12% (202,052B) in 11 places, all below massif's threshold (01.00%)
| | |
| | ->00.16% (29,545B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.05% (190,616B) 0x80EF58E: close_func (in /home/david/nmap-mem/nmap)
| | ->01.05% (190,616B) in 2 places, all below massif's threshold (01.00%)
| |
| ->01.05% (190,616B) 0x80EF5C9: close_func (in /home/david/nmap-mem/nmap)
|   ->01.05% (190,616B) in 2 places, all below massif's threshold (01.00%)
|
->06.87% (1,244,112B) 0x40453FF: pcre_compile2 (in /usr/local/lib/libpcre.so.0.0.1)
| ->06.87% (1,244,112B) 0x404580D: pcre_compile (in /usr/local/lib/libpcre.so.0.0.1)
|   ->06.87% (1,244,112B) 0x80A7486: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:367)
|     ->06.87% (1,244,112B) 0x80AA428: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
|       ->06.87% (1,244,112B) 0x80AA7BF: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
|         ->06.87% (1,244,112B) 0x80AAA3B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
|           ->06.87% (1,244,112B) 0x80AB0B9: AllProbes::service_scan_init() (service_scan.cc:1162)
|             ->06.87% (1,244,112B) 0x80AB0FB: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
|               ->06.87% (1,244,112B) 0x8063979: nmap_main(int, char**) (nmap.cc:1869)
|                 ->06.87% (1,244,112B) 0x805E144: main (main.cc:205)
|
->05.27% (954,720B) 0x8098637: T.457 (new_allocator.h:89)
| ->04.33% (783,552B) 0x809981F: nmap_services_init() (stl_tree.h:1230)
| | ->04.33% (783,552B) 0x809A25B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->04.33% (783,552B) 0x8063062: nmap_main(int, char**) (nmap.cc:1423)
| |     ->04.33% (783,552B) 0x805E144: main (main.cc:205)
| |
| ->00.95% (171,168B) in 1+ places, all below ms_print's threshold (01.00%)
|
->03.51% (636,480B) 0x809915E: nmap_services_init() (new_allocator.h:89)
| ->03.51% (636,480B) 0x809A25B: gettoppts(double, char*, scan_lists*) (services.cc:391)
|   ->03.51% (636,480B) 0x8063062: nmap_main(int, char**) (nmap.cc:1423)
|     ->03.51% (636,480B) 0x805E144: main (main.cc:205)
|
->02.93% (529,920B) 0x80AA405: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1050)
| ->02.93% (529,920B) 0x80AA7BF: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
|   ->02.93% (529,920B) 0x80AAA3B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
|     ->02.93% (529,920B) 0x80AB0B9: AllProbes::service_scan_init() (service_scan.cc:1162)
|       ->02.93% (529,920B) 0x80AB0FB: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
|         ->02.93% (529,920B) 0x8063979: nmap_main(int, char**) (nmap.cc:1869)
|           ->02.93% (529,920B) 0x805E144: main (main.cc:205)
|
->02.25% (408,248B) 0x428A654: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (new_allocator.h:89)
| ->01.76% (318,760B) 0x428C9DE: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (basic_string.tcc:457)
| | ->01.76% (318,760B) 0x428CB88: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (basic_string.tcc:662)
| |   ->01.76% (318,760B) 0x428CC2C: std::string::assign(char const*, unsigned int) (basic_string.tcc:265)
| |     ->01.76% (318,282B) 0x8098EAF: nmap_services_init() (basic_string.h:970)
| |     | ->01.76% (318,282B) 0x809A25B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     |   ->01.76% (318,282B) 0x8063062: nmap_main(int, char**) (nmap.cc:1423)
| |     |     ->01.76% (318,282B) 0x805E144: main (main.cc:205)
| |     |
| |     ->00.00% (478B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.49% (89,488B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.56% (281,784B) in 108 places, all below massif's threshold (01.00%)

23 Nov 2009

After nmap-mem r16186, separation of FingerPrint and FingerTest.

--------------------------------------------------------------------------------
Command:            ./nmap -v -A scanme.nmap.org -oX scanme-A.xml --max-retries
1
Massif arguments:   (none)
ms_print arguments: massif.out.11275
--------------------------------------------------------------------------------


    MB
12.17^                                                                       :
     |                                     ::::::::::::::::::::::::::::::::::#
     |                                   :@:                                 #
     |                                 @::@:                                 #
     |                                @@::@:                                 #
     |                              @:@@::@:                                 #
     |                          :@::@:@@::@:                                 #
     |                         @:@: @:@@::@:                                 #
     |                       @@@:@: @:@@::@:                                 #
     |                     :@@@@:@: @:@@::@:                                 #
     |                     :@@@@:@: @:@@::@:                                 #
     |                    ::@@@@:@: @:@@::@:                                 #
     |                  ::::@@@@:@: @:@@::@:                                 #
     |                 :::::@@@@:@: @:@@::@:                                 #
     |                ::::::@@@@:@: @:@@::@:                                 #
     |             @@:::::::@@@@:@: @:@@::@:                                 #
     |          :::@@:::::::@@@@:@: @:@@::@:                                 #
     |       :@@:::@@:::::::@@@@:@: @:@@::@:                                 #
     |     :::@@:::@@:::::::@@@@:@: @:@@::@:                                 #
     |   @@:::@@:::@@:::::::@@@@:@: @:@@::@:                                 #
   0 +----------------------------------------------------------------------->Gi
     0                                                                   1.376

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 50  1,470,673,487       12,727,376       10,912,983     1,814,393            0
85.74% (10,912,983B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->23.11% (2,940,860B) 0x80C675C: safe_zalloc (nbase_memalloc.c:140)
| ->21.86% (2,781,816B) 0x8075EBB: str2AVal(char*) (osscan.cc:590)
| | ->21.86% (2,781,816B) 0x80761B9: parse_fingerprint_file(char const*) (osscan.cc:1083)
| |   ->21.86% (2,781,816B) 0x8076C63: parse_fingerprint_reference_file(char const*) (osscan.cc:1101)
| |     ->21.86% (2,781,816B) 0x8063F7B: nmap_main(int, char**) (nmap.cc:1345)
| |       ->21.86% (2,781,816B) 0x805E324: main (main.cc:205)
| |
| ->01.03% (131,072B) 0x809E5E4: PortList::initializePortMap(int, unsigned short*, int) (portlist.cc:649)
| | ->01.03% (131,072B) 0x80628FF: nmap_main(int, char**) (nmap.cc:1633)
| |   ->01.03% (131,072B) 0x805E324: main (main.cc:205)
| |
| ->00.22% (27,972B) in 1+ places, all below ms_print's threshold (01.00%)
|
->14.29% (1,818,804B) 0x80C67F4: safe_malloc (nbase_memalloc.c:117)
| ->06.18% (786,432B) 0x8098B18: cp_strdup(char const*) (charpool.cc:141)
| | ->06.18% (786,432B) 0x80998F9: nmap_services_init() (services.cc:263)
| |   ->06.18% (786,432B) 0x809AA9B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     ->06.18% (786,432B) 0x8063252: nmap_main(int, char**) (nmap.cc:1423)
| |       ->06.18% (786,432B) 0x805E324: main (main.cc:205)
| |
| ->04.11% (522,670B) 0x80A7C36: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:344)
| | ->04.11% (522,670B) 0x80AAC48: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
| |   ->04.11% (522,670B) 0x80AAFDF: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
| |     ->04.11% (522,670B) 0x80AB25B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
| |       ->04.11% (522,670B) 0x80AB8D9: AllProbes::service_scan_init() (service_scan.cc:1162)
| |         ->04.11% (522,670B) 0x80AB91B: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
| |           ->04.11% (522,670B) 0x8063B69: nmap_main(int, char**) (nmap.cc:1869)
| |             ->04.11% (522,670B) 0x805E324: main (main.cc:205)
| |
| ->01.80% (229,376B) 0x8098A24: cp_alloc(int) (charpool.cc:141)
| | ->01.80% (229,376B) 0x80762BE: parse_fingerprint_file(char const*) (osscan.cc:1046)
| |   ->01.80% (229,376B) 0x8076C63: parse_fingerprint_reference_file(char const*) (osscan.cc:1101)
| |     ->01.80% (229,376B) 0x8063F7B: nmap_main(int, char**) (nmap.cc:1345)
| |       ->01.80% (229,376B) 0x805E324: main (main.cc:205)
| |
| ->01.53% (194,604B) 0x80A7B47: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:402)
| | ->01.53% (194,604B) 0x80AAC48: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
| |   ->01.53% (194,604B) 0x80AAFDF: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
| |     ->01.53% (194,604B) 0x80AB25B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
| |       ->01.53% (194,604B) 0x80AB8D9: AllProbes::service_scan_init() (service_scan.cc:1162)
| |         ->01.53% (194,604B) 0x80AB91B: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
| |           ->01.53% (194,604B) 0x8063B69: nmap_main(int, char**) (nmap.cc:1869)
| |             ->01.53% (194,604B) 0x805E324: main (main.cc:205)
| |
| ->00.67% (85,722B) in 1+ places, all below ms_print's threshold (01.00%)
|
->13.07% (1,664,063B) 0x80EEB71: luaM_realloc_ (in /home/david/nmap-mem/nmap)
| ->03.71% (472,248B) 0x80F2F98: setnodevector (in /home/david/nmap-mem/nmap)
| | ->02.65% (337,736B) 0x80F35D8: resize (in /home/david/nmap-mem/nmap)
| | | ->02.65% (337,736B) 0x80F34AC: newkey (in /home/david/nmap-mem/nmap)
| | |   ->02.10% (267,484B) 0x80F46AB: luaV_settable (in /home/david/nmap-mem/nmap)
| | |   | ->01.57% (199,976B) 0x80F58DA: luaV_execute (in /home/david/nmap-mem/nmap)
| | |   | | ->01.31% (166,936B) 0x80ECEC6: luaD_call (in /home/david/nmap-mem/nmap)
| | |   | | | ->01.31% (166,936B) in 4 places, all below massif's threshold (01.00%)
| | |   | | |
| | |   | | ->00.26% (33,040B) in 1+ places, all below ms_print's threshold (01.00%)
| | |   | |
| | |   | ->00.53% (67,508B) in 1+ places, all below ms_print's threshold (01.00%)
| | |   |
| | |   ->00.55% (70,252B) in 1+ places, all below ms_print's threshold (01.00%)
| | |
| | ->01.02% (129,864B) 0x80F3A3B: luaH_new (in /home/david/nmap-mem/nmap)
| | | ->01.02% (129,864B) in 4 places, all below massif's threshold (01.00%)
| | |
| | ->00.04% (4,648B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->03.38% (430,496B) in 21 places, all below massif's threshold (01.00%)
| |
| ->01.84% (233,807B) 0x80F29BA: luaS_newlstr (in /home/david/nmap-mem/nmap)
| | ->01.59% (202,072B) 0x80F9C69: luaX_newstring (in /home/david/nmap-mem/nmap)
| | | ->01.59% (202,072B) in 11 places, all below massif's threshold (01.00%)
| | |
| | ->00.25% (31,735B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.50% (190,664B) 0x80EFDAE: close_func (in /home/david/nmap-mem/nmap)
| | ->01.35% (172,324B) 0x80F015C: body (in /home/david/nmap-mem/nmap)
| | | ->01.35% (172,324B) in 3 places, all below massif's threshold (01.00%)
| | |
| | ->00.14% (18,340B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.50% (190,664B) 0x80EFDE9: close_func (in /home/david/nmap-mem/nmap)
| | ->01.35% (172,324B) 0x80F015C: body (in /home/david/nmap-mem/nmap)
| | | ->01.35% (172,324B) in 3 places, all below massif's threshold (01.00%)
| | |
| | ->00.14% (18,340B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.15% (146,184B) 0x80EFE2A: close_func (in /home/david/nmap-mem/nmap)
|   ->01.15% (146,184B) in 2 places, all below massif's threshold (01.00%)
|
->09.78% (1,244,112B) 0x40453FF: pcre_compile2 (in /usr/local/lib/libpcre.so.0.0.1)
| ->09.78% (1,244,112B) 0x404580D: pcre_compile (in /usr/local/lib/libpcre.so.0.0.1)
|   ->09.78% (1,244,112B) 0x80A7CA6: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:367)
|     ->09.78% (1,244,112B) 0x80AAC48: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
|       ->09.78% (1,244,112B) 0x80AAFDF: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
|         ->09.78% (1,244,112B) 0x80AB25B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
|           ->09.78% (1,244,112B) 0x80AB8D9: AllProbes::service_scan_init() (service_scan.cc:1162)
|             ->09.78% (1,244,112B) 0x80AB91B: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
|               ->09.78% (1,244,112B) 0x8063B69: nmap_main(int, char**) (nmap.cc:1869)
|                 ->09.78% (1,244,112B) 0x805E324: main (main.cc:205)
|
->07.50% (954,720B) 0x8098E77: T.457 (new_allocator.h:89)
| ->06.16% (783,552B) 0x809A05F: nmap_services_init() (stl_tree.h:1230)
| | ->06.16% (783,552B) 0x809AA9B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->06.16% (783,552B) 0x8063252: nmap_main(int, char**) (nmap.cc:1423)
| |     ->06.16% (783,552B) 0x805E324: main (main.cc:205)
| |
| ->01.34% (171,120B) 0x8099FC0: nmap_services_init() (stl_tree.h:1233)
| | ->01.34% (171,120B) 0x809AA9B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->01.34% (171,120B) 0x8063252: nmap_main(int, char**) (nmap.cc:1423)
| |     ->01.34% (171,120B) 0x805E324: main (main.cc:205)
| |
| ->00.00% (48B) in 1+ places, all below ms_print's threshold (01.00%)
|
->05.00% (636,480B) 0x809999E: nmap_services_init() (new_allocator.h:89)
| ->05.00% (636,480B) 0x809AA9B: gettoppts(double, char*, scan_lists*) (services.cc:391)
|   ->05.00% (636,480B) 0x8063252: nmap_main(int, char**) (nmap.cc:1423)
|     ->05.00% (636,480B) 0x805E324: main (main.cc:205)
|
->04.16% (529,920B) 0x80AAC25: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1050)
| ->04.16% (529,920B) 0x80AAFDF: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
|   ->04.16% (529,920B) 0x80AB25B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
|     ->04.16% (529,920B) 0x80AB8D9: AllProbes::service_scan_init() (service_scan.cc:1162)
|       ->04.16% (529,920B) 0x80AB91B: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
|         ->04.16% (529,920B) 0x8063B69: nmap_main(int, char**) (nmap.cc:1869)
|           ->04.16% (529,920B) 0x805E324: main (main.cc:205)
|
->03.26% (415,048B) in 125 places, all below massif's threshold (01.00%)
|
->03.21% (408,304B) 0x428A654: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (new_allocator.h:89)
| ->02.50% (318,816B) 0x428C9DE: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (basic_string.tcc:457)
| | ->02.50% (318,816B) 0x428CB88: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (basic_string.tcc:662)
| |   ->02.50% (318,816B) 0x428CC2C: std::string::assign(char const*, unsigned int) (basic_string.tcc:265)
| |     ->02.50% (318,282B) 0x80996EF: nmap_services_init() (basic_string.h:970)
| |     | ->02.50% (318,282B) 0x809AA9B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     |   ->02.50% (318,282B) 0x8063252: nmap_main(int, char**) (nmap.cc:1423)
| |     |     ->02.50% (318,282B) 0x805E324: main (main.cc:205)
| |     |
| |     ->00.00% (534B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.70% (89,488B) in 1+ places, all below ms_print's threshold (01.00%)
|
->02.36% (300,672B) 0x80775E7: std::vector<FingerTest, std::allocator<FingerTest> >::_M_insert_aux(__gnu_cxx::__normal_iterator<FingerTest*, std::vector<FingerTest, std::allocator<FingerTest> > >, FingerTest const&) (new_allocator.h:89)
  ->02.36% (300,544B) 0x80763EF: parse_fingerprint_file(char const*) (stl_vector.h:741)
  | ->02.36% (300,544B) 0x8076C63: parse_fingerprint_reference_file(char const*) (osscan.cc:1101)
  |   ->02.36% (300,544B) 0x8063F7B: nmap_main(int, char**) (nmap.cc:1345)
  |     ->02.36% (300,544B) 0x805E324: main (main.cc:205)
  |
  ->00.00% (128B) in 1+ places, all below ms_print's threshold (01.00%)

After nmap-mem r16187, storing OS class strings in the string pool.

--------------------------------------------------------------------------------
Command:            ./nmap -v -A scanme.nmap.org -oX scanme-A.xml --max-retries 1
Massif arguments:   (none)
ms_print arguments: massif.out.11086
--------------------------------------------------------------------------------

    MB
11.71^                                                                       @
     |                                     :::::::::::::::::::::::::::::::::@#
     |                                   :@:                                @#
     |                                 @::@:                                @#
     |                                :@::@:                                @#
     |                              @::@::@:                                @#
     |                           @ :@::@::@:                                @#
     |                          @@::@::@::@:                                @#
     |                        @:@@::@::@::@:                                @#
     |                      @@@:@@::@::@::@:                                @#
     |                    ::@@@:@@::@::@::@:                                @#
     |                   :::@@@:@@::@::@::@:                                @#
     |                   :::@@@:@@::@::@::@:                                @#
     |                 :::::@@@:@@::@::@::@:                                @#
     |                @:::::@@@:@@::@::@::@:                                @#
     |             @@:@:::::@@@:@@::@::@::@:                                @#
     |          @@@@@:@:::::@@@:@@::@::@::@:                                @#
     |        @:@@@@@:@:::::@@@:@@::@::@::@:                                @#
     |     :@@@:@@@@@:@:::::@@@:@@::@::@::@:                                @#
     |   @@:@@@:@@@@@:@:::::@@@:@@::@::@::@:                                @#
   0 +----------------------------------------------------------------------->Gi
     0                                                                   1.384

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 89  1,484,484,897       10,114,720        8,685,761     1,428,959            0
85.87% (8,685,761B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->28.85% (2,917,768B) 0x80C695C: safe_zalloc (nbase_memalloc.c:140)
| ->27.50% (2,781,816B) 0x8075F2B: str2AVal(char*) (osscan.cc:604)
| | ->27.50% (2,781,816B) 0x80765F9: parse_fingerprint_file(char const*) (osscan.cc:1077)
| |   ->27.50% (2,781,816B) 0x8076A13: parse_fingerprint_reference_file(char const*) (osscan.cc:1095)
| |     ->27.50% (2,781,816B) 0x806403B: nmap_main(int, char**) (nmap.cc:1345)
| |       ->27.50% (2,781,816B) 0x805E3E4: main (main.cc:205)
| |
| ->01.30% (131,072B) 0x809E7E4: PortList::initializePortMap(int, unsigned short*, int) (portlist.cc:649)
| | ->01.30% (131,072B) 0x80629BF: nmap_main(int, char**) (nmap.cc:1633)
| |   ->01.30% (131,072B) 0x805E3E4: main (main.cc:205)
| |
| ->00.05% (4,880B) in 1+ places, all below ms_print's threshold (01.00%)
|
->12.64% (1,278,507B) 0x80C69F4: safe_malloc (nbase_memalloc.c:117)
| ->05.17% (522,670B) 0x80A7E36: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:344)
| | ->05.17% (522,670B) 0x80AAE48: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
| |   ->05.17% (522,670B) 0x80AB1DF: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
| |     ->05.17% (522,670B) 0x80AB45B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
| |       ->05.17% (522,670B) 0x80ABAD9: AllProbes::service_scan_init() (service_scan.cc:1162)
| |         ->05.17% (522,670B) 0x80ABB1B: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
| |           ->05.17% (522,670B) 0x8063C29: nmap_main(int, char**) (nmap.cc:1869)
| |             ->05.17% (522,670B) 0x805E3E4: main (main.cc:205)
| |
| ->03.89% (393,216B) 0x8098D18: cp_strdup(char const*) (charpool.cc:141)
| | ->03.89% (393,216B) 0x8099ADE: nmap_services_init() (services.cc:261)
| |   ->03.89% (393,216B) 0x809AC9B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     ->03.89% (393,216B) 0x8063312: nmap_main(int, char**) (nmap.cc:1423)
| |       ->03.89% (393,216B) 0x805E3E4: main (main.cc:205)
| |
| ->01.92% (194,604B) 0x80A7D47: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:402)
| | ->01.92% (194,604B) 0x80AAE48: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
| |   ->01.92% (194,604B) 0x80AB1DF: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
| |     ->01.92% (194,604B) 0x80AB45B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
| |       ->01.92% (194,604B) 0x80ABAD9: AllProbes::service_scan_init() (service_scan.cc:1162)
| |         ->01.92% (194,604B) 0x80ABB1B: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
| |           ->01.92% (194,604B) 0x8063C29: nmap_main(int, char**) (nmap.cc:1869)
| |             ->01.92% (194,604B) 0x805E3E4: main (main.cc:205)
| |
| ->01.66% (168,017B) in 28 places, all below massif's threshold (01.00%)
|
->12.30% (1,244,112B) 0x40453FF: pcre_compile2 (in /usr/local/lib/libpcre.so.0.0.1)
| ->12.30% (1,244,112B) 0x404580D: pcre_compile (in /usr/local/lib/libpcre.so.0.0.1)
|   ->12.30% (1,244,112B) 0x80A7EA6: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:367)
|     ->12.30% (1,244,112B) 0x80AAE48: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
|       ->12.30% (1,244,112B) 0x80AB1DF: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
|         ->12.30% (1,244,112B) 0x80AB45B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
|           ->12.30% (1,244,112B) 0x80ABAD9: AllProbes::service_scan_init() (service_scan.cc:1162)
|             ->12.30% (1,244,112B) 0x80ABB1B: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
|               ->12.30% (1,244,112B) 0x8063C29: nmap_main(int, char**) (nmap.cc:1869)
|                 ->12.30% (1,244,112B) 0x805E3E4: main (main.cc:205)
|
->11.48% (1,161,390B) 0x80EED71: luaM_realloc_ (in /home/david/nmap-mem/nmap)
| ->02.39% (241,652B) in 21 places, all below massif's threshold (01.00%)
| |
| ->02.12% (214,798B) 0x80F2BBA: luaS_newlstr (in /home/david/nmap-mem/nmap)
| | ->01.96% (198,617B) 0x80F9E69: luaX_newstring (in /home/david/nmap-mem/nmap)
| | | ->01.06% (107,683B) 0x80FA865: llex (in /home/david/nmap-mem/nmap)
| | | | ->01.06% (107,683B) 0x80FB0D0: luaX_next (in /home/david/nmap-mem/nmap)
| | | |   ->01.06% (107,683B) in 8 places, all below massif's threshold (01.00%)
| | | |
| | | ->00.90% (90,934B) in 1+ places, all below ms_print's threshold (01.00%)
| | |
| | ->00.16% (16,181B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->02.12% (214,368B) 0x80F3198: setnodevector (in /home/david/nmap-mem/nmap)
| | ->01.09% (109,928B) 0x80F3C3B: luaH_new (in /home/david/nmap-mem/nmap)
| | | ->01.09% (109,928B) in 4 places, all below massif's threshold (01.00%)
| | |
| | ->01.03% (104,272B) 0x80F37D8: resize (in /home/david/nmap-mem/nmap)
| | | ->01.03% (104,272B) 0x80F36AC: newkey (in /home/david/nmap-mem/nmap)
| | |   ->01.03% (104,244B) 0x80F48AB: luaV_settable (in /home/david/nmap-mem/nmap)
| | |   | ->01.03% (104,244B) in 3 places, all below massif's threshold (01.00%)
| | |   |
| | |   ->00.00% (28B) in 1+ places, all below ms_print's threshold (01.00%)
| | |
| | ->00.00% (168B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.76% (177,972B) 0x80EFFAE: close_func (in /home/david/nmap-mem/nmap)
| | ->01.68% (170,252B) 0x80F035C: body (in /home/david/nmap-mem/nmap)
| | | ->01.68% (170,252B) in 3 places, all below massif's threshold (01.00%)
| | |
| | ->00.08% (7,720B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.76% (177,972B) 0x80EFFE9: close_func (in /home/david/nmap-mem/nmap)
| | ->01.68% (170,252B) 0x80F035C: body (in /home/david/nmap-mem/nmap)
| | | ->01.68% (170,252B) in 3 places, all below massif's threshold (01.00%)
| | |
| | ->00.08% (7,720B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.33% (134,628B) 0x80F002A: close_func (in /home/david/nmap-mem/nmap)
|   ->01.19% (120,612B) 0x80F035C: body (in /home/david/nmap-mem/nmap)
|   | ->01.19% (120,612B) in 3 places, all below massif's threshold (01.00%)
|   |
|   ->00.14% (14,016B) in 1+ places, all below ms_print's threshold (01.00%)
|
->07.51% (759,360B) 0x8099077: T.457 (new_allocator.h:89)
| ->06.02% (609,312B) 0x809A25F: nmap_services_init() (stl_tree.h:1230)
| | ->06.02% (609,312B) 0x809AC9B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->06.02% (609,312B) 0x8063312: nmap_main(int, char**) (nmap.cc:1423)
| |     ->06.02% (609,312B) 0x805E3E4: main (main.cc:205)
| |
| ->01.48% (150,000B) 0x809A1C0: nmap_services_init() (stl_tree.h:1233)
| | ->01.48% (150,000B) 0x809AC9B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->01.48% (150,000B) 0x8063312: nmap_main(int, char**) (nmap.cc:1423)
| |     ->01.48% (150,000B) 0x805E3E4: main (main.cc:205)
| |
| ->00.00% (48B) in 1+ places, all below ms_print's threshold (01.00%)
|
->05.24% (529,920B) 0x80AAE25: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1050)
| ->05.24% (529,920B) 0x80AB1DF: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
|   ->05.24% (529,920B) 0x80AB45B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
|     ->05.24% (529,920B) 0x80ABAD9: AllProbes::service_scan_init() (service_scan.cc:1162)
|       ->05.24% (529,920B) 0x80ABB1B: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
|         ->05.24% (529,920B) 0x8063C29: nmap_main(int, char**) (nmap.cc:1869)
|           ->05.24% (529,920B) 0x805E3E4: main (main.cc:205)
|
->02.97% (300,544B) 0x8077687: std::vector<FingerTest, std::allocator<FingerTest> >::_M_insert_aux(__gnu_cxx::__normal_iterator<FingerTest*, std::vector<FingerTest, std::allocator<FingerTest> > >, FingerTest const&) (new_allocator.h:89)
| ->02.97% (300,544B) 0x807682F: parse_fingerprint_file(char const*) (stl_vector.h:741)
| | ->02.97% (300,544B) 0x8076A13: parse_fingerprint_reference_file(char const*) (osscan.cc:1095)
| |   ->02.97% (300,544B) 0x806403B: nmap_main(int, char**) (nmap.cc:1345)
| |     ->02.97% (300,544B) 0x805E3E4: main (main.cc:205)
| |
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
|
->02.51% (253,692B) 0x428A654: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (new_allocator.h:89)
| ->02.51% (253,590B) 0x428C9DE: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (basic_string.tcc:457)
| | ->02.51% (253,590B) 0x428CB88: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (basic_string.tcc:662)
| |   ->02.51% (253,590B) 0x428CC2C: std::string::assign(char const*, unsigned int) (basic_string.tcc:265)
| |     ->02.50% (253,140B) 0x80998EF: nmap_services_init() (basic_string.h:970)
| |     | ->02.50% (253,140B) 0x809AC9B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     |   ->02.50% (253,140B) 0x8063312: nmap_main(int, char**) (nmap.cc:1423)
| |     |     ->02.50% (253,140B) 0x805E3E4: main (main.cc:205)
| |     |
| |     ->00.00% (450B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.00% (102B) in 1+ places, all below ms_print's threshold (01.00%)
|
->02.38% (240,468B) in 127 places, all below massif's threshold (01.00%)

After nmap-mem r16188, removal of AVal::next.

--------------------------------------------------------------------------------
Command:            ./nmap -v -A scanme.nmap.org -oX scanme-A.xml --max-retries 1
Massif arguments:   (none)
ms_print arguments: massif.out.10885
--------------------------------------------------------------------------------


    MB
11.04^                                                                       #
     |                                     @:::::::::::::::::::::::::::::::::#
     |                                    @@:                                #
     |                                  :@@@:                                #
     |                                 @@@@@:                                #
     |                               @@@@@@@:                                #
     |                            @::@@@@@@@:                                #
     |                           @@::@@@@@@@:                                #
     |                         @@@@::@@@@@@@:                                #
     |                        @@@@@::@@@@@@@:                                #
     |                      :@@@@@@::@@@@@@@:                                #
     |                     ::@@@@@@::@@@@@@@:                                #
     |                     ::@@@@@@::@@@@@@@:                                #
     |                   ::::@@@@@@::@@@@@@@:                                #
     |                  :::::@@@@@@::@@@@@@@:                                #
     |                :::::::@@@@@@::@@@@@@@:                                #
     |            :@:@:::::::@@@@@@::@@@@@@@:                                #
     |         @@@:@:@:::::::@@@@@@::@@@@@@@:                                #
     |      @@@@@@:@:@:::::::@@@@@@::@@@@@@@:                                #
     |   @::@@@@@@:@:@:::::::@@@@@@::@@@@@@@:                                #
   0 +----------------------------------------------------------------------->Gi
     0                                                                   1.420

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 75  1,517,049,950       11,579,552        9,800,734     1,778,818            0
84.64% (9,800,734B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->14.52% (1,680,949B) 0x80F02B1: luaM_realloc_ (in /home/david/nmap-mem/nmap)
| ->04.10% (475,160B) 0x80F46D8: setnodevector (in /home/david/nmap-mem/nmap)
| | ->02.93% (339,052B) 0x80F4D18: resize (in /home/david/nmap-mem/nmap)
| | | ->02.93% (339,052B) 0x80F4BEC: newkey (in /home/david/nmap-mem/nmap)
| | |   ->02.32% (268,800B) 0x80F5DEB: luaV_settable (in /home/david/nmap-mem/nmap)
| | |   | ->01.74% (201,292B) 0x80F701A: luaV_execute (in /home/david/nmap-mem/nmap)
| | |   | | ->01.44% (167,300B) 0x80EE606: luaD_call (in /home/david/nmap-mem/nmap)
| | |   | | | ->01.44% (167,300B) in 4 places, all below massif's threshold (01.00%)
| | |   | | |
| | |   | | ->00.29% (33,992B) in 1+ places, all below ms_print's threshold (01.00%)
| | |   | |
| | |   | ->00.58% (67,508B) in 1+ places, all below ms_print's threshold (01.00%)
| | |   |
| | |   ->00.61% (70,252B) in 1+ places, all below ms_print's threshold (01.00%)
| | |
| | ->01.13% (130,928B) 0x80F517B: luaH_new (in /home/david/nmap-mem/nmap)
| | | ->01.13% (130,928B) in 4 places, all below massif's threshold (01.00%)
| | |
| | ->00.04% (5,180B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->03.76% (435,340B) in 21 places, all below massif's threshold (01.00%)
| |
| ->02.10% (242,937B) 0x80F40FA: luaS_newlstr (in /home/david/nmap-mem/nmap)
| | ->01.75% (202,072B) 0x80FB3A9: luaX_newstring (in /home/david/nmap-mem/nmap)
| | | ->01.75% (202,072B) in 11 places, all below massif's threshold (01.00%)
| | |
| | ->00.35% (40,865B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.65% (190,664B) 0x80F14EE: close_func (in /home/david/nmap-mem/nmap)
| | ->01.49% (172,324B) 0x80F189C: body (in /home/david/nmap-mem/nmap)
| | | ->01.49% (172,324B) in 3 places, all below massif's threshold (01.00%)
| | |
| | ->00.16% (18,340B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.65% (190,664B) 0x80F1529: close_func (in /home/david/nmap-mem/nmap)
| | ->01.49% (172,324B) 0x80F189C: body (in /home/david/nmap-mem/nmap)
| | | ->01.49% (172,324B) in 3 places, all below massif's threshold (01.00%)
| | |
| | ->00.16% (18,340B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->01.26% (146,184B) 0x80F156A: close_func (in /home/david/nmap-mem/nmap)
|   ->01.05% (121,692B) 0x80F189C: body (in /home/david/nmap-mem/nmap)
|   | ->01.05% (121,692B) in 3 places, all below massif's threshold (01.00%)
|   |
|   ->00.21% (24,492B) in 1+ places, all below ms_print's threshold (01.00%)
|
->11.19% (1,295,960B) 0x80C7F34: safe_malloc (nbase_memalloc.c:117)
| ->04.51% (522,670B) 0x80A9376: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:344)
| | ->04.51% (522,670B) 0x80AC388: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
| |   ->04.51% (522,670B) 0x80AC71F: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
| |     ->04.51% (522,670B) 0x80AC99B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
| |       ->04.51% (522,670B) 0x80AD019: AllProbes::service_scan_init() (service_scan.cc:1162)
| |         ->04.51% (522,670B) 0x80AD05B: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
| |           ->04.51% (522,670B) 0x8063D09: nmap_main(int, char**) (nmap.cc:1869)
| |             ->04.51% (522,670B) 0x805E4C4: main (main.cc:205)
| |
| ->03.40% (393,216B) 0x809A158: cp_strdup(char const*) (charpool.cc:141)
| | ->03.40% (393,216B) 0x809AF1E: nmap_services_init() (services.cc:261)
| |   ->03.40% (393,216B) 0x809C0DB: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     ->03.40% (393,216B) 0x80633F2: nmap_main(int, char**) (nmap.cc:1423)
| |       ->03.40% (393,216B) 0x805E4C4: main (main.cc:205)
| |
| ->01.68% (194,604B) 0x80A9287: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:402)
| | ->01.68% (194,604B) 0x80AC388: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
| |   ->01.68% (194,604B) 0x80AC71F: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
| |     ->01.68% (194,604B) 0x80AC99B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
| |       ->01.68% (194,604B) 0x80AD019: AllProbes::service_scan_init() (service_scan.cc:1162)
| |         ->01.68% (194,604B) 0x80AD05B: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
| |           ->01.68% (194,604B) 0x8063D09: nmap_main(int, char**) (nmap.cc:1869)
| |             ->01.68% (194,604B) 0x805E4C4: main (main.cc:205)
| |
| ->01.60% (185,470B) in 22 places, all below massif's threshold (01.00%)
|
->10.74% (1,244,112B) 0x40453FF: pcre_compile2 (in /usr/local/lib/libpcre.so.0.0.1)
| ->10.74% (1,244,112B) 0x404580D: pcre_compile (in /usr/local/lib/libpcre.so.0.0.1)
|   ->10.74% (1,244,112B) 0x80A93E6: ServiceProbeMatch::InitMatch(char const*, int) (service_scan.cc:367)
|     ->10.74% (1,244,112B) 0x80AC388: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1051)
|       ->10.74% (1,244,112B) 0x80AC71F: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
|         ->10.74% (1,244,112B) 0x80AC99B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
|           ->10.74% (1,244,112B) 0x80AD019: AllProbes::service_scan_init() (service_scan.cc:1162)
|             ->10.74% (1,244,112B) 0x80AD05B: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
|               ->10.74% (1,244,112B) 0x8063D09: nmap_main(int, char**) (nmap.cc:1869)
|                 ->10.74% (1,244,112B) 0x805E4C4: main (main.cc:205)
|
->09.11% (1,055,464B) 0x80780E6: std::vector<FingerTest, std::allocator<FingerTest> >::_M_insert_aux(__gnu_cxx::__normal_iterator<FingerTest*, std::vector<FingerTest, std::allocator<FingerTest> > >, FingerTest const&) (new_allocator.h:89)
| ->09.11% (1,055,176B) 0x8076EFB: parse_fingerprint_file(char const*) (stl_vector.h:741)
| | ->09.11% (1,055,176B) 0x8077153: parse_fingerprint_reference_file(char const*) (osscan.cc:1100)
| |   ->09.11% (1,055,176B) 0x806411B: nmap_main(int, char**) (nmap.cc:1345)
| |     ->09.11% (1,055,176B) 0x805E4C4: main (main.cc:205)
| |
| ->00.00% (288B) in 1+ places, all below ms_print's threshold (01.00%)
|
->08.24% (954,720B) 0x809A4B7: T.457 (new_allocator.h:89)
| ->06.77% (783,552B) 0x809B69F: nmap_services_init() (stl_tree.h:1230)
| | ->06.77% (783,552B) 0x809C0DB: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->06.77% (783,552B) 0x80633F2: nmap_main(int, char**) (nmap.cc:1423)
| |     ->06.77% (783,552B) 0x805E4C4: main (main.cc:205)
| |
| ->01.48% (171,120B) 0x809B600: nmap_services_init() (stl_tree.h:1233)
| | ->01.48% (171,120B) 0x809C0DB: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->01.48% (171,120B) 0x80633F2: nmap_main(int, char**) (nmap.cc:1423)
| |     ->01.48% (171,120B) 0x805E4C4: main (main.cc:205)
| |
| ->00.00% (48B) in 1+ places, all below ms_print's threshold (01.00%)
|
->05.50% (636,480B) 0x809AFDE: nmap_services_init() (new_allocator.h:89)
| ->05.50% (636,480B) 0x809C0DB: gettoppts(double, char*, scan_lists*) (services.cc:391)
|   ->05.50% (636,480B) 0x80633F2: nmap_main(int, char**) (nmap.cc:1423)
|     ->05.50% (636,480B) 0x805E4C4: main (main.cc:205)
|
->05.19% (601,344B) 0x8077FEE: std::vector<FingerTest, std::allocator<FingerTest> >::_M_insert_aux(__gnu_cxx::__normal_iterator<FingerTest*, std::vector<FingerTest, std::allocator<FingerTest> > >, FingerTest const&) (new_allocator.h:89)
| ->05.19% (601,088B) 0x8076EFB: parse_fingerprint_file(char const*) (stl_vector.h:741)
| | ->05.19% (601,088B) 0x8077153: parse_fingerprint_reference_file(char const*) (osscan.cc:1100)
| |   ->05.19% (601,088B) 0x806411B: nmap_main(int, char**) (nmap.cc:1345)
| |     ->05.19% (601,088B) 0x805E4C4: main (main.cc:205)
| |
| ->00.00% (256B) in 1+ places, all below ms_print's threshold (01.00%)
|
->05.13% (593,864B) 0x8076C84: parse_fingerprint_file(char const*) (new_allocator.h:89)
| ->05.13% (593,864B) 0x8077153: parse_fingerprint_reference_file(char const*) (osscan.cc:1100)
|   ->05.13% (593,864B) 0x806411B: nmap_main(int, char**) (nmap.cc:1345)
|     ->05.13% (593,864B) 0x805E4C4: main (main.cc:205)
|
->04.58% (529,920B) 0x80AC365: ServiceProbe::addMatch(char const*, int) (service_scan.cc:1050)
| ->04.58% (529,920B) 0x80AC71F: parse_nmap_service_probe_file(AllProbes*, char*) (service_scan.cc:1122)
|   ->04.58% (529,920B) 0x80AC99B: parse_nmap_service_probes(AllProbes*) (service_scan.cc:1151)
|     ->04.58% (529,920B) 0x80AD019: AllProbes::service_scan_init() (service_scan.cc:1162)
|       ->04.58% (529,920B) 0x80AD05B: service_scan(std::vector<Target*, std::allocator<Target*> >&) (service_scan.cc:2400)
|         ->04.58% (529,920B) 0x8063D09: nmap_main(int, char**) (nmap.cc:1869)
|           ->04.58% (529,920B) 0x805E4C4: main (main.cc:205)
|
->03.67% (425,099B) in 129 places, all below massif's threshold (01.00%)
|
->03.62% (418,854B) 0x428A654: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (new_allocator.h:89)
| ->02.75% (318,715B) 0x428C9DE: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (basic_string.tcc:457)
| | ->02.75% (318,715B) 0x428CB88: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (basic_string.tcc:662)
| |   ->02.75% (318,715B) 0x428CC2C: std::string::assign(char const*, unsigned int) (basic_string.tcc:265)
| |     ->02.75% (318,282B) 0x809AD2F: nmap_services_init() (basic_string.h:970)
| |     | ->02.75% (318,282B) 0x809C0DB: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     |   ->02.75% (318,282B) 0x80633F2: nmap_main(int, char**) (nmap.cc:1423)
| |     |     ->02.75% (318,282B) 0x805E4C4: main (main.cc:205)
| |     |
| |     ->00.00% (433B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.86% (100,139B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.78% (205,584B) 0x8078048: std::vector<FingerTest, std::allocator<FingerTest> >::_M_insert_aux(__gnu_cxx::__normal_iterator<FingerTest*, std::vector<FingerTest, std::allocator<FingerTest> > >, FingerTest const&) (new_allocator.h:89)
| ->01.77% (205,504B) 0x8076EFB: parse_fingerprint_file(char const*) (stl_vector.h:741)
| | ->01.77% (205,504B) 0x8077153: parse_fingerprint_reference_file(char const*) (osscan.cc:1100)
| |   ->01.77% (205,504B) 0x806411B: nmap_main(int, char**) (nmap.cc:1345)
| |     ->01.77% (205,504B) 0x805E4C4: main (main.cc:205)
| |
| ->00.00% (80B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.37% (158,384B) 0x80C7E9C: safe_zalloc (nbase_memalloc.c:140)
  ->01.13% (131,072B) 0x809FC24: PortList::initializePortMap(int, unsigned short*, int) (portlist.cc:649)
  | ->01.13% (131,072B) 0x8062A9F: nmap_main(int, char**) (nmap.cc:1633)
  |   ->01.13% (131,072B) 0x805E4C4: main (main.cc:205)
  |
  ->00.24% (27,312B) in 1+ places, all below ms_print's threshold (01.00%)

sizeof(Port)

15 Dec 2009

--------------------------------------------------------------------------------
Command:            ./nmap -p- localhost
Massif arguments:   (none)
ms_print arguments: massif.out.26592
--------------------------------------------------------------------------------


    MB
9.813^                                                                       :
     |                                                                 @@@@#::
     |                                                             @@@@@@@@#::
     |                                                        @@@@@@@@@@@@@#::
     |                                                    @@@@@@@@@@@@@@@@@#::
     |                                                ::::@@@@@@@@@@@@@@@@@#::
     |                                            ::::::::@@@@@@@@@@@@@@@@@#::
     |                                        :@@:::: ::::@@@@@@@@@@@@@@@@@#::
     |                                    :::::@@:::: ::::@@@@@@@@@@@@@@@@@#::
     |                                :@:@: :::@@:::: ::::@@@@@@@@@@@@@@@@@#::
     |                            :@@::@:@: :::@@:::: ::::@@@@@@@@@@@@@@@@@#::
     |                        :::::@@::@:@: :::@@:::: ::::@@@@@@@@@@@@@@@@@#::
     |                   ::@:::::::@@::@:@: :::@@:::: ::::@@@@@@@@@@@@@@@@@#::
     |               @@@:::@: :::::@@::@:@: :::@@:::: ::::@@@@@@@@@@@@@@@@@#::
     |            @@:@@ :::@: :::::@@::@:@: :::@@:::: ::::@@@@@@@@@@@@@@@@@#::
     |         :::@ :@@ :::@: :::::@@::@:@: :::@@:::: ::::@@@@@@@@@@@@@@@@@#::
     |        :: :@ :@@ :::@: :::::@@::@:@: :::@@:::: ::::@@@@@@@@@@@@@@@@@#::
     |       ::: :@ :@@ :::@: :::::@@::@:@: :::@@:::: ::::@@@@@@@@@@@@@@@@@#::
     |    :::::: :@ :@@ :::@: :::::@@::@:@: :::@@:::: ::::@@@@@@@@@@@@@@@@@#::
     |   ::: ::: :@ :@@ :::@: :::::@@::@:@: :::@@:::: ::::@@@@@@@@@@@@@@@@@#::
   0 +----------------------------------------------------------------------->Mi
     0                                                                   663.9
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 90    669,967,036       10,277,992        9,019,513     1,258,479            0
87.76% (9,019,513B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->58.07% (5,968,500B) 0x80A0C82: PortList::addPort(unsigned short, unsigned char, int) (portlist.cc:457)
| ->58.07% (5,968,500B) 0x808D7D6: ultrascan_port_pspec_update(UltraScanInfo*, HostScanStats*, probespec const*, int) (scan_engine.cc:2634)
|   ->58.07% (5,968,500B) 0x8092A4E: T.1276 (scan_engine.cc:2867)
|     ->58.07% (5,968,500B) 0x80937EB: get_pcap_result(UltraScanInfo*, timeval*) (scan_engine.cc:4345)
|       ->58.07% (5,968,500B) 0x8094A73: waitForResponses(UltraScanInfo*) (scan_engine.cc:4841)
|         ->58.07% (5,968,500B) 0x8097792: ultra_scan(std::vector<Target*, std::allocator<Target*> >&, scan_lists*, stype, timeout_info*) (scan_engine.cc:5125)
|           ->58.07% (5,968,500B) 0x8063AC1: nmap_main(int, char**) (nmap.cc:1812)
|             ->58.07% (5,968,500B) 0x805E4C4: main (main.cc:205)
|
->09.29% (954,720B) 0x809A4E7: T.457 (new_allocator.h:89)
| ->07.62% (783,552B) 0x809B6CF: nmap_services_init() (stl_tree.h:1230)
| | ->07.62% (783,552B) 0x809C10B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->07.62% (783,552B) 0x80633F2: nmap_main(int, char**) (nmap.cc:1423)
| |     ->07.62% (783,552B) 0x805E4C4: main (main.cc:205)
| |
| ->01.66% (171,120B) 0x809B630: nmap_services_init() (stl_tree.h:1233)
| | ->01.66% (171,120B) 0x809C10B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->01.66% (171,120B) 0x80633F2: nmap_main(int, char**) (nmap.cc:1423)
| |     ->01.66% (171,120B) 0x805E4C4: main (main.cc:205)
| |
| ->00.00% (48B) in 1+ places, all below ms_print's threshold (01.00%)
|
->06.19% (636,480B) 0x809B00E: nmap_services_init() (new_allocator.h:89)
| ->06.19% (636,480B) 0x809C10B: gettoppts(double, char*, scan_lists*) (services.cc:391)
|   ->06.19% (636,480B) 0x80633F2: nmap_main(int, char**) (nmap.cc:1423)
|     ->06.19% (636,480B) 0x805E4C4: main (main.cc:205)
|
->05.29% (543,490B) 0x80C7EEC: safe_zalloc (nbase_memalloc.c:140)
| ->02.55% (262,144B) 0x80A0165: PortList::PortList() (portlist.cc:398)
| | ->02.55% (262,144B) 0x80A591A: Target::Target() (Target.cc:107)
| |   ->02.55% (262,144B) 0x80671BB: nexthost(HostGroupState*, TargetGroup*, scan_lists*, int) (targets.cc:458)
| |     ->02.55% (262,144B) 0x8063629: nmap_main(int, char**) (nmap.cc:1716)
| |       ->02.55% (262,144B) 0x805E4C4: main (main.cc:205)
| |
| ->01.28% (131,072B) 0x809FC54: PortList::initializePortMap(int, unsigned short*, int) (portlist.cc:649)
| | ->01.28% (131,072B) 0x8062A9F: nmap_main(int, char**) (nmap.cc:1633)
| |   ->01.28% (131,072B) 0x805E4C4: main (main.cc:205)
| |
| ->01.28% (131,070B) 0x8060256: getpts(char const*, scan_lists*) (nmap.cc:2239)
| | ->01.28% (131,070B) 0x809BDC1: gettoppts(double, char*, scan_lists*) (services.cc:413)
| |   ->01.28% (131,070B) 0x80633F2: nmap_main(int, char**) (nmap.cc:1423)
| |     ->01.28% (131,070B) 0x805E4C4: main (main.cc:205)
| |
| ->00.19% (19,204B) in 1+ places, all below ms_print's threshold (01.00%)
|
->05.18% (532,510B) 0x80C7F84: safe_malloc (nbase_memalloc.c:117)
| ->04.78% (491,520B) 0x809A188: cp_strdup(char const*) (charpool.cc:141)
| | ->03.83% (393,216B) 0x809AF4E: nmap_services_init() (services.cc:261)
| | | ->03.83% (393,216B) 0x809C10B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| | |   ->03.83% (393,216B) 0x80633F2: nmap_main(int, char**) (nmap.cc:1423)
| | |     ->03.83% (393,216B) 0x805E4C4: main (main.cc:205)
| | |
| | ->00.96% (98,304B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.40% (40,990B) in 1+ places, all below ms_print's threshold (01.00%)
|
->03.10% (318,372B) 0x428A654: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (new_allocator.h:89)
| ->03.10% (318,346B) 0x428C9DE: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (basic_string.tcc:457)
| | ->03.10% (318,346B) 0x428CB88: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (basic_string.tcc:662)
| |   ->03.10% (318,346B) 0x428CC2C: std::string::assign(char const*, unsigned int) (basic_string.tcc:265)
| |     ->03.10% (318,282B) 0x809AD5F: nmap_services_init() (basic_string.h:970)
| |     | ->03.10% (318,282B) 0x809C10B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     |   ->03.10% (318,282B) 0x80633F2: nmap_main(int, char**) (nmap.cc:1423)
| |     |     ->03.10% (318,282B) 0x805E4C4: main (main.cc:205)
| |     |
| |     ->00.00% (64B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.00% (26B) in 1+ places, all below ms_print's threshold (01.00%)
|
->00.64% (65,441B) in 1+ places, all below ms_print's threshold (01.00%)

r16274, reducing the size of Port to 40 bytes.

--------------------------------------------------------------------------------
Command:            ./nmap -p- localhost
Massif arguments:   (none)
ms_print arguments: massif.out.1622
--------------------------------------------------------------------------------


    MB
6.717^                                                                      :
     |                                                               @@@@##::
     |                                                            @@@@@@@# ::
     |                                                        @@@@@@@@@@@# ::
     |                                                    @@@@@@@@@@@@@@@# ::
     |                                                @@@@@@@@@@@@@@@@@@@# ::
     |                                             @@@@@ @@@@@@@@@@@@@@@@# :::
     |                                         @@@@@@@@@ @@@@@@@@@@@@@@@@# :::
     |                                     :@@@@@@@@@@@@ @@@@@@@@@@@@@@@@# :::
     |                                 :::::@@ @@@@@@@@@ @@@@@@@@@@@@@@@@# :::
     |                             :::::::::@@ @@@@@@@@@ @@@@@@@@@@@@@@@@# :::
     |                            ::::::::::@@ @@@@@@@@@ @@@@@@@@@@@@@@@@# :::
     |                      ::@@@@::::::::::@@ @@@@@@@@@ @@@@@@@@@@@@@@@@# :::
     |                   :::: @   ::::::::::@@ @@@@@@@@@ @@@@@@@@@@@@@@@@# :::
     |                :::: :: @   ::::::::::@@ @@@@@@@@@ @@@@@@@@@@@@@@@@# :::
     |               :@: : :: @   ::::::::::@@ @@@@@@@@@ @@@@@@@@@@@@@@@@# :::
     |            ::::@: : :: @   ::::::::::@@ @@@@@@@@@ @@@@@@@@@@@@@@@@# :::
     |        :@@@:: :@: : :: @   ::::::::::@@ @@@@@@@@@ @@@@@@@@@@@@@@@@# :::
     |       ::@@ :: :@: : :: @   ::::::::::@@ @@@@@@@@@ @@@@@@@@@@@@@@@@# :::
     |    :::::@@ :: :@: : :: @   ::::::::::@@ @@@@@@@@@ @@@@@@@@@@@@@@@@# :::
   0 +----------------------------------------------------------------------->Mi
     0                                                                   328.6
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 90    323,335,291        7,041,568        5,612,179     1,429,389            0
79.70% (5,612,179B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->37.16% (2,616,600B) 0x80A08E2: PortList::createPort(unsigned short, unsigned char) (portlist.cc:646)
| ->37.16% (2,616,600B) 0x80A0B0A: PortList::setPortState(unsigned short, unsigned char, int) (portlist.cc:501)
|   ->37.16% (2,616,600B) 0x808D796: ultrascan_port_pspec_update(UltraScanInfo*, HostScanStats*, probespec const*, int) (scan_engine.cc:2631)
|     ->37.16% (2,616,600B) 0x8092B3E: T.1276 (scan_engine.cc:2864)
|       ->37.16% (2,616,600B) 0x80931D9: do_one_select_round(UltraScanInfo*, timeval*) (scan_engine.cc:3891)
|         ->37.16% (2,616,600B) 0x8094D03: waitForResponses(UltraScanInfo*) (scan_engine.cc:4840)
|           ->37.16% (2,616,600B) 0x8097882: ultra_scan(std::vector<Target*, std::allocator<Target*> >&, scan_lists*, stype, timeout_info*) (scan_engine.cc:5122)
|             ->37.16% (2,616,600B) 0x8063E07: nmap_main(int, char**) (nmap.cc:1836)
|               ->37.16% (2,616,600B) 0x805E674: main (main.cc:205)
|
->13.56% (954,720B) 0x809A5D7: T.457 (new_allocator.h:89)
| ->11.13% (783,552B) 0x809B7BF: nmap_services_init() (stl_tree.h:1230)
| | ->11.13% (783,552B) 0x809C1FB: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->11.13% (783,552B) 0x80635A2: nmap_main(int, char**) (nmap.cc:1423)
| |     ->11.13% (783,552B) 0x805E674: main (main.cc:205)
| |
| ->02.43% (171,120B) 0x809B720: nmap_services_init() (stl_tree.h:1233)
| | ->02.43% (171,120B) 0x809C1FB: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->02.43% (171,120B) 0x80635A2: nmap_main(int, char**) (nmap.cc:1423)
| |     ->02.43% (171,120B) 0x805E674: main (main.cc:205)
| |
| ->00.00% (48B) in 1+ places, all below ms_print's threshold (01.00%)
|
->09.04% (636,480B) 0x809B0FE: nmap_services_init() (new_allocator.h:89)
| ->09.04% (636,480B) 0x809C1FB: gettoppts(double, char*, scan_lists*) (services.cc:391)
|   ->09.04% (636,480B) 0x80635A2: nmap_main(int, char**) (nmap.cc:1423)
|     ->09.04% (636,480B) 0x805E674: main (main.cc:205)
|
->07.68% (540,674B) 0x80C823C: safe_zalloc (nbase_memalloc.c:140)
| ->03.72% (262,144B) 0x80A01F5: PortList::PortList() (portlist.cc:441)
| | ->03.72% (262,144B) 0x80A623A: Target::Target() (Target.cc:107)
| |   ->03.72% (262,144B) 0x806736B: nexthost(HostGroupState*, TargetGroup*, scan_lists*, int) (targets.cc:458)
| |     ->03.72% (262,144B) 0x80637D9: nmap_main(int, char**) (nmap.cc:1716)
| |       ->03.72% (262,144B) 0x805E674: main (main.cc:205)
| |
| ->01.86% (131,072B) 0x809FE24: PortList::initializePortMap(int, unsigned short*, int) (portlist.cc:713)
| | ->01.86% (131,072B) 0x8062C4F: nmap_main(int, char**) (nmap.cc:1633)
| |   ->01.86% (131,072B) 0x805E674: main (main.cc:205)
| |
| ->01.86% (131,070B) 0x8060406: getpts(char const*, scan_lists*) (nmap.cc:2239)
| | ->01.86% (131,070B) 0x809BEB1: gettoppts(double, char*, scan_lists*) (services.cc:413)
| |   ->01.86% (131,070B) 0x80635A2: nmap_main(int, char**) (nmap.cc:1423)
| |     ->01.86% (131,070B) 0x805E674: main (main.cc:205)
| |
| ->00.23% (16,388B) in 1+ places, all below ms_print's threshold (01.00%)
|
->07.56% (532,510B) 0x80C82D4: safe_malloc (nbase_memalloc.c:117)
| ->06.98% (491,520B) 0x809A278: cp_strdup(char const*) (charpool.cc:141)
| | ->05.58% (393,216B) 0x809B03E: nmap_services_init() (services.cc:261)
| | | ->05.58% (393,216B) 0x809C1FB: gettoppts(double, char*, scan_lists*) (services.cc:391)
| | |   ->05.58% (393,216B) 0x80635A2: nmap_main(int, char**) (nmap.cc:1423)
| | |     ->05.58% (393,216B) 0x805E674: main (main.cc:205)
| | |
| | ->01.40% (98,304B) 0x809B059: nmap_services_init() (services.cc:263)
| |   ->01.40% (98,304B) 0x809C1FB: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     ->01.40% (98,304B) 0x80635A2: nmap_main(int, char**) (nmap.cc:1423)
| |       ->01.40% (98,304B) 0x805E674: main (main.cc:205)
| |
| ->00.58% (40,990B) in 1+ places, all below ms_print's threshold (01.00%)
|
->04.52% (318,358B) 0x428A654: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (new_allocator.h:89)
| ->04.52% (318,332B) 0x428C9DE: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (basic_string.tcc:457)
| | ->04.52% (318,332B) 0x428CB88: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (basic_string.tcc:662)
| |   ->04.52% (318,332B) 0x428CC2C: std::string::assign(char const*, unsigned int) (basic_string.tcc:265)
| |     ->04.52% (318,282B) 0x809AE4F: nmap_services_init() (basic_string.h:970)
| |     | ->04.52% (318,282B) 0x809C1FB: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     |   ->04.52% (318,282B) 0x80635A2: nmap_main(int, char**) (nmap.cc:1423)
| |     |     ->04.52% (318,282B) 0x805E674: main (main.cc:205)
| |     |
| |     ->00.00% (50B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.00% (26B) in 1+ places, all below ms_print's threshold (01.00%)
|
->00.18% (12,837B) in 1+ places, all below ms_print's threshold (01.00%)

16 Dec 2009

nmap-mem r16276

Note the large spike of filtered ports at the end.

--------------------------------------------------------------------------------
Command:            ./nmap -p- 192.168.0.190-191 -PN -n
Massif arguments:   (none)
ms_print arguments: massif.out.all
--------------------------------------------------------------------------------


    MB
10.31^                                                                      #
     |                                                                      #
     |                                                                      #:
     |                                                                      #:
     |                                                                      #:
     |                                                                    ::#:
     |                                                                    : #:
     |                                                                    : #:
     |                                                                    : #:
     |                                                                   :: #:
     |                                                                   :: #:
     |                                                                   :: #:
     |                                             @::::::::@:::::::::::::: #:
     |           :::::::::@:::::::::@::::::::@@::::@: : :: :@:: :::: :: ::: #:
     |        ::::: : : : @: ::: :: @: ::::: @ ::: @: : :: :@:: :::: :: ::: #:
     |     :::: ::: : : : @: ::: :: @: ::::: @ ::: @: : :: :@:: :::: :: ::: #:
     |     :: : ::: : : : @: ::: :: @: ::::: @ ::: @: : :: :@:: :::: :: ::: #:
     |   :::: : ::: : : : @: ::: :: @: ::::: @ ::: @: : :: :@:: :::: :: ::: #:
     |   : :: : ::: : : : @: ::: :: @: ::::: @ ::: @: : :: :@:: :::: :: ::: #:
     | ::: :: : ::: : : : @: ::: :: @: ::::: @ ::: @: : :: :@:: :::: :: ::: #:
   0 +----------------------------------------------------------------------->Gi
     0                                                                   1.321
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 48  1,384,535,179       10,811,664        8,759,416     2,052,248            0
81.02% (8,759,416B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->43.64% (4,718,520B) 0x80A0892: PortList::createPort(unsigned short, unsigned char) (portlist.cc:651)
| ->43.64% (4,718,520B) 0x80A0AAA: PortList::setPortState(unsigned short, unsigned char, int) (portlist.cc:506)
|   ->43.64% (4,718,520B) 0x808D806: ultrascan_port_pspec_update(UltraScanInfo*, HostScanStats*, probespec const*, int) (scan_engine.cc:2631)
|     ->43.58% (4,711,896B) 0x808D9A3: HostScanStats::dismissBench() (scan_engine.cc:2711)
|     | ->43.58% (4,711,896B) 0x80972EB: processData(UltraScanInfo*) (scan_engine.cc:4966)
|     |   ->43.58% (4,711,896B) 0x8097910: ultra_scan(std::vector<Target*, std::allocator<Target*> >&, scan_lists*, stype, timeout_info*) (scan_engine.cc:5125)
|     |     ->43.58% (4,711,896B) 0x8063E77: nmap_main(int, char**) (nmap.cc:1836)
|     |       ->43.58% (4,711,896B) 0x805E6E4: main (main.cc:205)
|     |
|     ->00.06% (6,624B) in 1+ places, all below ms_print's threshold (01.00%)
|
->08.83% (954,720B) 0x809A647: T.457 (new_allocator.h:89)
| ->07.25% (783,552B) 0x809B82F: nmap_services_init() (stl_tree.h:1230)
| | ->07.25% (783,552B) 0x809C26B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->07.25% (783,552B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| |     ->07.25% (783,552B) 0x805E6E4: main (main.cc:205)
| |
| ->01.58% (171,120B) 0x809B790: nmap_services_init() (stl_tree.h:1233)
| | ->01.58% (171,120B) 0x809C26B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->01.58% (171,120B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| |     ->01.58% (171,120B) 0x805E6E4: main (main.cc:205)
| |
| ->00.00% (48B) in 1+ places, all below ms_print's threshold (01.00%)
|
->07.43% (802,814B) 0x80C84DC: safe_zalloc (nbase_memalloc.c:140)
| ->04.85% (524,288B) 0x80A154C: PortList::PortList() (portlist.cc:441)
| | ->04.85% (524,288B) 0x80A64DA: Target::Target() (Target.cc:107)
| |   ->04.85% (524,288B) 0x80673DB: nexthost(HostGroupState*, TargetGroup*, scan_lists*, int) (targets.cc:458)
| |     ->04.85% (524,288B) 0x8063849: nmap_main(int, char**) (nmap.cc:1716)
| |       ->04.85% (524,288B) 0x805E6E4: main (main.cc:205)
| |
| ->01.21% (131,072B) 0x809FEF4: PortList::initializePortMap(int, unsigned short*, int) (portlist.cc:716)
| | ->01.21% (131,072B) 0x8062CBF: nmap_main(int, char**) (nmap.cc:1633)
| |   ->01.21% (131,072B) 0x805E6E4: main (main.cc:205)
| |
| ->01.21% (131,070B) 0x8060476: getpts(char const*, scan_lists*) (nmap.cc:2239)
| | ->01.21% (131,070B) 0x809BF21: gettoppts(double, char*, scan_lists*) (services.cc:413)
| |   ->01.21% (131,070B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| |     ->01.21% (131,070B) 0x805E6E4: main (main.cc:205)
| |
| ->00.15% (16,384B) in 1+ places, all below ms_print's threshold (01.00%)
|
->07.27% (786,432B) 0x80985FC: std::vector<probespec, std::allocator<probespec> >::_M_insert_aux(__gnu_cxx::__normal_iterator<probespec*, std::vector<probespec, std::allocator<probespec> > >, probespec const&) (new_allocator.h:89)
| ->07.27% (786,432B) 0x80965EC: HostScanStats::moveProbeToBench(std::_List_iterator<UltraProbe*>) (stl_vector.h:741)
|   ->07.27% (786,432B) 0x809714E: processData(UltraScanInfo*) (scan_engine.cc:5014)
|     ->07.27% (786,432B) 0x8097910: ultra_scan(std::vector<Target*, std::allocator<Target*> >&, scan_lists*, stype, timeout_info*) (scan_engine.cc:5125)
|       ->07.27% (786,432B) 0x8063E77: nmap_main(int, char**) (nmap.cc:1836)
|         ->07.27% (786,432B) 0x805E6E4: main (main.cc:205)
|
->05.89% (636,480B) 0x809B16E: nmap_services_init() (new_allocator.h:89)
| ->05.89% (636,480B) 0x809C26B: gettoppts(double, char*, scan_lists*) (services.cc:391)
|   ->05.89% (636,480B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
|     ->05.89% (636,480B) 0x805E6E4: main (main.cc:205)
|
->04.93% (532,540B) 0x80C8574: safe_malloc (nbase_memalloc.c:117)
| ->04.55% (491,520B) 0x809A2E8: cp_strdup(char const*) (charpool.cc:141)
| | ->03.64% (393,216B) 0x809B0AE: nmap_services_init() (services.cc:261)
| | | ->03.64% (393,216B) 0x809C26B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| | |   ->03.64% (393,216B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| | |     ->03.64% (393,216B) 0x805E6E4: main (main.cc:205)
| | |
| | ->00.91% (98,304B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.38% (41,020B) in 1+ places, all below ms_print's threshold (01.00%)
|
->02.94% (318,366B) 0x428A654: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (new_allocator.h:89)
| ->02.94% (318,340B) 0x428C9DE: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (basic_string.tcc:457)
| | ->02.94% (318,340B) 0x428CB88: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (basic_string.tcc:662)
| |   ->02.94% (318,340B) 0x428CC2C: std::string::assign(char const*, unsigned int) (basic_string.tcc:265)
| |     ->02.94% (318,282B) 0x809AEBF: nmap_services_init() (basic_string.h:970)
| |     | ->02.94% (318,282B) 0x809C26B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     |   ->02.94% (318,282B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| |     |     ->02.94% (318,282B) 0x805E6E4: main (main.cc:205)
| |     |
| |     ->00.00% (58B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.00% (26B) in 1+ places, all below ms_print's threshold (01.00%)
|
->00.09% (9,544B) in 1+ places, all below ms_print's threshold (01.00%)

nmap-mem r16277

--------------------------------------------------------------------------------
Command:            ./nmap -p- 192.168.0.190-191 -PN -n
Massif arguments:   (none)
ms_print arguments: massif.out.some
--------------------------------------------------------------------------------


    MB
6.068^                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                @@:::@:::::@:::::@:::::#
     |                                 @:::@::::::::::@ :::@:::::@:::::@:::::#
     |               :::@::::::::::::::@ : @::::::::::@ :::@:::::@:::::@:::::#
     |        :@::::::::@:::: :::::::::@ : @::::::::::@ :::@:::::@:::::@:::::#
     |       ::@: ::::::@:::: :::::::::@ : @::::::::::@ :::@:::::@:::::@:::::#
     |     ::::@: ::::::@:::: :::::::::@ : @::::::::::@ :::@:::::@:::::@:::::#
     |     ::::@: ::::::@:::: :::::::::@ : @::::::::::@ :::@:::::@:::::@:::::#
     |    :::::@: ::::::@:::: :::::::::@ : @::::::::::@ :::@:::::@:::::@:::::#
     |    :::::@: ::::::@:::: :::::::::@ : @::::::::::@ :::@:::::@:::::@:::::#
     |   ::::::@: ::::::@:::: :::::::::@ : @::::::::::@ :::@:::::@:::::@:::::#
     |  :::::::@: ::::::@:::: :::::::::@ : @::::::::::@ :::@:::::@:::::@:::::#
     |  :::::::@: ::::::@:::: :::::::::@ : @::::::::::@ :::@:::::@:::::@:::::#
     | ::::::::@: ::::::@:::: :::::::::@ : @::::::::::@ :::@:::::@:::::@:::::#
     | ::::::::@: ::::::@:::: :::::::::@ : @::::::::::@ :::@:::::@:::::@:::::#
   0 +----------------------------------------------------------------------->Gi
     0                                                                   1.276
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 82  1,354,250,118        6,362,384        5,881,145       481,239            0
92.44% (5,881,145B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->53.82% (3,424,306B) 0x80C837C: safe_zalloc (nbase_memalloc.c:140)
| ->37.08% (2,359,332B) 0x80AE83B: NmapOutputTable::NmapOutputTable(int, int) (NmapOutputTable.cc:107)
| | ->37.08% (2,359,332B) 0x8086F26: printportoutput(Target*, PortList*) (output.cc:655)
| |   ->37.08% (2,359,332B) 0x8063351: nmap_main(int, char**) (nmap.cc:1907)
| |     ->37.08% (2,359,332B) 0x805E6E4: main (main.cc:205)
| |
| ->08.24% (524,288B) 0x80A13EC: PortList::PortList() (portlist.cc:441)
| | ->08.24% (524,288B) 0x80A637A: Target::Target() (Target.cc:107)
| |   ->08.24% (524,288B) 0x80673DB: nexthost(HostGroupState*, TargetGroup*, scan_lists*, int) (targets.cc:458)
| |     ->08.24% (524,288B) 0x8063849: nmap_main(int, char**) (nmap.cc:1716)
| |       ->08.24% (524,288B) 0x805E6E4: main (main.cc:205)
| |
| ->04.12% (262,148B) 0x80AE850: NmapOutputTable::NmapOutputTable(int, int) (NmapOutputTable.cc:109)
| | ->04.12% (262,148B) 0x8086F26: printportoutput(Target*, PortList*) (output.cc:655)
| |   ->04.12% (262,148B) 0x8063351: nmap_main(int, char**) (nmap.cc:1907)
| |     ->04.12% (262,148B) 0x805E6E4: main (main.cc:205)
| |
| ->02.06% (131,072B) 0x809FD94: PortList::initializePortMap(int, unsigned short*, int) (portlist.cc:716)
| | ->02.06% (131,072B) 0x8062CBF: nmap_main(int, char**) (nmap.cc:1633)
| |   ->02.06% (131,072B) 0x805E6E4: main (main.cc:205)
| |
| ->02.06% (131,070B) 0x8060476: getpts(char const*, scan_lists*) (nmap.cc:2239)
| | ->02.06% (131,070B) 0x809BDC1: gettoppts(double, char*, scan_lists*) (services.cc:413)
| |   ->02.06% (131,070B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| |     ->02.06% (131,070B) 0x805E6E4: main (main.cc:205)
| |
| ->00.26% (16,396B) in 1+ places, all below ms_print's threshold (01.00%)
|
->15.01% (954,720B) 0x809A4E7: T.457 (new_allocator.h:89)
| ->12.32% (783,552B) 0x809B6CF: nmap_services_init() (stl_tree.h:1230)
| | ->12.32% (783,552B) 0x809C10B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->12.32% (783,552B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| |     ->12.32% (783,552B) 0x805E6E4: main (main.cc:205)
| |
| ->02.69% (171,120B) 0x809B630: nmap_services_init() (stl_tree.h:1233)
| | ->02.69% (171,120B) 0x809C10B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->02.69% (171,120B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| |     ->02.69% (171,120B) 0x805E6E4: main (main.cc:205)
| |
| ->00.00% (48B) in 1+ places, all below ms_print's threshold (01.00%)
|
->10.00% (636,480B) 0x809B00E: nmap_services_init() (new_allocator.h:89)
| ->10.00% (636,480B) 0x809C10B: gettoppts(double, char*, scan_lists*) (services.cc:391)
|   ->10.00% (636,480B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
|     ->10.00% (636,480B) 0x805E6E4: main (main.cc:205)
|
->08.37% (532,650B) 0x80C8414: safe_malloc (nbase_memalloc.c:117)
| ->07.73% (491,520B) 0x809A188: cp_strdup(char const*) (charpool.cc:141)
| | ->06.18% (393,216B) 0x809AF4E: nmap_services_init() (services.cc:261)
| | | ->06.18% (393,216B) 0x809C10B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| | |   ->06.18% (393,216B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| | |     ->06.18% (393,216B) 0x805E6E4: main (main.cc:205)
| | |
| | ->01.55% (98,304B) 0x809AF69: nmap_services_init() (services.cc:263)
| |   ->01.55% (98,304B) 0x809C10B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     ->01.55% (98,304B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| |       ->01.55% (98,304B) 0x805E6E4: main (main.cc:205)
| |
| ->00.65% (41,130B) in 1+ places, all below ms_print's threshold (01.00%)
|
->05.00% (318,382B) 0x428A654: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (new_allocator.h:89)
| ->05.00% (318,356B) 0x428C9DE: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (basic_string.tcc:457)
| | ->05.00% (318,356B) 0x428CB88: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (basic_string.tcc:662)
| |   ->05.00% (318,356B) 0x428CC2C: std::string::assign(char const*, unsigned int) (basic_string.tcc:265)
| |     ->05.00% (318,282B) 0x809AD5F: nmap_services_init() (basic_string.h:970)
| |     | ->05.00% (318,282B) 0x809C10B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     |   ->05.00% (318,282B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| |     |     ->05.00% (318,282B) 0x805E6E4: main (main.cc:205)
| |     |
| |     ->00.00% (74B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.00% (26B) in 1+ places, all below ms_print's threshold (01.00%)
|
->00.23% (14,607B) in 1+ places, all below ms_print's threshold (01.00%)

19 Dec

r16276

This is a repeat of the scan at the top of the page. It uses less memory because the Port structure is smaller.

--------------------------------------------------------------------------------
Command:            ./nmap -p- -sU scanme.nmap.org/30 -oX scanme-30.xml --max-re
tries 1
Massif arguments:   (none)
ms_print arguments: massif.out.2863
--------------------------------------------------------------------------------


    MB
17.66^                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                       #
     |                                                                      @#
     |                                                                      @#
     |                                                                      @#
     |                                                                      @#
     |                                                                     @@#
     |                                                                    @@@#
     |                                                                    @@@#
     |                       @@::::@::@::::@@:::::::@@:::@:::@::::@:::::::@@@#
     |    @::::@:::::::::@:::@ ::: @: @::::@ : :: ::@ :: @: :@::::@:::::::@@@#
     |::::@:: :@:: :::: :@:::@ ::: @: @::::@ : :: ::@ :: @: :@::::@:::::::@@@#
     |: ::@:: :@:: :::: :@:::@ ::: @: @::::@ : :: ::@ :: @: :@::::@:::::::@@@#
     |: ::@:: :@:: :::: :@:::@ ::: @: @::::@ : :: ::@ :: @: :@::::@:::::::@@@#
     |: ::@:: :@:: :::: :@:::@ ::: @: @::::@ : :: ::@ :: @: :@::::@:::::::@@@#
   0 +----------------------------------------------------------------------->Gi
     0                                                                   15.29
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 68 16,422,401,989       18,517,608       14,878,263     3,639,345            0
80.35% (14,878,263B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->50.94% (9,432,540B) 0x80A0892: PortList::createPort(unsigned short, unsigned char) (portlist.cc:651)
| ->50.94% (9,432,540B) 0x80A0AAA: PortList::setPortState(unsigned short, unsigned char, int) (portlist.cc:506)
|   ->50.94% (9,432,540B) 0x808D806: ultrascan_port_pspec_update(UltraScanInfo*, HostScanStats*, probespec const*, int) (scan_engine.cc:2631)
|     ->50.87% (9,420,624B) 0x808D9A3: HostScanStats::dismissBench() (scan_engine.cc:2711)
|     | ->50.87% (9,420,624B) 0x80972EB: processData(UltraScanInfo*) (scan_engine.cc:4966)
|     |   ->50.87% (9,420,624B) 0x8097910: ultra_scan(std::vector<Target*, std::allocator<Target*> >&, scan_lists*, stype, timeout_info*) (scan_engine.cc:5125)
|     |     ->50.87% (9,420,624B) 0x8063E44: nmap_main(int, char**) (nmap.cc:1833)
|     |       ->50.87% (9,420,624B) 0x805E6E4: main (main.cc:205)
|     |
|     ->00.06% (11,916B) in 1+ places, all below ms_print's threshold (01.00%)
|
->08.49% (1,572,864B) 0x80985FC: std::vector<probespec, std::allocator<probespec> >::_M_insert_aux(__gnu_cxx::__normal_iterator<probespec*, std::vector<probespec, std::allocator<probespec> > >, probespec const&) (new_allocator.h:89)
| ->08.49% (1,572,864B) 0x80965EC: HostScanStats::moveProbeToBench(std::_List_iterator<UltraProbe*>) (stl_vector.h:741)
|   ->08.49% (1,572,864B) 0x809714E: processData(UltraScanInfo*) (scan_engine.cc:5014)
|     ->08.49% (1,572,864B) 0x8097910: ultra_scan(std::vector<Target*, std::allocator<Target*> >&, scan_lists*, stype, timeout_info*) (scan_engine.cc:5125)
|       ->08.49% (1,572,864B) 0x8063E44: nmap_main(int, char**) (nmap.cc:1833)
|         ->08.49% (1,572,864B) 0x805E6E4: main (main.cc:205)
|
->07.19% (1,331,970B) 0x80C84DC: safe_zalloc (nbase_memalloc.c:140)
| ->05.66% (1,048,576B) 0x80A154C: PortList::PortList() (portlist.cc:441)
| | ->05.66% (1,048,576B) 0x80A64DA: Target::Target() (Target.cc:107)
| |   ->05.66% (1,048,576B) 0x80673DB: nexthost(HostGroupState*, TargetGroup*, scan_lists*, int) (targets.cc:458)
| |     ->05.66% (1,048,576B) 0x8063849: nmap_main(int, char**) (nmap.cc:1716)
| |       ->05.66% (1,048,576B) 0x805E6E4: main (main.cc:205)
| |
| ->01.53% (283,394B) in 9 places, all below massif's threshold (01.00%)
|
->05.16% (954,720B) 0x809A647: T.457 (new_allocator.h:89)
| ->04.23% (783,552B) 0x809B82F: nmap_services_init() (stl_tree.h:1230)
| | ->04.23% (783,552B) 0x809C26B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->04.23% (783,552B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| |     ->04.23% (783,552B) 0x805E6E4: main (main.cc:205)
| |
| ->00.92% (171,168B) in 1+ places, all below ms_print's threshold (01.00%)
|
->03.44% (636,480B) 0x809B16E: nmap_services_init() (new_allocator.h:89)
| ->03.44% (636,480B) 0x809C26B: gettoppts(double, char*, scan_lists*) (services.cc:391)
|   ->03.44% (636,480B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
|     ->03.44% (636,480B) 0x805E6E4: main (main.cc:205)
|
->02.88% (532,584B) 0x80C8574: safe_malloc (nbase_memalloc.c:117)
| ->02.65% (491,520B) 0x809A2E8: cp_strdup(char const*) (charpool.cc:141)
| | ->02.12% (393,216B) 0x809B0AE: nmap_services_init() (services.cc:261)
| | | ->02.12% (393,216B) 0x809C26B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| | |   ->02.12% (393,216B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| | |     ->02.12% (393,216B) 0x805E6E4: main (main.cc:205)
| | |
| | ->00.53% (98,304B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.22% (41,064B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.72% (318,364B) 0x428A654: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (new_allocator.h:89)
| ->01.72% (318,338B) 0x428C9DE: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (basic_string.tcc:457)
| | ->01.72% (318,338B) 0x428CB88: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (basic_string.tcc:662)
| |   ->01.72% (318,338B) 0x428CC2C: std::string::assign(char const*, unsigned int) (basic_string.tcc:265)
| |     ->01.72% (318,282B) 0x809AEBF: nmap_services_init() (basic_string.h:970)
| |     | ->01.72% (318,282B) 0x809C26B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     |   ->01.72% (318,282B) 0x8063612: nmap_main(int, char**) (nmap.cc:1423)
| |     |     ->01.72% (318,282B) 0x805E6E4: main (main.cc:205)
| |     |
| |     ->00.00% (56B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.00% (26B) in 1+ places, all below ms_print's threshold (01.00%)
|
->00.53% (98,741B) in 1+ places, all below ms_print's threshold (01.00%)

r16290

This is a repeat of the scan at the top of the page and immediately above this one. Now there is now spike at the end because open|filtered ports don't allocate a Port object.

--------------------------------------------------------------------------------
Command:            ./nmap -p- -sU scanme.nmap.org/30 -oX scanme-30.xml --max-re
tries 1
Massif arguments:   (none)
ms_print arguments: massif.out.869
--------------------------------------------------------------------------------


    MB
5.944^                                 #
     |                                 #:::::@@::::::@@:::::::::::::::::::::::
     |                             ::::#: : :@ ::::: @ : ::: : : : : :::: ::::
     |               @@            : : #: : :@ ::::: @ : ::: : : : : :::: ::::
     |               @ @:::::::::::: : #: : :@ ::::: @ : ::: : : : : :::: ::::
     |        :::::::@ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: ::::
     | ::::::::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
     | : : : ::: ::: @ @: :: ::: ::: : #: : :@ ::::: @ : ::: : : : : :::: :::@
   0 +----------------------------------------------------------------------->Gi
     0                                                                   8.819
--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 23  4,345,197,178        6,232,264        5,750,101       482,163            0
92.26% (5,750,101B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->28.39% (1,769,472B) 0x80986CC: std::vector<probespec, std::allocator<probespec> >::_M_insert_aux(__gnu_cxx::__normal_iterator<probespec*, std::vector<probespec, std::allocator<probespec> > >, probespec const&) (new_allocator.h:89)
| ->28.39% (1,769,472B) 0x809675C: HostScanStats::moveProbeToBench(std::_List_iterator<UltraProbe*>) (stl_vector.h:741)
|   ->28.39% (1,769,472B) 0x809721E: processData(UltraScanInfo*) (scan_engine.cc:5027)
|     ->28.39% (1,769,472B) 0x80979E0: ultra_scan(std::vector<Target*, std::allocator<Target*> >&, scan_lists*, stype, timeout_info*) (scan_engine.cc:5138)
|       ->28.39% (1,769,472B) 0x8063EB4: nmap_main(int, char**) (nmap.cc:1833)
|         ->28.39% (1,769,472B) 0x805E754: main (main.cc:205)
|
->23.48% (1,463,024B) 0x80C8E1C: safe_zalloc (nbase_memalloc.c:140)
| ->16.82% (1,048,560B) 0x80A17F1: PortList::PortList() (portlist.cc:447)
| | ->16.82% (1,048,560B) 0x80A6CFA: Target::Target() (Target.cc:107)
| |   ->16.82% (1,048,560B) 0x806744B: nexthost(HostGroupState*, TargetGroup*, scan_lists*, int) (targets.cc:458)
| |     ->16.82% (1,048,560B) 0x80638B9: nmap_main(int, char**) (nmap.cc:1716)
| |       ->16.82% (1,048,560B) 0x805E754: main (main.cc:205)
| |
| ->02.10% (131,072B) 0x80A0004: PortList::initializePortMap(int, unsigned short*, int) (portlist.cc:743)
| | ->02.10% (131,072B) 0x8062D5F: nmap_main(int, char**) (nmap.cc:1635)
| |   ->02.10% (131,072B) 0x805E754: main (main.cc:205)
| |
| ->02.10% (131,070B) 0x80604FE: getpts(char const*, scan_lists*) (nmap.cc:2242)
| | ->02.10% (131,070B) 0x809BFF1: gettoppts(double, char*, scan_lists*) (services.cc:413)
| |   ->02.10% (131,070B) 0x8063682: nmap_main(int, char**) (nmap.cc:1423)
| |     ->02.10% (131,070B) 0x805E754: main (main.cc:205)
| |
| ->02.10% (131,070B) 0x80A0016: PortList::initializePortMap(int, unsigned short*, int) (portlist.cc:744)
| | ->02.10% (131,070B) 0x8062D5F: nmap_main(int, char**) (nmap.cc:1635)
| |   ->02.10% (131,070B) 0x805E754: main (main.cc:205)
| |
| ->00.34% (21,252B) in 1+ places, all below ms_print's threshold (01.00%)
|
->15.32% (954,720B) 0x809A717: T.457 (new_allocator.h:89)
| ->12.57% (783,552B) 0x809B8FF: nmap_services_init() (stl_tree.h:1230)
| | ->12.57% (783,552B) 0x809C33B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->12.57% (783,552B) 0x8063682: nmap_main(int, char**) (nmap.cc:1423)
| |     ->12.57% (783,552B) 0x805E754: main (main.cc:205)
| |
| ->02.75% (171,120B) 0x809B860: nmap_services_init() (stl_tree.h:1233)
| | ->02.75% (171,120B) 0x809C33B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |   ->02.75% (171,120B) 0x8063682: nmap_main(int, char**) (nmap.cc:1423)
| |     ->02.75% (171,120B) 0x805E754: main (main.cc:205)
| |
| ->00.00% (48B) in 1+ places, all below ms_print's threshold (01.00%)
|
->10.21% (636,480B) 0x809B23E: nmap_services_init() (new_allocator.h:89)
| ->10.21% (636,480B) 0x809C33B: gettoppts(double, char*, scan_lists*) (services.cc:391)
|   ->10.21% (636,480B) 0x8063682: nmap_main(int, char**) (nmap.cc:1423)
|     ->10.21% (636,480B) 0x805E754: main (main.cc:205)
|
->08.55% (532,584B) 0x80C8EB4: safe_malloc (nbase_memalloc.c:117)
| ->07.89% (491,520B) 0x809A3B8: cp_strdup(char const*) (charpool.cc:141)
| | ->06.31% (393,216B) 0x809B17E: nmap_services_init() (services.cc:261)
| | | ->06.31% (393,216B) 0x809C33B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| | |   ->06.31% (393,216B) 0x8063682: nmap_main(int, char**) (nmap.cc:1423)
| | |     ->06.31% (393,216B) 0x805E754: main (main.cc:205)
| | |
| | ->01.58% (98,304B) 0x809B199: nmap_services_init() (services.cc:263)
| |   ->01.58% (98,304B) 0x809C33B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     ->01.58% (98,304B) 0x8063682: nmap_main(int, char**) (nmap.cc:1423)
| |       ->01.58% (98,304B) 0x805E754: main (main.cc:205)
| |
| ->00.66% (41,064B) in 1+ places, all below ms_print's threshold (01.00%)
|
->05.11% (318,364B) 0x428A654: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (new_allocator.h:89)
| ->05.11% (318,338B) 0x428C9DE: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (basic_string.tcc:457)
| | ->05.11% (318,338B) 0x428CB88: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (basic_string.tcc:662)
| |   ->05.11% (318,338B) 0x428CC2C: std::string::assign(char const*, unsigned int) (basic_string.tcc:265)
| |     ->05.11% (318,282B) 0x809AF8F: nmap_services_init() (basic_string.h:970)
| |     | ->05.11% (318,282B) 0x809C33B: gettoppts(double, char*, scan_lists*) (services.cc:391)
| |     |   ->05.11% (318,282B) 0x8063682: nmap_main(int, char**) (nmap.cc:1423)
| |     |     ->05.11% (318,282B) 0x805E754: main (main.cc:205)
| |     |
| |     ->00.00% (56B) in 1+ places, all below ms_print's threshold (01.00%)
| |
| ->00.00% (26B) in 1+ places, all below ms_print's threshold (01.00%)
|
->01.21% (75,457B) in 62 places, all below massif's threshold (01.00%)
Page last modified on August 27, 2010, at 05:59 PM