~ubuntu-branches/ubuntu/maverick/radare/maverick

« back to all changes in this revision

Viewing changes to src/arch/bf/code.c

  • Committer: Bazaar Package Importer
  • Author(s): SevenMachines
  • Date: 2010-09-07 15:44:27 UTC
  • mfrom: (1.1.3 upstream) (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100907154427-37u92vu12tqabqqz
Tags: 1:1.5.2-3ubuntu1
* Merge from debian testing (LP: #621016)
* debian/control:
     + libvala-dev transition to libval-0.10-dev (LP: #618809) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <stdio.h>
25
25
#include <string.h>
26
26
 
27
 
u64 last_loop = 0;
 
27
ut64 last_loop = 0;
28
28
 
29
29
// NOTE: bytes should be at least 16 bytes?
30
 
int arch_bf_aop(u64 addr, const u8 *buf, struct aop_t *aop)
 
30
int arch_bf_aop(ut64 addr, const u8 *buf, struct aop_t *aop)
31
31
{
32
32
        int len = 256; /* XXX fix limit bytes here */
33
33
        int i;
80
80
        return aop->length;
81
81
}
82
82
 
83
 
int arch_bf_dis(const u8* buf, u64 addr, int len)
 
83
int arch_bf_dis(const u8* buf, ut64 addr, int len)
84
84
{
85
85
        int i;
86
86
        const u8 *b = buf;