This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compile: | |
// g++ libzipplayground.cpp -I<path to libzip include> libarchive-rw.a -lz | |
#include<iostream> | |
#include<string> | |
#include <zip.h> | |
#include <cstdlib> | |
using namespace std; | |
char *readfile(string filename, size_t *size) { | |
char * buffer; |
A complete gdb to lldb command map.
- Print object
(lldb) po responseObject
(lldb) po [responseObject objectForKey@"state"]
- p - Print primitive type