TRACE("Ignoring special Wine segment %s\n", debugstr_an(sc->segname, sizeof(sc->segname)));
return 0;
}
+ if (!strncmp(sc->segname, "__PAGEZERO", 10))
+ {
+ TRACE("Ignoring __PAGEZERO segment\n");
+ return 0;
+ }
/* If this segment starts before previously-known earliest, record
* new earliest. */
struct module_format* modfmt =
HeapAlloc(GetProcessHeap(), 0, sizeof(struct module_format) + sizeof(struct macho_module_info));
if (!modfmt) goto leave;
+ if (!load_addr)
+ load_addr = fmap.segs_start;
macho_info->module = module_new(pcs, filename, DMT_MACHO, FALSE, load_addr,
fmap.segs_size, 0, calc_crc32(fmap.fd));
if (!macho_info->module)
case S_SECTINFO_V3:
case S_SUBSECTINFO_V3:
case S_ENTRYPOINT_V3:
+ case 0x113e:
case 0x1139:
+ case 0x1141:
+ case 0x1142:
+ case 0x1143:
+ case 0x1144:
TRACE("Unsupported symbol id %x\n", sym->generic.id);
break;
HeapFree(GetProcessHeap(), 0, pdb_file->stream_dict);
}
-static BOOL pdb_load_stream_name_table(struct pdb_file_info* pdb_file, const char* str, unsigned cb)
+static void pdb_load_stream_name_table(struct pdb_file_info* pdb_file, const char* str, unsigned cb)
{
DWORD* pdw;
DWORD* ok_bits;
count = *pdw++;
pdb_file->stream_dict = HeapAlloc(GetProcessHeap(), 0, (numok + 1) * sizeof(struct pdb_stream_name) + cb);
- if (!pdb_file->stream_dict) return FALSE;
+ if (!pdb_file->stream_dict) return;
cpstr = (char*)(pdb_file->stream_dict + numok + 1);
memcpy(cpstr, str, cb);
if (*pdw++ != 0)
{
FIXME("unexpected value\n");
- return -1;
+ return;
}
for (i = j = 0; i < count; i++)
/* add sentinel */
pdb_file->stream_dict[numok].name = NULL;
pdb_file->fpoext_stream = -1;
- return j == numok && i == count;
}
static unsigned pdb_get_stream_by_name(const struct pdb_file_info* pdb_file, const char* name)
struct hash_table_elt elt;
};
-#define PEV_ERROR(pev, msg) snprintf((pev)->error, sizeof((pev)->error), "%s", (msg)),FALSE
-#define PEV_ERROR1(pev, msg, pmt) snprintf((pev)->error, sizeof((pev)->error), (msg), (pmt)),FALSE
+#define PEV_ERROR(pev, msg) snprintf((pev)->error, sizeof((pev)->error), "%s", (msg))
+#define PEV_ERROR1(pev, msg, pmt) snprintf((pev)->error, sizeof((pev)->error), (msg), (pmt))
#if 0
static void pev_dump_stack(struct pevaluator* pev)
reactos/dll/win32/cryptdll # Synced to Wine-1.7.17
reactos/dll/win32/cryptnet # Synced to Wine-1.7.27
reactos/dll/win32/cryptui # Synced to Wine-1.7.27
-reactos/dll/win32/dbghelp # Synced to Wine-1.7.17
+reactos/dll/win32/dbghelp # Synced to Wine-1.7.27
reactos/dll/win32/dciman32 # Synced to Wine-1.7.17
reactos/dll/win32/dwmapi # Synced to Wine-1.7.17
reactos/dll/win32/faultrep # Synced to Wine-1.7.17