| 
									
										
										
										
											2009-09-07 15:57:41 +03:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  *  ClamAV bytecode internal API | 
					
						
							| 
									
										
										
										
											2009-09-30 13:41:02 +03:00
										 |  |  |  *  This is an automatically generated file! | 
					
						
							| 
									
										
										
										
											2009-09-07 15:57:41 +03:00
										 |  |  |  * | 
					
						
							|  |  |  |  *  Copyright (C) 2009 Sourcefire, Inc. | 
					
						
							| 
									
										
										
										
											2009-11-27 16:54:24 +02:00
										 |  |  |  *  All rights reserved. | 
					
						
							| 
									
										
										
										
											2009-09-07 15:57:41 +03:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2009-11-27 16:54:24 +02:00
										 |  |  |  * Redistribution and use in source and binary forms, with or without | 
					
						
							|  |  |  |  * modification, are permitted provided that the following conditions | 
					
						
							|  |  |  |  * are met: | 
					
						
							|  |  |  |  * 1. Redistributions of source code must retain the above copyright | 
					
						
							|  |  |  |  *    notice, this list of conditions and the following disclaimer. | 
					
						
							|  |  |  |  * 2. Redistributions in binary form must reproduce the above copyright | 
					
						
							|  |  |  |  *    notice, this list of conditions and the following disclaimer in the | 
					
						
							|  |  |  |  *    documentation and/or other materials provided with the distribution. | 
					
						
							| 
									
										
										
										
											2009-09-07 15:57:41 +03:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2009-11-27 16:54:24 +02:00
										 |  |  |  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | 
					
						
							|  |  |  |  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 
					
						
							|  |  |  |  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | 
					
						
							|  |  |  |  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | 
					
						
							|  |  |  |  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | 
					
						
							|  |  |  |  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | 
					
						
							|  |  |  |  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | 
					
						
							|  |  |  |  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | 
					
						
							|  |  |  |  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | 
					
						
							|  |  |  |  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 
					
						
							|  |  |  |  * SUCH DAMAGE | 
					
						
							| 
									
										
										
										
											2009-09-07 15:57:41 +03:00
										 |  |  |  */ | 
					
						
							| 
									
										
										
										
											2009-09-30 13:41:02 +03:00
										 |  |  | #ifndef BYTECODE_API_IMPL_H
 | 
					
						
							|  |  |  | #define BYTECODE_API_IMPL_H
 | 
					
						
							| 
									
										
										
										
											2009-09-22 11:03:17 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-09-30 13:41:02 +03:00
										 |  |  | struct cli_bc_bctx; | 
					
						
							|  |  |  | uint32_t cli_bcapi_test0(struct cli_bc_ctx *ctx, struct foo*, uint32_t); | 
					
						
							|  |  |  | uint32_t cli_bcapi_test1(struct cli_bc_ctx *ctx, uint32_t, uint32_t); | 
					
						
							|  |  |  | int32_t cli_bcapi_read(struct cli_bc_ctx *ctx, uint8_t*, int32_t); | 
					
						
							| 
									
										
										
										
											2009-11-06 16:34:46 +02:00
										 |  |  | int32_t cli_bcapi_write(struct cli_bc_ctx *ctx, uint8_t*, int32_t); | 
					
						
							| 
									
										
										
										
											2009-09-30 13:41:02 +03:00
										 |  |  | int32_t cli_bcapi_seek(struct cli_bc_ctx *ctx, int32_t, uint32_t); | 
					
						
							|  |  |  | uint32_t cli_bcapi_setvirusname(struct cli_bc_ctx *ctx, const const uint8_t*, uint32_t); | 
					
						
							|  |  |  | uint32_t cli_bcapi_debug_print_str(struct cli_bc_ctx *ctx, const const uint8_t*, uint32_t); | 
					
						
							| 
									
										
										
										
											2010-01-20 20:04:01 +02:00
										 |  |  | uint32_t cli_bcapi_debug_print_uint(struct cli_bc_ctx *ctx, uint32_t); | 
					
						
							| 
									
										
										
										
											2009-11-06 16:34:46 +02:00
										 |  |  | uint32_t cli_bcapi_disasm_x86(struct cli_bc_ctx *ctx, struct DISASM_RESULT*, uint32_t); | 
					
						
							| 
									
										
										
										
											2009-12-08 23:02:49 +02:00
										 |  |  | uint32_t cli_bcapi_trace_directory(struct cli_bc_ctx *ctx, const const uint8_t*, uint32_t); | 
					
						
							|  |  |  | uint32_t cli_bcapi_trace_scope(struct cli_bc_ctx *ctx, const const uint8_t*, uint32_t); | 
					
						
							|  |  |  | uint32_t cli_bcapi_trace_source(struct cli_bc_ctx *ctx, const const uint8_t*, uint32_t); | 
					
						
							|  |  |  | uint32_t cli_bcapi_trace_op(struct cli_bc_ctx *ctx, const const uint8_t*, uint32_t); | 
					
						
							|  |  |  | uint32_t cli_bcapi_trace_value(struct cli_bc_ctx *ctx, const const uint8_t*, uint32_t); | 
					
						
							| 
									
										
										
										
											2009-12-17 17:40:35 +02:00
										 |  |  | uint32_t cli_bcapi_trace_ptr(struct cli_bc_ctx *ctx, const const uint8_t*, uint32_t); | 
					
						
							| 
									
										
										
										
											2010-01-20 20:04:01 +02:00
										 |  |  | uint32_t cli_bcapi_pe_rawaddr(struct cli_bc_ctx *ctx, uint32_t); | 
					
						
							| 
									
										
										
										
											2010-01-20 16:19:18 +02:00
										 |  |  | int32_t cli_bcapi_file_find(struct cli_bc_ctx *ctx, const const uint8_t*, uint32_t); | 
					
						
							| 
									
										
										
										
											2010-01-20 20:04:01 +02:00
										 |  |  | int32_t cli_bcapi_file_byteat(struct cli_bc_ctx *ctx, uint32_t); | 
					
						
							|  |  |  | uint8_t* cli_bcapi_malloc(struct cli_bc_ctx *ctx, uint32_t); | 
					
						
							|  |  |  | uint32_t cli_bcapi_test2(struct cli_bc_ctx *ctx, uint32_t); | 
					
						
							| 
									
										
										
										
											2009-09-30 13:41:02 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | #endif
 |