@Test
	public void testFlag() throws IOException {
		BinaryReader br = br((byte) 55, (byte) 0x00);

		DWARFAttributeValue result = read(br, DW_AT_byte_size, DW_FORM_flag);
		assertTrue("Should be flag", result instanceof DWARFBooleanAttribute);
		assertEquals("should be true", true, ((DWARFBooleanAttribute) result).getValue());

		result = read(br, DW_AT_byte_size, DW_FORM_flag);
		assertTrue("Should be flag", result instanceof DWARFBooleanAttribute);
		assertEquals("should be false", false, ((DWARFBooleanAttribute) result).getValue());
	}
Test reading binary representations of DWARF attributes from raw bytes.
Ghidra/Features/Base/src/test/java/ghidra/app/util/bin/format/dwarf/attribs/DWARFAttributeFactoryTest.java