Find Jobs
Hire Freelancers

ASM code for a binary version of strstr()

$10-30 USD

Terminado
Publicado hace alrededor de 10 años

$10-30 USD

Pagado a la entrega
I simply need a ASM function (to use in a c++ program) that does the same thing than strstr but including any characters (binary). Say the function is binbin(): char dataToCheck[100000]; char dataToFind[16]; int position=binbin(dataToCheck, dataToFind); position will receive the position of the string dataToFind in dataToCheck if it is found or -1 else.
ID del proyecto: 5427542

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 10 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hello I am C/C++ expert and I am experienced with ASM too. What is target OS/assembler? is it OK to use Visual Studio?
$16 USD en 1 día
5,0 (206 comentarios)
6,0
6,0
5 freelancers están ofertando un promedio de $20 USD por este trabajo
Avatar del usuario
A proposal has not yet been provided
$25 USD en 1 día
4,8 (13 comentarios)
4,8
4,8
Avatar del usuario
Hello, I can solve your problem. I use MASM32 assembler and VS C++ 2010. It will be a dll(along with lib file) and C++ driver program for testing. It's not quite clear what you mean by character and binary. Better describe what you're trying to achieve. strstr already performs bytewise(binary?) comparison of two strings. Do you need a function for wide chars or ints to be compared?
$15 USD en 1 día
5,0 (22 comentarios)
4,5
4,5
Avatar del usuario
Hi. I can help you on this project .
$25 USD en 1 día
5,0 (12 comentarios)
4,3
4,3
Avatar del usuario
This is a straight forward job. I do have a few questions about the type of solution you're looking for. I am assuming that you want a solution for the x86, but there are a number of details that will need to be known to do a proper solution. 1. Do you want this for 16-bit mode, 32-bit mode, or 64-bit mode? 2. What about Windows vs Linux? (Windows and Linux have different interface for 64-bit assembly). 3. I can whip up a simple solution (small, but possibly very slow on large data sets), or I can whip up a more complicated solution that would on average be faster, but be larger and take more stack space. 4. Also, what assembler would you like this written for? TASM? MASM? GAS? NASM? Other? By the way, strstr() can get away with two parameters as the strings are terminated with a NUL character (0 byte). When comparing two binaries, we can not rely on such a convention, and so four parameters are required (two are pointers, and two are sizes).
$20 USD en 2 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de FRANCE
Bourg de peage, France
5,0
41
Forma de pago verificada
Miembro desde dic 23, 2003

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.