@Test
	public void testStrp_64() throws IOException {
		stringTable.add(1, "string1 at 1");
		stringTable.add(100, "string2 at 100");

		// @formatter:off
		BinaryReader br = br(
			/* str1 */ (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 100,
			/* str2 */ (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 1,
			/* guard byte for test */ (byte) 0xff);
		// @formatter:on

		setCompUnit(dwarfProg.addCompUnit(DWARFSourceLanguage.DW_LANG_C, 8 /* dwarf64 */));

		DWARFAttributeValue result1 = read(br, DW_AT_name, DW_FORM_strp);
		assertTrue("Should be string", result1 instanceof DWARFStringAttribute);
		assertEquals("string2 at 100", ((DWARFStringAttribute) result1).getValue(cu));

		DWARFAttributeValue result2 = read(br, DW_AT_name, DW_FORM_strp);
		assertTrue("Should be string", result2 instanceof DWARFStringAttribute);
		assertEquals("string1 at 1", ((DWARFStringAttribute) result2).getValue(cu));

		assertEquals("guard byte", (byte) 0xff, br.readNextByte());
	}
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