dtb.cc (af0dd31fc469cac25e441ff350ccda958ea5c8df) dtb.cc (009f7b425d0046197035b97e71153908303619c2)
1/*-
2 * Copyright (c) 2013 David Chisnall
3 * All rights reserved.
4 *
5 * This software was developed by SRI International and the University of
6 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
7 * ("CTSRD"), as part of the DARPA CRASH research programme.
8 *

--- 17 unchanged lines hidden (view full) ---

26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $FreeBSD$
31 */
32
33#include "dtb.hh"
1/*-
2 * Copyright (c) 2013 David Chisnall
3 * All rights reserved.
4 *
5 * This software was developed by SRI International and the University of
6 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
7 * ("CTSRD"), as part of the DARPA CRASH research programme.
8 *

--- 17 unchanged lines hidden (view full) ---

26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $FreeBSD$
31 */
32
33#include "dtb.hh"
34#include <sys/types.h>
34#include <inttypes.h>
35#include <inttypes.h>
36#include <stdio.h>
37#include <unistd.h>
35
38
39
36namespace dtc
37{
38namespace dtb
39{
40
41void output_writer::write_data(byte_buffer b)
42{
43 for (byte_buffer::iterator i=b.begin(), e=b.end(); i!=e ; i++)

--- 265 unchanged lines hidden ---
40namespace dtc
41{
42namespace dtb
43{
44
45void output_writer::write_data(byte_buffer b)
46{
47 for (byte_buffer::iterator i=b.begin(), e=b.end(); i!=e ; i++)

--- 265 unchanged lines hidden ---