Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
--- misc/strings.c.orig
+++ misc/strings.c
@@ -335,7 +335,11 @@ void *cookie)
* If the ofile is not an object file then process it without reguard
* to sections.
*/
- if(ofile->object_addr == NULL || ofile->member_type == OFILE_LLVM_BITCODE){
+ if(ofile->object_addr == NULL
+#ifdef LTO_SUPPORT
+ || ofile->member_type == OFILE_LLVM_BITCODE
+#endif /* LTO_SUPPORT */
+ ){
if(ofile->file_type == OFILE_FAT && ofile->arch_flag.cputype != 0){
if(ofile->fat_header->magic == FAT_MAGIC_64){
addr = ofile->file_addr +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.