# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Dark Matter

# FDOS v1.0 FINAL - B57 udiag

- 1
- 2
…
- 36
- 37
- 38
- 39
- 40
…
- 192
- 193

Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
page 38
Broadcom Confidential and Proprietary
If bus number, device number and function number have been specified, the program
will only test the UUT with the specified bus number, device number and function
number.
Example: -bus 2:4:1
This option should NOT be used along with –c option.
-dpmi Use DPMI memory allocation
Use DPMI memory allocation method to allocate memory instead of malloc() or free()
-f <filename> Program eeprom.bin
The program programs the content of the specified file into EEPROM before testing.
-m Program MAC address
If this option is entered, the program will prompt user for a new MAC address to be
enter/scan before testing starts.
-mac <mac address> Program MAC address from command line
If this option is entered, the program will retrieve MAC address right after the –mac option
is entered. The mac address has to be entered in hex and as shown in the following example:
b57diag –mac 001018010203
-fmac <filename> Program MAC address from a file
If this option is entered, the program will retrieve MAC address from the specified file before
starts testing. If the test passes, the MAC address from the specified file will be incremented;
if not, it will stay unchanged. The text file which contains the MAC address range has the
following format and the numbers are in hexadecimal:
mac_addr_pref = xxxxxx => Which is the prefix of the MAC address.
mac_addr_start = xxxxxx => Which is the start of the address range.
mac_addr_end = xxxxxx => Which is the end of the address range.
Example:
mac_addr_pref = 001018
mac_addr_start = 000100
mac_addr_end = 000FFF
Working in conjunction with –f <file> option, this –fmac option is equivalent to option –m.

- 1
- 2
…
- 36
- 37
- 38
- 39
- 40
…
- 192
- 193