Displaying 14 results from an estimated 14 matches for "heap_zero_memory".
2012 Jul 27
3
[LLVMdev] Roundtrip clang -> llc -> clang fails
Hi!
I am not sure if this is a bug or not.
I have the following non-sense C module exc_alloc.c:
#include <windows.h>
void *AllocMem() {
HANDLE heap = GetProcessHeap();
void *p = HeapAlloc(heap, HEAP_GENERATE_EXCEPTIONS |
HEAP_ZERO_MEMORY, 16*1024*1014*1024);
return p;
}
If I execute the following commands
clang -S -emit-llvm -o exc_alloc.ll exc_alloc.c
llc -filetype=asm exc_alloc.ll
clang -c exc_alloc.s
then I get the error messages
exc_alloc.s:11:31: error: invalid variant '0'
callq *__imp_GetProcessHea...
2012 Jul 28
0
[LLVMdev] Roundtrip clang -> llc -> clang fails
...e:
> Hi!
>
> I am not sure if this is a bug or not.
>
> I have the following non-sense C module exc_alloc.c:
>
> #include <windows.h>
>
> void *AllocMem() {
> HANDLE heap = GetProcessHeap();
> void *p = HeapAlloc(heap, HEAP_GENERATE_EXCEPTIONS |
> HEAP_ZERO_MEMORY, 16*1024*1014*1024);
> return p;
> }
>
> If I execute the following commands
>
> clang -S -emit-llvm -o exc_alloc.ll exc_alloc.c
> llc -filetype=asm exc_alloc.ll
> clang -c exc_alloc.s
>
> then I get the error messages
>
> exc_alloc.s:11:31: error: invalid v...
2007 Dec 14
0
Wine release 0.9.51
...values.
winhelp: Implement generic B+ tree search function.
winhelp: Rewrite Context support using B+ tree search.
winhelp: Rewrite internal files lookup using B+ tree search. Add some sanity checks.
winhelp: Enlarge font size by 3 as native winhelp does.
winhelp: Use HEAP_ZERO_MEMORY instead of setting individual fields to zero.
winhelp: There are files without Phrases or Phrases40 compression, add support for them.
winhelp: Do not confuse caller application with bogus error when we really succeeded.
winhelp: winhelp >3.0 files always use 0x4000 as a diviso...
2017 May 26
0
Wine release 2.9
...pped mode.
rpcrt4: Use non-blocking listening on named pipes.
rpcrt4: Cache event handle in RpcConnection_np object.
rpcrt4: Implement cancel_call for named pipes.
rpcrt4: Remove no longer needed helpers.
rpcrt4: Renamed connections list to listeners.
rpcrt4: Use HEAP_ZERO_MEMORY to alloc RpcConnection objects.
rpcrt4: Remove connection from list in RPCRT4_ReleaseConnection.
rpcrt4: Store all active connections in RpcServerProtseq.
rpcrt4: Introduce op for closing connection read end and use it when shutting down server.
rpcrt4: Add close_read implem...
2007 Nov 09
0
Wine release 0.9.49
...he message store.
crypt32: Don't define function pointers that are NULL (and unused).
comdlg32: Implement OFN_CREATEPROMPT checking.
comdlg32: Grammar fixes.
wsock32: Correctly handle the case where a table size is 0 in IP_MIB_TABLE_ENTRY_ID.
wsock32: Don't use HEAP_ZERO_MEMORY for memory that's fully initialized anyway.
setupapi: Fix a leak.
setupapi: Correct a return value.
setupapi: Downgrade an ERR to a WARN.
setupapi: Don't convert strings past NULL-terminator.
wsock32: Check return value rather than returned size for error....
2017 Aug 03
0
Wine release 2.14
...reg: Use a helper function to allocate memory and die on failure.
reg: Use a helper function to free allocated memory.
reg: Use a helper function to resize a memory buffer.
regedit: Use the heap_*() functions in hexedit.c where possible.
regedit: Replace a HeapAlloc() HEAP_ZERO_MEMORY call in framewnd.c.
Huw D. M. Davies (3):
gdi32: Add a helper to fill rectangles with a given pixel.
gdi32: Respect the rop mode in SetPixel.
packager: Add the ProgID.
Jacek Caban (13):
wininet: Improved cookie debug traces.
mshtml: Set correct load type in load_nsur...
2007 Apr 27
0
Wine release 0.9.36
...ixer.
winealsa: Implement Get/SetControlDetails in mixer.
winealsa: Unset WAVECAPS_DIRECTSOUND properly for capture.
Marcus Meissner (1):
msi: Do not mark the tables const.
Michael Kaufmann (1):
gdi32: Add a stub for CancelDC.
Michael Stefaniuc (2):
janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call.
winealsa: Do not check for non-NULL before HeapFree'ing a variable as the check is redundant.
Micha? Wiernowolski (1):
winealsa: Improved handling of SysEx MIDI messages.
Miko?aj Zalewski (6):...
2017 Mar 17
0
Wine release 2.4
...arch() to lookup the script range in get_char_script().
wined3d: Validate instruction lengths in shader_sm4_read_instruction() (AFL).
wined3d: Don't read modifiers for opcodes with "read_opcode_func" set (AFL).
usp10: Use heap_alloc_zero() instead of HeapAlloc() with HEAP_ZERO_MEMORY.
usp10: Use heap_alloc() instead of HeapAlloc().
usp10: Use heap_free() instead of HeapFree().
wined3d: Avoid device_invalidate_state() in wined3d_texture_set_lod().
wined3d: Create and destroy surface DCs through the CS.
wined3d: Pass a context to blit_shader.blit_sur...
2010 Mar 05
0
Wine release 1.1.40
...d3dx9_36: Implement stubbed ID3DXConstantTable interface.
d3dx9_36: Implement D3DXFindShaderComment (based on code from Luis Busquets) + tests.
d3dx9_36: Find, store and enable retreival of CTAB comment data in shader (based on code from Luis Busquets).
d3dx9_36: Remove useless HEAP_ZERO_MEMORY flag (spotted by Henri Verbeet).
d3dxof: Turn some TRACEs into WARNs in case of parsing error.
d3dx9_36: Avoid dereferencing null pointers in trace (spotted by Paul Vriens).
David Hedberg (6):
msvcrt: Add trail bytes info for codepage 1361.
msvcrt: Implement _ismbclegal....
2012 May 25
0
Wine release 1.5.5
...Add test_wndproc() for the other ddraw versions as well.
d3d8: Get rid of the wined3d_usage_t typedef.
d3d9: Get rid of the D3DDECLTYPE_INFO typedef.
d3d9: Get rid of the d3dType field from d3d_dtype_lookup.
d3d9: Get rid of the D3D_DECL_* macros.
d3dx9: Don't use HEAP_ZERO_MEMORY if we're going to overwrite the memory anyway.
d3d9: Add a separate function for d3d9 initialization.
d3d9: Get rid of IDirect3D9Impl.
Huw Davies (7):
wineps: Use the get_pagesize helper to look up the default pagesize.
wineps: Add a helper to perform duplex lookup by n...
2008 Feb 22
0
Wine release 0.9.56
...ror in reset_enum_callback.
shdocvw: The WINAPI modifier on function pointers should become before the '*' for portability.
ntdll: Fix the use of oldSize in RtlReAllocateHeap as both the size of the old block and the number of bytes used in the old block.
ntdll: When using HEAP_ZERO_MEMORY in heap allocation functions, don't clear the whole block.
include: Include excpt.h from wine/exception.h.
dbghelp: VARIANT unions are accessed by name in msc.c so define NONAMELESSUNION.
dbghelp: Fix read beyond end of field in module_get_debug.
dplayx: Fix incorrect ch...
2007 Nov 30
0
Wine release 0.9.50
...the UDP table is empty.
iphlpapi: Don't allocate gobs of memory if interface table is empty.
iphlpapi: Don't allocate gobs of memory if the IP address table is empty.
iphlpapi: Don't allocate gobs of memory if there are no non-loopback interfaces.
iphlpapi: Avoid HEAP_ZERO_MEMORY where it isn't needed.
iphlpapi: Correct copy/paste error in GetTcpTable.
iphlpapi: Correct confusing indentation in GetTcpTable.
shell32: Dynamically allocate buffer for command parameters.
shell32: Use a helper function for executing a class.
shell32: Use helper...
2009 Mar 13
0
Wine release 1.1.17
...crash importing large values from Unicode.
Juan Lang (3):
crypt32: Fix some test failures on Win9x.
crypt32: Fix some test failures on Win9x.
crypt32: Fix another test on Win9x.
J?rg H?hle (1):
d3d9/tests: Fix typos in text.
Ken Thomases (13):
dsound: Don't use HEAP_ZERO_MEMORY when we're about to overwrite the buffer.
dbghelp/stabs: Translate additional register codes.
dbghelp/stabs: Ignore the N_OSO type used on Darwin.
dbghelp/stabs: Decode the Stabs type more carefully.
dbghelp: Let stabs_parse call back for real (non-debug) symbol definiti...
2006 Oct 13
0
Wine release 0.9.23
...memory if winedbg does not find the thread.
Robert Shearman (5):
oleaut32: Make ITypeInfo::GetDocumentation work for functions/variables in inherited interfaces.
oleaut32: Fix ITypeInfo::GetFuncDesc to return the correct information for dual dispinterfaces.
rpcrt4: Don't use HEAP_ZERO_MEMORY when most of the fields will be initialised to non-zero values.
rpcrt4: RpcBindingCopy is implemented.
rpcrt4: Use I_Rpc{Allocate, Free} instead of Heap{Alloc, Free} as that
Roderick Colenbrander (5):
gdi32: Route WGL context code through gdi32.dll.
gdi32: Route WGL font co...